(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68600,e=>{"use strict";e.s(["ArrowLeft",()=>s],68600);let s=(0,e.i(4668).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},8072,e=>{"use strict";e.s(["ReadingLayout",()=>i],8072);var s=e.i(10725),a=e.i(22910),r=e.i(68600);let t=(0,e.i(4668).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);var n=e.i(62950),l=e.i(74422);function i(e){let{title:i,author:d,date:c,category:x,children:h,pdfUrl:m,backLink:o="/library",backLabel:b,chapterNavigation:u}=e,j=(0,l.useTranslations)("library.document")("backToLibrary");return(0,s.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,s.jsx)("nav",{className:"border-b border-brand-gray/20 bg-white",children:(0,s.jsxs)("div",{className:"container mx-auto px-4 py-4 flex items-center justify-between",children:[(0,s.jsxs)(a.Link,{href:o,className:"flex items-center gap-2 text-brand-gray transition-colors hover:text-brand-blue",children:[(0,s.jsx)(r.ArrowLeft,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"font-medium",children:b||j})]}),(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[u,m&&(0,s.jsx)(n.Button,{asChild:!0,variant:"ghost",size:"sm",className:"text-brand-gray transition-colors hover:text-brand-blue",children:(0,s.jsxs)("a",{href:m,download:!0,children:[(0,s.jsx)(t,{className:"mr-2 h-4 w-4"}),"PDF"]})})]})]})}),(0,s.jsxs)("article",{className:"mx-auto w-full max-w-3xl px-4 py-12 md:py-16",children:[(0,s.jsxs)("header",{className:"mb-12 text-center",children:[x&&(0,s.jsx)("p",{className:"mb-2 text-sm uppercase tracking-wide text-brand-dark/80",children:x}),(0,s.jsx)("h1",{className:"mb-6 font-headline text-3xl leading-tight text-brand-dark md:text-4xl",children:i}),(d||c)&&(0,s.jsxs)("div",{className:"flex items-center justify-center gap-3 text-sm text-brand-gray",children:[d&&(0,s.jsx)("span",{className:"font-medium",children:d}),d&&c&&(0,s.jsx)("span",{children:"•"}),c&&(0,s.jsx)("span",{children:c})]})]}),(0,s.jsx)("div",{className:"prose prose-lg max-w-none text-brand-dark",children:h}),(0,s.jsx)("div",{className:"mt-12 flex justify-center",children:(0,s.jsx)(a.Link,{href:o,children:(0,s.jsxs)(n.Button,{variant:"outline",size:"lg",className:"border-brand-blue text-brand-blue transition-colors hover:bg-brand-blue hover:text-white",children:[(0,s.jsx)(r.ArrowLeft,{className:"mr-2 h-4 w-4"}),b||j]})})})]})]})}}]);