1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4302,2252,4491,2441],{55655:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n(30381))},80446:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/preview/[post]",function(){return n(65536)}])},28864:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},noSSR:function(){return i}});let a=n(38754);n(85893),n(67294);let r=a._(n(56016));function o(e){return{default:(null==e?void 0:e.default)||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let n=r.default,a={loading:e=>{let{error:t,isLoading:n,pastDelay:a}=e;return null}};e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a={...a,...e});let l=(a={...a,...t}).loader;return(a.loadableGenerated&&(a={...a,...a.loadableGenerated},delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr)?n({...a,loader:()=>null!=l?l().then(o):Promise.resolve(o(()=>null))}):(delete a.webpack,delete a.modules,i(n,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},60572:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return a}});let a=n(38754)._(n(67294)).default.createContext(null)},56016:function(e,t,n){"use strict";/** 2@copyright (c) 2017-present James Kyle <[email protected]> 3 MIT License 4 Permission is hereby granted, free of charge, to any person obtaining 5a copy of this software and associated documentation files (the 6"Software"), to deal in the Software without restriction, including 7without limitation the rights to use, copy, modify, merge, publish, 8distribute, sublicense, and/or sell copies of the Software, and to 9permit persons to whom the Software is furnished to do so, subject to 10the following conditions: 11 The above copyright notice and this permission notice shall be 12included in all copies or substantial portions of the Software. 13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 14EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 15MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 16NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 17LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 18OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 19WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
20*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let a=n(38754)._(n(67294)),r=n(60572),o=[],i=[],l=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function s(){if(!o){let t=new u(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&i.push(t=>{for(let n of e)if(t.includes(n))return s()})}function d(e,t){!function(){s();let e=a.default.useContext(r.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let i=a.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),a.default.useMemo(()=>{var t;return i.loading||i.error?a.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:o.retry}):i.loaded?a.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return d.preload=()=>s(),d.displayName="LoadableComponent",a.default.forwardRef(d)}(s,e)}function c(e,t){let n=[];for(;e.length;){let a=e.pop();n.push(a(t))}return Promise.all(n).then(()=>{if(e.length)return c(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{c(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());c(i,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let m=d},42252:function(e,t,n){"use strict";n.r(t);var a=n(85893);n(67294);var r=n(5152),o=n.n(r),i=n(63556),l=n(11163);let s=o()(()=>Promise.all([n.e(1664),n.e(884)]).then(n.bind(n,30884)),{loadableGenerated:{webpack:()=>[30884]}}),u=o()(()=>n.e(9243).then(n.bind(n,49243)),{loadableGenerated:{webpack:()=>[49243]}}),d=o()(()=>Promise.all([n.e(1664),n.e(5151),n.e(9917)]).then(n.bind(n,69917)),{loadableGenerated:{webpack:()=>[69917]},ssr:!1}),c=o()(()=>n.e(9908).then(n.bind(n,9908)),{loadableGenerated:{webpack:()=>[9908]},ssr:!1}),m=o()(()=>Promise.all([n.e(1664),n.e(8977)]).then(n.bind(n,8977)),{loadableGenerated:{webpack:()=>[8977]},ssr:!1}),p=o()(()=>Promise.all([n.e(1891),n.e(6426),n.e(4593),n.e(5217)]).then(n.bind(n,45217)),{loadableGenerated:{webpack:()=>[45217]}});t.default=e=>{var t,n;let{popularPosts:r,post:o,breakingNews:h}=e,f=(0,l.useRouter)();return(0,a.jsxs)(u,{classes:"bg-[#EEEEEE60]",children:[(0,a.jsx)(i.default,{title:null==o?void 0:o.title,description:(null==o?void 0:o.excerpt)||(null==o?void 0:o.title),asPath:f.asPath,post:o,image:null==o?void 0:null===(t=o.featuredImage)||void 0===t?void 0:t.node.sourceUrl}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(s,{post:o})}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(p,{post:o,posts:r})}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(m,{post:o})}),(0,a.jsx)("div",{className:"mt-4",children:null!==(n=null==h?void 0:h.length)&&void 0!==n&&n&&(0,a.jsx)(c,{categoryName:"Noticias Recientes",classExtra:"bg-transparent",infinite:!1,posts:h})}),(0,a.jsx)("div",{className:"mb-8",children:(0,a.jsx)(d,{})})]})}},63556:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var a=n(85893),r=n(9008),o=n.n(r),i=n(67294),l=n(89186),s=n(52488),u=n(46694),d=n(11163),c=e=>{var t,n,r,o,c,m;let{post:p,url:h}=e,f=(0,d.useRouter)(),v={"@context":"https://schema.org","@type":"NewsArticle",mainEntityOfPage:{"@type":"WebPage","@id":h}
20,headline:p.title,description:p.excerpt,image:null===(t=p.featuredImage)||void 0===t?void 0:t.node.sourceUrl,author:{"@type":"Person",name:(null==p?void 0:null===(r=p.author)||void 0===r?void 0:null===(n=r.node)||void 0===n?void 0:n.name)||(null==p?void 0:null===(m=p.autores)||void 0===m?void 0:null===(c=m.edges)||void 0===c?void 0:null===(o=c[0].node)||void 0===o?void 0:o.name),url:"".concat(l.jg)},publisher:{"@type":"Organization",name:"quiero tv",logo:{"@type":"ImageObject",url:"/favicon.ico"}},datePublished:p.date+"-06:00",dateModified:p.date+"-06:00"};return(0,s.Z)({delay:100,scriptContent:"".concat(JSON.stringify(v)),position:s.q.Head,scriptId:"schema-".concat(h),type:"application/ld+json"}),(0,i.useEffect)(()=>{let e=()=>{(0,u.l)("schema-".concat(h))};return f.events.on("routeChangeStart",()=>{e()}),()=>{f.events.off("routeChangeStart",()=>{e()})}},[f.events,h]),(0,a.jsx)(a.Fragment,{})},m=n(30381),p=n.n(m),h=n(84998),f=e=>{var t;let{description:n="",title:r="",image:i="",asPath:s="",post:u}=e,d="";if("undefined"!=typeof document){let e=document.createElement("div");e.innerHTML=n,d=e.textContent||e.innerText}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:r}),(0,a.jsx)("meta",{name:"description",content:d}),(0,a.jsx)("title",{children:r}),(0,a.jsx)("meta",{name:"description",content:d}),(0,a.jsx)("link",{rel:"canonical",href:"".concat(l.jg).concat(s)}),""!==i&&(0,a.jsx)("meta",{name:"image",content:i}),(0,a.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,a.jsx)("meta",{property:"og:locale",content:"es_ES"}),(0,a.jsx)("meta",{property:"og:url",content:"".concat(l.jg).concat(s)}),(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{property:"og:title",content:r}),(0,a.jsx)("meta",{property:"og:description",content:d}),(0,a.jsx)("meta",{property:"og:site_name",content:"quiero tv"}),(0,a.jsx)("meta",{property:"article:publisher",content:l.jg}),(0,a.jsx)("meta",{property:"article:published_time",content:u?p()(null==u?void 0:u.date).format("YYYY-MM-DD HH:mm:ss"):""}),(0,a.jsx)("meta",{property:"article:modified_time",content:u?p()(null==u?void 0:u.date).format("YYYY-MM-DD HH:mm:ss"):""}),(0,a.jsx)("meta",{property:"article:section",content:u?null===(t=(0,h.RF)(u))||void 0===t?void 0:t.name:""}),""!==i&&(0,a.jsx)("meta",{property:"og:image",content:i.replace(".cdn","")}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:creator",content:"quiero tv"}),(0,a.jsx)("meta",{name:"twitter:title",content:r}),(0,a.jsx)("meta",{name:"twitter:description",content:d}),(0,a.jsx)("meta",{name:"twitter:image",content:i})]}),u?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(c,{post:u,url:"".concat(l.jg).concat(s)})}):null]})}},84998:function(e,t,n){"use strict";n.d(t,{EG:function(){return i},K8:function(){return h},Lq:function(){return d},Or:function(){return c},RF:function(){return l},VV:function(){return f},lw:function(){return p},p6:function(){return s},yL:function(){return u}});var a=n(30381),r=n.n(a);n(55655),r().locale("es");let o=["locales","nacional-2","internacional","deportes","programacion","entretenimiento","inforgrafico","viral","cartones","video","opinion"],i=e=>{var t,n,a;if(!(null==e?void 0:e.date))return"";let o={year:String(r()(null!==(t=null==e?void 0:e.date)&&void 0!==t?t:"").year().toString()).padStart(2,"0"),month:String((r()(null!==(n=null==e?void 0:e.date)&&void 0!==n?n:"").month()+1).toString()).padStart(2,"0"),day:String(r()(null!==(a=null==e?void 0:e.date)&&void 0!==a?a:"").date().toString()).padStart(2,"0")};return"/"+o.year+"/"+o.month+"/"+o.day+"/"+(null==e?void 0:e.slug)},l=(e,t)=>{var n,a,r,i,l,s;let u=null!==(a=null==e?void 0:null===(n=e.categories)||void 0===n?void 0:n.edges.map(e=>e.node.slug))&&void 0!==a?a:[];if(u.length>0||(u=null!==(i=null==e?void 0:null===(r=e.categories)||void 0===r?void 0:r.map(e=>null==e?void 0:e.slug))&&void 0!==i?i:[]),(null==t?void 0:t.toLocaleLowerCase())&&(u=null!==(s=null==e?void 0:null===(l=e.categories)||void 0===l?void 0:l.edges.filter(e=>{var n;return(null==e?void 0:null===(n=e.node)||void 0===n?void 0:n.slug)===t}).map(e=>e.node.slug))&&void 0!==s?s:[]),u.length>0)for(let e=0;e<u.length;e++){let t=u[e];if(o.includes(null!=t?t:""))switch(t){case"locales":return{name:"Locales",path:"/locales"};case"nacional-2":return{name:"Nacional",path:"/nacional"};case"internacional":return{name:"Internacional",path:"/internacional"};case"deportes":return{name:"Deportes",path:"/deportes"};case"programacion":return{name:"Programacion",path:"/programacion"};case"entretenimiento":return{name:"Entretenimiento",path:"/entretenimiento"};case"inforgrafico":return{name:"La imagen del d\xeda",path:"/inforgrafico"};case"viral":return{name:"Viral",path:"/viral"};case"cartones":return{name:"Cartones",path:"/cartones"};case"opinion":return{name:"Opini\xf3n",path:"/opinion"};case"video":return{name:"Videoteca",path:"/video"}}}return{name:"Sin-categoria",path:"/sin-categoria"}},s=e=>r()(e).format("D MMMM YYYY"),u=e=>r()(e).format("HH:mm"),d=e=>{switch(e.toLocaleLowerCase()){case"live":return"bgLive";case"entretenimiento":return"bgEntertainment";case"noticias":case"nacional":case"local":case"internacional":return"bgNews";case"deportes":return"bgSports";default:return"bgOtherNews"}},c=e=>{var t,n,a,r,o;return!!((null===(t=e.match(/src="([^"]*)"/))||void 0===t?void 0:t[1].includes(".jpg"))||(null===(n=e.match(/src="([^"]*)"/))||void 0===n?void 0:n[1].includes(".png"))||(null===(a=e.match(/src="([^"]*)"/))||void 0===a?void 0:a[1].includes(".jpeg"))||(null===(r=e.match(/src="([^"]*)"/))||void 0===r?void 0:r[1].includes(".webp"))||(null===(o=e.match(/src="([^"]*)"/))||void 0===o?void 0:o[1].includes(".svg")))},m=e=>{let t=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/);return t&&11===t[2].length?t[2]:null},p=e=>e.includes("youtu")?"https://www.youtube.com/embed/"+m(e):e.includes("dailymotion")?"https://www.dailymotion.com/embed/video/"+e.replace("https://www.dailymotion.com/video/",""):e,h=e=>{var t;let n=null===(t=e.autores)||void 0===t?void 0:t.edges.filter(e=>!0===e.node.autorOpinion);return null==n?void 0:n[0]},f=e=>{var t;let n=null===(t=e.categories)||void 0===t?void 0:t.edges.filter(e=>
20"opinion"===e.node.slug);return null!=n&&!!n.length}},65536:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return s}});var a=n(85893),r=n(42252),o=n(5152),i=n.n(o);n(67294);let l=i()(()=>n.e(4978).then(n.bind(n,84978)),{loadableGenerated:{webpack:()=>[84978]}});var s=!0;t.default=e=>{let{breakingNews:t,post:n,popularPosts:o}=e;return(0,a.jsx)(l,{children:(0,a.jsx)(r.default,{post:n,breakingNews:t,popularPosts:o})})}},5152:function(e,t,n){e.exports=n(28864)}},function(e){e.O(0,[4885,2888,9774,179],function(){return e(e.s=80446)}),_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.