PageSourceSearch

https://edomexico-turista.netlify.app/component---src-templates-no…noticia-template-js-ec43f45a55352324ddad.js

js edomexico-turista.netlify.app collected 2026-10-03 10:41:25 UTC 6,391 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkturista_provincias=self.webpackChunkturista_provincias||[]).push([[745],{9773:function(e,t,a){var l=a(6540),r=a(4794),n=a(3125),i=a(2532);const c=a(7581).default.div.withConfig({displayName:"About__Wrapper",componentId:"sc-fowsuh-0"})(["text-align:center;p{color:",";}.img{width:100px;height:100px;border-radius:50%;}"],(e=>e.theme.colors.primary7));t.A=e=>{const t=(0,r.useStaticQuery)(o);let a=t.image;return e.image&&(a=e.image),l.createElement(c,null,l.createElement(i.G,{image:(0,i.c)(a.childImageSharp),className:"img",alt:e.title,title:e.title}),l.createElement("p",null,e.description||l.createElement("span",{dangerouslySetInnerHTML:{__html:`La <b>Guía de Turismo</b> en <i>${t.site.siteMetadata.estado.name}</i>`}})),l.createElement(n.A,{styleClass:"banner-icons"}))};const o="211684670"},646:function(e,t,a){var l=a(6540);const r=a(7581).default.div.withConfig({displayName:"Title__Wrapper",componentId:"sc-6ezqzm-0"})(["position:relative;text-align:center;margin-bottom:1.25rem;z-index:0;h4{color:",";font-size:1.5rem;font-weight:500;background:var(--clr-grey-10);display:inline-block;margin-bottom:0;padding:0 0.6rem;}.line{position:absolute;top:50%;left:0;width:100%;height:1.5px;transform:translateY(-50%);background:",";z-index:-1;}"],(e=>e.theme.colors.primary1),(e=>e.theme.colors.primary9));t.A=e=>{let{title:t}=e;return l.createElement(r,null,l.createElement("h4",null,t),l.createElement("div",{className:" mt-2 border-b"}))}},8120:function(e,t,a){a.d(t,{A:function(){return g}});var l=a(6540),r=a(7581),n=a(9773),i=a(4794),c=a(646),o=a(4755);var m=e=>{let{topics:t}=e;const{t:a}=(0,o.useTranslation)();return l.createElement("div",null,l.createElement(c.A,{title:a("Temas")}),l.createElement("ul",null,t.map(((e,t)=>l.createElement("li",{key:t},l.createElement(i.Link,{to:`/noticias/tema/${e.fieldValue.replace(/\s+/g,"_").normalize("NFD").replace(/[\u0300-\u036f]/g,"")}.html`,className:"category-menu",activeStyle:{color:"var(--clr-red-dark)"}},a(e.fieldValue)," (",e.totalCount,")"))))))};var s=e=>{let{items:t}=e;const{t:a}=(0,o.useTranslation)();return l.createElement("div",null,l.createElement(c.A,{title:a("Categorías")}),l.createElement("ul",null,t.map(((e,t)=>l.createElement("li",{key:t},l.createElement(i.Link,{to:`/noticias/${e.fieldValue.replace(/\s+/g,"_").normalize("NFD").replace(/[\u0300-\u036f]/g,"")}.html`,className:"category-menu",activeStyle:{color:"var(--clr-red-dark)"}},e.fieldValue," (",e.totalCount,")"))))))},d=a(3104),u=a(4510);const p=r.default.aside.withConfig({displayName:"indexNoticias__Wrapper",componentId:"sc-1pf5tbe-0"})(["display:grid;grid-template-columns:90%;justify-content:center;row-gap:1rem;padding:1rem 0;@media (min-width:576px){&{grid-template-columns:repeat(auto-fit,300px);column-gap:3rem;}}"]);var g=e=>{let{title:t,description:a="Noticias de Turismo",isHome:r,topics:i,categories:c,image:o}=e;return l.createElement(u.A,null,l.createElement(p,null,!r&&l.createElement(n.A,{title:t,description:a,image:o}),c&&l.createElement(s,{items:c}),i&&l.createElement(m,{topics:i}),l.createElement(d.A,null)))}},793:function(e,t,a){var l=a(6540),r=a(7581),n=a(3291),i=a(3679),c=a(4755);t.A=()=>{const{t:e}=(0,c.useTranslation)();return l.createElement(o,{className:"rounded mb-4"},l.createElement("ul",{className:"flex flex-wrap justify-around"},n.A.map((t=>l.createElement("li",{key:t.id,className:"w-fit md:w-auto md:text-lg"},l.createElement(c.Link,{to:t.url,activeClassName:"active",className:"flex gap-1 items-center"},t.icon," ",e(t.text)))))))};const o=r.default.div.withConfig({displayName:"TopNavSec__Wrapper",componentId:"sc-4ued19-0"})(["background:url(",") repeat-x left top;background-color:",";overflow:hidden;li{background:url(",") repeat-x left top;background-color:",";max-height:51px;text-transform:uppercase;display:block;a{color:var(--clr-white);padding:0.75rem;:hover{background-color:var(--clr-white);color:",";}}}.active{background-color:var(--clr-white);color:",";}"],i.A,(e=>e.theme.colors.primary1),i.A,(e=>e.theme.colors.primary1),(e=>e.theme.colors.primary1),(e=>e.theme.colors.primary1))},2957:function(e,t,a){a.r(t);var l=a(6540),r=a(9569),n=a(8027),i=a(7620),c=a(8120),o=a(3104),m=a(6081),s=a(793),d=a(4794);t.default=e=>{let{data:t,pageContext:a}=e;const{title:u,time:p,hometext:g,bodytext:f,cattitle:E,topictext:h}=t.noticia,b=new Date(p).toLocaleDateString();return l.createElement(r.A,{linkExterno:"/noticias",seoTitle:u.substring(0,40)},l.createElement(i.A,{title:u,description:g?g.substring(0,250):""}),l.createElement("div",{className:"section"},l.createElement("div",{align:"center"},l.createElement(o.A,{className:"h90 mb-1",format:"fluid"})),l.createElement(s.A,null),l.createElement("div",{className:"flex flex-col xl:flex-row gap-4"},l.createElement("div",{className:"bg-gray-100 p-4 rounded-lg shadow-md"},l.createElement("article",null,l.createElement("div",{className:"text-center mb-8"},l.createElement("h1",{className:"text-2xl font-bold mb-4"},u),l.createElement("div",{className:"flex justify-between items-center text-gray-400 mb-4"},l.createElement("span",{className:"flex items-center"},l.createElement(n.obD,{className:"text-primary5 mr-2"}),b),l.createElement("div",{className:"flex gap-2 items-center"},"Compartir:"," ",l.createElement(m.A,{url:a.slug,title:u}))),l.createElement("div",{className:"h-1 w-20 bg-gray-900 mx-auto my-4"})),l.createElement("div",{dangerouslySetInnerHTML:{__html:g}}),l.createElement(o.A,{className:"h60 mt-1 mb-1",format:"fluid"}),f&&l.createElement("div",{dangerouslySetInnerHTML:{__html:f}}),l.createElement("div",{className:"flex justify-between text-sm text-gray-600"},E&&l.createElement(d.Link,{to:`/noticias/${null==E?void 0:E.replace(/\s+/g,"-")}.html`,className:"bg-green-600 text-white px-4 py-2 rounded-full font-bold hover:bg-green-700 transition duration-300"},E||"Sin categoría"),h&&l.createElement(d.Link,{to:`/noticias/tema/${null==h?void 0:h.replace(/\s+/g,"_")}.html`,className:"bg-blue-600 text-white px-4 py-2 rounded-full font-bold ml-4 hover:bg-blue-700 transition duration-300"},h||"Sin tema")))),l.createElement(c.A,{title:`Noticia en ${h||E}`,description:h?`Noticia en el tema ${h}`:`Noticia en la categoría ${E}`,categories:a.categories,topics:a.topics,image:t.image||""}))))}}}]);
2//# sourceMappingURL=component---src-templates-noticias-noticia-template-js-ec43f45a55352324ddad.js.map

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.