PageSourceSearch

https://conergie.cl/_next/static/chunks/pages/blog/posts/%5Bslug%5D-aca0b981f719ab4d.js

js conergie.cl collected 2026-10-04 07:43:46 UTC 3,892 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a9af70c1-c2b7-43d1-a8af-4d1b8a31b48a",e._sentryDebugIdIdentifier="sentry-dbid-a9af70c1-c2b7-43d1-a8af-4d1b8a31b48a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[163],{76089:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/posts/[slug]",function(){return a(93613)}])},93613:function(e,s,a){"use strict";a.r(s),a.d(s,{__N_SSG:function(){return p},default:function(){return b}});var t=a(85893),n=a(11163),r=a(10985),l=a(67294),i=a(81023),c=a(41664),d=a.n(c),o=a(67943),u=a(9008),m=a.n(u),x=a(25675),g=a.n(x);function h(e){let{html:s}=e,[n,r]=(0,l.useState)(""),[i,c]=(0,l.useState)(!0);return((0,l.useEffect)(()=>{(async()=>{try{let e=(await a.e(2424).then(a.bind(a,22424))).default.sanitize(s);r(e)}catch(e){console.error("Error sanitizing HTML with DOMPurify:",e),r("<p>Error al cargar el contenido. Por favor, recarga la p\xe1gina.</p>")}finally{c(!1)}})()},[s]),i)?(0,t.jsx)("section",{className:"prose prose-lg max-w-none",children:(0,t.jsxs)("div",{className:"animate-pulse min-h-[300px]",children:[(0,t.jsx)("div",{className:"h-8 bg-gray-200 rounded mb-4"}),(0,t.jsx)("div",{className:"h-8 bg-gray-200 rounded mb-4"}),(0,t.jsx)("div",{className:"h-8 bg-gray-200 rounded mb-4"})]})}):(0,t.jsx)("section",{className:"prose prose-lg max-w-none",dangerouslySetInnerHTML:{__html:n}})}function f(e){var s;let{post:a,relatedPosts:n}=e,r=null===(s=a.authors)||void 0===s?void 0:s[0],l=null==r?void 0:r.name.split(" ").map(e=>e.charAt(0)).join("").toUpperCase();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(m(),{children:[(0,t.jsx)("title",{children:a.title}),(0,t.jsx)("meta",{name:"description",content:a.excerpt}),a.feature_image&&(0,t.jsx)("meta",{property:"og:image",content:a.feature_image})]}),(0,t.jsx)("div",{className:"px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("article",{className:"max-w-4xl mx-auto py-10",children:[(0,t.jsx)("h1",{className:"text-3xl md:text-6xl font-extrabold text-black mb-6",children:a.title}),r&&(0,t.jsxs)("div",{className:"flex items-center mb-16",children:[(0,t.jsx)(d(),{href:"/blog/author/".concat(r.slug),className:"mr-4",children:r.profile_image?(0,t.jsx)(g(),{src:r.profile_image,alt:r.name,className:"w-12 h-12 rounded-full object-cover",width:48,height:48,loading:"lazy",sizes:"48px"}):(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-gray-200 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-gray-500",children:l})})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)(d(),{href:"/blog/author/".concat(r.slug),className:"text-xl font-bold text-black hover:underline leading-snug",children:r.name}),(0,t.jsxs)("span",{className:"text-sm text-gray-500 leading-snug",children:[new Date(a.published_at).toLocaleDateString("es-CL",{year:"numeric",month:"short",day:"numeric"})," ","\xb7 ",a.reading_time," min de lectura"]})]})]}),a.feature_image&&(0,t.jsx)(g(),{src:a.feature_image,alt:a.title,className:"rounded-lg mb-24",width:1e3,height:1e3,priority:!0,sizes:"(max-width: 1024px) 100vw, 1000px"}),(0,t.jsx)(h,{html:a.html}),n.length>0&&(0,t.jsxs)("aside",{className:"mt-16 border-t pt-10",children:[(0,t.jsx)("h2",{className:"text-xl font-bold mb-6",children:"Tambi\xe9n te puede interesar"}),(0,t.jsx)("div",{className:"grid gap-6 sm:grid-cols-2 md:grid-cols-3",children:n.map(e=>(0,t.jsx)(i.Z,{post:e,excerptClamp:2},e.slug))})]})]})}),(0,t.jsx)(o.Z,{})]})}var p=!0,b=function(e){let{post:s,relatedPosts:a}=e,{isFallback:l}=(0,n.useRouter)();return l?(0,t.jsx)(r.gb,{}):(0,t.jsx)(f,{post:s,relatedPosts:a})}}},function(e){e.O(0,[8948,3180,2888,9774,179],function(){return e(e.s=76089)}),_N_E=e.O()}]);

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.