module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},64240,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},10585,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(10585).default,width:256,height:256};a.s(["default",0,b])},7524,a=>{a.v("/_next/static/media/icon.0nzd20vgirf_6.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},39375,a=>{"use strict";let b={src:a.i(7524).default,width:32,height:32};a.s(["default",0,b])},67932,a=>{"use strict";var b=a.i(7997),c=a.i(84937),d=a.i(12208),e=a.i(31983),f=a.i(95936);a.i(70396);var g=a.i(73727);async function h(){return(0,c.getAllPostSlugs)()}async function i({params:a}){let{slug:b}=await a;try{let a=await (0,c.getPostBySlug)(b);return{title:a.title,description:a.excerpt}}catch{return{title:"Post nije pronađen"}}}async function j({params:a}){let h,{slug:i}=await a;try{h=await (0,c.getPostBySlug)(i)}catch{(0,g.notFound)()}return(0,b.jsxs)("div",{className:"max-w-2xl mx-auto px-4 py-12",children:[(0,b.jsx)(f.default,{href:"/blog",className:"text-sky-600 hover:text-sky-800 text-sm mb-8 block",children:"← Nazad na blog"}),(0,b.jsxs)("article",{children:[(0,b.jsxs)("div",{className:"mb-4 flex flex-wrap gap-2 items-center",children:[h.tags?.map(a=>(0,b.jsx)("span",{className:"text-xs bg-sky-50 text-sky-700 px-2 py-0.5 rounded-full",children:a},a)),(0,b.jsx)("span",{className:"text-xs text-gray-400 ml-auto",children:h.date?(0,d.format)(new Date(h.date),"d. MMMM yyyy.",{locale:e.sr}):""})]}),(0,b.jsx)("h1",{className:"text-3xl font-bold text-sky-800 mb-4",children:h.title}),h.excerpt&&(0,b.jsx)("p",{className:"text-gray-500 text-lg mb-8 leading-relaxed",children:h.excerpt}),(0,b.jsx)("hr",{className:"border-gray-200 mb-8"}),(0,b.jsx)("div",{className:"prose-content",dangerouslySetInnerHTML:{__html:h.content}})]})]})}a.s(["default",0,j,"generateMetadata",0,i,"generateStaticParams",0,h])},7014,a=>{a.n(a.i(67932))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__0u.xkrt._.js.map