1import{j as e}from"./vendor-framer-motion-BmRYnlHH.js";import{u as p,n as g,l as h,S as r,N as c,L as l,F as o,o as j,i as f,B as u,j as N,O as b,A}from"./index-Cpg83RSL.js";import{E as v}from"./EssayCard-BXOxudPU.js";import{r as w,m as y}from"./markdown-body-Be0qvOVA.js";import{M as E,r as C}from"./vendor-markdown-D2EV7kcX.js";const B={h2:({children:a})=>e.jsx("h2",{className:"text-[22px] md:text-[24px] lg:text-[26px] font-bold tracking-[-0.8px] text-[#1A1A1A] mt-6",children:a}),h3:({children:a})=>e.jsx("h3",{className:"text-[18px] md:text-[20px] font-bold tracking-[-0.5px] text-[#1A1A1A] mt-4",children:a}),p:y("text-base text-[#101010] leading-[1.85]"),blockquote:({children:a})=>e.jsx("blockquote",{className:"border-l-[3px] border-[#34D399] pl-4 md:pl-6 py-4 my-2",children:e.jsx("div",{className:"text-base md:text-[18px] italic font-medium text-[#1A1A1A] leading-[1.7] [&>p]:text-base [&>p]:md:text-[18px] [&>p]:italic [&>p]:font-medium [&>p]:text-[#1A1A1A] [&>p]:leading-[1.7]",children:a})}),strong:({children:a})=>e.jsx("strong",{className:"font-semibold text-[#222222]",children:a}),em:({children:a})=>e.jsx("em",{className:"italic",children:a}),ul:({children:a})=>e.jsx("ul",{className:"flex flex-col gap-3 pl-6",children:a}),ol:({children:a})=>e.jsx("ol",{className:"flex flex-col gap-3 pl-6 list-decimal",children:a}),li:({children:a})=>e.jsx("li",{className:"text-base text-[#101010] leading-[1.7] list-disc",children:a}),a:({href:a,children:s})=>e.jsx("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"text-[#1A1A1A] underline underline-offset-2 decoration-[#CCCCCC] hover:decoration-[#1A1A1A] transition-colors",children:s}),hr:()=>e.jsx("div",{className:"flex justify-center py-4",children:e.jsx("span",{className:"text-[20px] text-[#CCCCCC] tracking-[8px]",children:"· · ·"})})};function S(){const{slug:a}=p(),s=g(a),x=h();if(!s)return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Essay Not Found â Firdavs Abdunazarov"}),e.jsxs("div",{className:"relative overflow-x-clip",children:[e.jsx("header",{className:"sticky top-0 z-50 bg-white border-b border-[#EBEBEB]",children:e.jsx(c,{})}),e.jsxs("main",{className:"relative max-w-[960px] mx-auto px-6 lg:px-0 py-32 text-center",children:[e.jsx("h1",{className:"text-2xl font-bold text-[#1A1A1A] mb-4",children:"Essay not found"}),e.jsx(l,{to:"/writing",className:"text-sm text-[#555555] hover:text-[#1A1A1A] transition-colors",children:"Back to all essays"})]}),e.jsx(o,{})]})]});const n=x.filter(t=>t.slug!==s.slug&&t.tag===s.tag),m=x.filter(t=>t.slug!==s.slug&&t.tag!==s.tag),d=[...n,...m].slice(0,3),i=j(s.slug,s.seoTitle||s.title);return e.jsxs(e.Fragment,{children:[e.jsx(r,{path:`/writing/${s.slug}`,image:i,type:"article",publishedTime:s.date}),e.jsx(f,{title:s.title,description:s.metaDescription||s.description,datePublished:s.date,image:i.path,pagePath:`/writing/${s.slug}`}),e.jsx(u,{items:[{name:"Home",path:"/"},{name:"Writing",path:"/writing"},{name:s.title,path:`/writing/${s.slug}`}]}),e.jsxs("div",{className:"relative overflow-x-clip",children:[e.jsxs("div",{className:"pointer-events-none absolute inset-0 hidden lg:block","aria-hidden":"true",children:[e.jsx("div",{className:"absolute top-0 bottom-0 left-[calc(50%-520px)] w-px bg-[#EBEBEB]"}),e.jsx("div",{className:"absolute top-0 bottom-0 left-[calc(50%+520px)] w-px bg-[#EBEBEB]"})]}),e.jsx("header",{className:"sticky top-0 z-50 bg-white border-b border-[#EBEBEB]",children:e.jsx(c,{})}),e.jsxs("main",{className:"relative",children:[e.jsx("div",{className:"max-w-[960px] mx-auto px-6 lg:px-0 pt-16 pb-10",children:e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsxs(l,{to:"/writing",className:"flex items-center gap-2 text-[13px] text-[#888888] hover:text-[#555555] transition-colors w-fit",children:[e.jsx(N,{className:"w-3.5 h-3.5"}),"Back to essays"]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2 md:gap-3",children:[e.jsx("span",{className:"text-[11px] font-semibold tracking-[1.5px] text-[#34D399]",children:s.tag}),e.jsx("span",{className:"w-[3px] h-[3px] rounded-full bg-[#CCCCCC]"}),e.jsx("span",{className:"text-xs text-[#999999]",children:s.dateFormatted}),e.jsx("span",{className:"w-[3px] h-[3px] rounded-full bg-[#CCCCCC]"}),e.jsx("span",{className:"text-xs text-[#999999]",children:s.readTime})]}),e.jsx("h1",{className:"text-[36px] md:text-[40px] lg:text-[44px] font-bold leading-[1.15] tracking-[-1.5px] text-[#1A1A1A] max-w-[760px]",children:s.title}),e.jsx("p",{className:"text-[15px] md:text-[17px] text-[#666666] leading-[1.7] max-w-[680px]",children:s.description})]})}),s.image&&e.jsx("div",{className:"max-w-[960px] mx-auto px-6 lg:px-0 pb-10",children:e.jsx("div",{className:"w-full aspect-[3/2] rounded-xl overflow-hidden",children:e.jsx(b,{src:s.image,alt:s.title,width:960,height:440,sizes:"content",loading:"eager",fetchPriority:"high",className:"w-full h-full object-cover"})})}),e.jsx("div",{className:"max-w-[680px] mx-auto px-6 lg:px-0",children:e.jsx("hr",{className:"border-[#
1EBEBEB]"})}),e.jsxs("article",{className:"max-w-[680px] mx-auto px-6 lg:px-0 py-14",children:[e.jsx("div",{className:"flex flex-col gap-7",children:e.jsx(E,{remarkPlugins:[C,w],components:B,children:s.content})}),e.jsxs("div",{className:"flex items-center gap-3 pt-8 mt-8 border-t border-[#EBEBEB]",children:[e.jsx("img",{src:"/images/about/profile-main.jpg",alt:"Firdavs Abdunazarov",width:40,height:40,loading:"lazy",className:"w-10 h-10 rounded-full object-cover"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx(l,{to:"/about",className:"text-sm font-semibold text-[#1A1A1A] hover:opacity-70 transition-opacity",children:"Firdavs Abdunazarov"}),e.jsx("span",{className:"text-xs text-[#999999]",children:"Designer & Developer"})]})]})]}),e.jsx("div",{className:"max-w-[960px] mx-auto px-6 lg:px-0",children:e.jsx("hr",{className:"border-[#EBEBEB]"})}),e.jsx("section",{className:"max-w-[960px] mx-auto px-6 lg:px-0 py-15 md:py-16 lg:py-18",children:e.jsxs("div",{className:"flex flex-col gap-10",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-end justify-between gap-3",children:[e.jsx("h2",{className:"text-[22px] md:text-[24px] font-bold tracking-[-0.8px] text-[#1A1A1A]",children:"Continue Reading"}),e.jsxs(l,{to:"/writing",className:"flex items-center gap-1.5 text-[13px] font-medium text-[#1A1A1A] hover:opacity-70 transition-opacity shrink-0",children:["View all",e.jsx(A,{className:"w-3.5 h-3.5"})]})]}),e.jsx("div",{className:"flex flex-col gap-6",children:d.map(t=>e.jsx(v,{essay:t},t.slug))})]})})]}),e.jsx(o,{})]})]})}export{S as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.