"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1365],{60336:function(e,t,o){o.d(t,{Y:function(){return O}});var n=o(85893),s=o(92022),r=o(204),a=o(23100),i=o(14418),c=o(97822),l=o(7128),d=o(59945);let p=()=>(0,n.jsx)(a.xu,{children:(0,n.jsx)(d.TY,{dataSource:{sourceType:"profile",screenName:"LaopinionHidalg"},options:{username:"LaopinionHidalg",height:"500",width:"100%"}})});var x=o(67294),h=o(6154),m=o(54641),u=o(76901),j=o(91669),g=o(88911),b=o(61162),f=o(30381),w=o.n(f);let k=()=>{let[e,t]=(0,x.useState)([]),[o,s]=(0,x.useState)({name:"La Opini\xf3n del Altiplano",picture:"/assets/icons/logoRRSS.png"}),[r,c]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{h.Z.get("https://graph.facebook.com/v16.0/me/accounts?access_token=".concat("EAAwbkZAd6WkYBOwF0J4uy9vak3H8oKPmZAjU1rQ4c7jHgUlD3mFfNTQlt1WHGxxlAO3cUttjZCaX8eruE4fN10Gr4n42DHxMxedPRw7quIAFkVnIgJXhlOqlw6yJ66J3sfq94ZB5Jl9sBxMZBCzxiSzkzwdaqSZBcwalGaGTIfIol71rrX1HBbZAjZAxOQZDZD\n")).then(e=>{let{access_token:o}=e.data.data[0];h.Z.get("https://graph.facebook.com/v16.0/me?fields=name,picture&access_token=".concat(o)).then(e=>{let{name:t,picture:{data:{url:o}}}=e.data;s({name:t,picture:o})}),h.Z.get("https://graph.facebook.com/v16.0/me/feed?access_token=".concat(o)).then(e=>{t(e.data.data)})}).catch(e=>{console.log(e)}).finally(()=>c(!1))},[]),(0,n.jsx)(a.xu,{children:r?(0,n.jsx)(b.h,{}):(0,n.jsxs)(a.xu,{border:"1px",borderColor:"gray.200",borderRadius:"2xl",children:[(0,n.jsxs)(m.U,{p:2,borderBottom:"1px",borderColor:"gray.200",_hover:{cursor:"pointer",backgroundColor:"gray.100",textDecoration:"underline"},onClick:()=>window.open("https://www.facebook.com/profile.php?id=100092837678912","_blank"),children:[(0,n.jsx)(u.q,{size:"md",name:o.name,src:o.picture}),(0,n.jsx)(i.X,{as:"h1",size:"md",children:o.name})]}),(0,n.jsx)(a.xu,{scrollBehavior:"smooth",height:"50vh",overflowY:"scroll",children:e.map(e=>{let{id:t,created_time:s,message:r}=e;return r&&(0,n.jsx)(a.xu,{borderBottom:"1px",borderColor:"gray.200",_hover:{cursor:"pointer"},onClick:()=>window.open("https://www.facebook.com/".concat(t),"_blank"),children:(0,n.jsxs)(a.xu,{p:2,m:2,children:[(0,n.jsxs)(m.U,{children:[(0,n.jsx)(u.q,{size:"sm",name:o.name,src:o.picture}),(0,n.jsxs)(j.g,{spacing:0,children:[(0,n.jsx)(i.X,{size:"sm",children:o.name}),(0,n.jsx)(g.x,{fontSize:"xs",children:w()(s).format("DD/MM/YYYY h:mm A")})]})]}),(0,n.jsx)(g.x,{children:r})]})},t)})})]})})};var y=o(7754),v=o(96272),C=o(11163);let _=()=>{let e=(0,C.useRouter)(),[t,o]=(0,x.useState)({id:0,cover_url:"",url:"",date:"",news_embed:""}),[s,r]=(0,x.useState)(!0);return(0,x.useEffect)(()=>{h.Z.get("/api/v1/news",{params:{home:!0},headers:{Authorization:"".concat("ac2f839b-6728-489b-b96a-970df6c96f58")}}).then(e=>{o(e.data.response),r(!1)})},[]),(0,n.jsx)(a.xu,{children:s?(0,n.jsx)(b.h,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y.M,{children:(0,n.jsx)(v.z,{onClick:()=>e.push("/news/".concat(t.id)),bg:"#bf9b5a",color:"white",borderRadius:"full",_hover:{bg:"#bf9b5a"},children:"Leer peri\xf3dico"})}),(0,n.jsx)(l.E,{src:t.cover_url,alt:"Peri\xf3dico",cursor:"pointer",onClick:()=>e.push("/news/".concat(t.id))})]})})};var E=o(25935);let S=e=>{let{id:t}=e,[o,s]=(0,x.useState)(!0),[r,i]=(0,x.useState)({id:0,title:"",url:""});return(0,x.useEffect)(()=>{h.Z.get("/api/v1/video_facebook?id=".concat(t),{headers:{Authorization:"".concat("ac2f839b-6728-489b-b96a-970df6c96f58")}}).then(e=>{i(e.data.response),s(!1)})},[t]),(0,n.jsx)(a.xu,{children:o?(0,n.jsx)(b.h,{}):(0,n.jsx)(a.xu,{children:(0,E.ZP)(r.url)})})};var A=o(41664),z=o.n(A);let O=()=>{let e=(0,C.useRouter)();return(0,s.S)({base:!1,xl:!0}),(0,n.jsxs)(r.k,{as:"aside",direction:"column",w:{base:"100%",md:"20%"},pr:{base:8,md:2},pl:{base:8,md:2},pt:{base:0,md:3},children:[(0,n.jsxs)(a.xu,{mb:5,children:[(0,n.jsx)(i.X,{as:"h1",size:"lg",children:" :::::"}),(0,n.jsx)(c.i,{borderColor:"#a02142",borderWidth:"1px"})]}),(0,n.jsx)(_,{}),(0,n.jsx)(l.E,{src:"/assets/icons/boton.png",alt:"boton",onClick:()=>window.open("mailto:laopiniondelaltiplano@gmail.com?subject=Quiero%20hacer%20un%20Reporte","_blank"),cursor:"pointer"}),(0,n.jsx)(c.i,{my:5,borderColor:"gray.200",borderWidth:"1px"}),(0,n.jsxs)(r.k,{justifyContent:"center",alignItems:"center",direction:"column",children:[(0,n.jsx)(i.X,{as:"h1",size:"lg",textAlign:"center",mb:5,textTransform:"uppercase",textDecoration:"underline",children:"El d\xeda en un minuto"}),(0,n.jsx)(S,{id:1})]}),(0,n.jsx)(c.i,{my:5,borderColor:"gray.200",borderWidth:"1px"}),(0,n.jsxs)(a.xu,{maxW:"90%",children:[(0,n.jsx)(z(),{href:"https://www.facebook.com/info.eventos.masivosymas?mibextid=LQQJ4d",target:"_blank",children:(0,n.jsx)(l.E,{src:"https://i0.wp.com/agendahidalguense.com/wp-content/uploads/2024/08/Banner_web_300X250-px.png?w=1251&ssl=1",alt:"SEDECO3",py:5,w:"100%"})}),(0,n.jsx)(z(),{href:"https://sedeco.hidalgo.gob.mx/",target:"_blank",children:(0,n.jsx)(l.E,{src:"https://laopiniondehidalgo.s3.us-west-2.amazonaws.com/sedeco.jpeg",alt:"SEDECO3",py:5,w:"100%"})}),(0,n.jsx)(z(),{href:"https://descti.hidalgo.gob.mx/",target:"_blank",children:(0,n.jsx)(l.E,{src:"https://laopiniondehidalgo.s3.us-west-2.amazonaws.com/descti.jpeg",alt:"DESCTI",py:5,w:"100%"})}),(0,n.jsx)(z(),{href:"https://denuncia089.hidalgo.gob.mx/",target:"_blank",children:(0,n.jsx)(l.E,{src:"https://hidalgomundoejecutivo.s3.us-west-2.amazonaws.com/tv-banner-089-fe02e801-ce0e-4774-99ca-c8fde24ad0ed.png",alt:"DESCTI",py:5,w:"100%"})}),(0,n.jsx)(z(),{href:"https://www.facebook.com/colegiodenotarioshgo?mibextid=LQQJ4d",target:"_blank",children:(0,n.jsx)(l.E,{src:"https://hidalgomundoejecutivo.s3.us-west-2.amazonaws.com/tv-banner-(1)-014f4bbf-0d5e-4efc-b346-6633da245779.png",alt:"DESCTI",py:5,w:"100%"})})]}),(0,n.jsx)(c.i,{my:5,borderColor:"gray.200",borderWidth:"1px"}),(0,n.jsx)(l.E,{src:"/assets/icons/periodico.png",alt:"periodico",onClick:()=>e.push("/news"),cursor:"pointer"}),(0,n.jsx)(k,{}),(0,n.jsx)(c.i,{my:5,borderColor:"gray.200",borderWidth:"1px"}),(0,n.jsx)(p,{}),(0,n.jsx)(c.i,{my:5,borderColor:"gray.200",borderWidth:"1px"})]})}},1365:function(e,t,o){o.d(t,{Y:function(){return h}});var n=o(85893),s=o(204),r=o(11266),a=o(7736),i=o(75153),c=o(9008),l=o.n(c),d=o(60336),p=o(67294),x=o(6154);let h=e=>{let{children:t,title:o}=e;return(0,p.useEffect)(()=>{x.Z.post("/api/v1/visits",{},{headers:{Authorization:"".concat("ac2f839b-6728-489b-b96a-970df6c96f58")}}).then()},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{children:o}),(0,n.jsx)("link",{rel:"shortcut icon",href:"/assets/icons/favicon.ico"}),(0,n.jsx)("meta",{property:"og:title",content:"La Opini\xf3n del Altiplano"}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:"https://www.laopiniondelaltiplano.com"}),(0,n.jsx)("meta",{property:"og:description",content:"La Opini\xf3n del Altiplano"}),(0,n.jsx)("meta",{property:"og:site_name",content:"La Opini\xf3n del Altiplano"}),(0,n.jsx)("meta",{property:"og:locale",content:"es_ES"}),(0,n.jsx)("meta",{name:"robots",content:"index, follow"}),(0,n.jsx)("meta",{name:"googlebot",content:"index, follow"}),(0,n.jsx)("meta",{name:"google",content:"notranslate"}),(0,n.jsx)("meta",{name:"author",content:"La Opini\xf3n del Altiplano"}),(0,n.jsx)("meta",{property:"og:image",content:"https://www.laopiniondelaltiplano.com/assets/icons/logoRRSS.png"}),(0,n.jsx)("meta",{property:"og:image/png",content:"https://www.laopiniondelaltiplano.com/assets/icons/logo.png"}),(0,n.jsx)("meta",{property:"twitter:title",content:"La Opini\xf3n del Altiplano"}),(0,n.jsx)("meta",{property:"twitter:site",content:"https://www.laopiniondelaltiplano.com"}),(0,n.jsx)("meta",{property:"twitter:image",content:"https://www.laopiniondelaltiplano.com/assets/icons/logo.png"})]}),(0,n.jsxs)(s.k,{direction:"column",flex:"1",children:[(0,n.jsx)(a.w,{}),(0,n.jsxs)(s.k,{direction:{base:"column",md:"row"},children:[(0,n.jsx)(s.k,{as:"main",role:"main",direction:"column",flex:"1",w:{base:"100%",md:"70%"},...e,children:(0,n.jsx)(r.V,{bg:"bg-accent",children:t})}),(0,n.jsx)(d.Y,{})]}),(0,n.jsx)(i.$,{})]})]})}},11266:function(e,t,o){o.d(t,{V:function(){return r}});var n=o(85893),s=o(23100);let r=e=>(0,n.jsx)(s.xu,{role:"presentation",py:"3",px:"8",color:"on-accent",...e})},61162:function(e,t,o){o.d(t,{h:function(){return a}});var n=o(85893),s=o(76684),r=o(93344);let a=()=>(0,n.jsxs)(s.K,{children:[(0,n.jsx)(r.O,{height:"100px"}),(0,n.jsx)(r.O,{height:"100px"}),(0,n.jsx)(r.O,{height:"100px"}),(0,n.jsx)(r.O,{height:"100px"}),(0,n.jsx)(r.O,{height:"100px"}),(0,n.jsx)(r.O,{height:"100px"})]})}}]);