! DOCTYPE html>
CRÍTICA - Diario de circulación nacional con Noticias y Novedades de Panamá y el Mundo.
const w = screen.width;
const site = 'https://critica.com.pa';
const path = window.location.pathname;
const ruta ='//critica-pa.noticiasgoianas.com';
const modal = document.querySelector('.contenidomodal-2018');
const opacityBox = document.querySelector('.cajavacia-2018');
const Button = document.querySelector('.cr_menuregistro');
//const is = document.querySelector('div[data--="true"]');
const showAds = !((document.cookie.includes("gtx8id") || document.referrer.includes("continuar")) & document.referrer.includes('') === false);
/*
const Meta = document.querySelector('meta[name ="node-"]');
var is = false;
if(Meta !== null){
if( Meta.getAttribute("content") == 1 ){
is = true;
}
}
const content= {
category: null,
//is: (is != null) ? true : false,
is: is,
contentType: 'article'
}
const critica = {
siteName: 'Crítica',
url: 'https://critica.com.pa',
currentPath: (path != null) ? path: '',
modal: (modal != null) ? modal : '',
opacityBox: (opacityBox != null) ? opacityBox : '',
device: (screen.width > 800) ? 'desktop' : 'mobile',
Button: (Button != null) ? Button : '',
content: content,
paywall: {
url:'https://suscripcion.critica.com.pa',
type: (is) ? '' : 'free_access',
allowedContent: ['article', 'video', 'galeria']
},
}*/
/*console.log(critica);*/
/*
window.paywallConfig = {
paywallUrl: diaadia.paywall.url,
async: true,
type: diaadia.paywall.type,
contentType: diaadia.content.contentType,
cookieDomain: '.diaadia.com.pa',
debug: false,
wallLimit: diaadia.content.is ? 0 : 9999999 ,
paywallLimit: 9999999,
category: diaadia.content.category,
allowedContentTypes: diaadia.paywall.allowedContent
};
window.paywall = window.paywall || {};
paywall.queue = window.paywall.queue || [];
(function(d,s,e,t){e=d.createElement(s);e.type='text/java'+s;e.async='async';
e.src="https://cdn.lavoz.com.ar/sites/default/files/libs/paywall/latest/pw.js";
e.setAttribute("data-cfasync", "false");
t=d.getElementsByTagName(s)[0];t.parentNode.insertBefore(e,t);})(document,'script'); */
window.teads_analytics = window.teads_analytics || {};
window.teads_analytics.analytics_tag_id = "PUB_5704";
window.teads_analytics.share = window.teads_analytics.share || function() {
;(window.teads_analytics.shared_data = window.teads_analytics.shared_data || []).push(arguments)
};
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function () {
var REFRESH_KEY = "refresh";
var REFRESH_VALUE = "true";
var mapping1 =
googletag.sizeMapping()
.addSize([980, 0], [[336, 280],[300, 250],[320, 50],[320, 100],[300, 50],[300, 100],[468, 60],[728,90],[950,100],[300,250],[970,90],[970,250],[960,90],[320,250],[1000,100],[1100,90],[1100,250],[970,200],[950,90],[950,300],[950,350],[950,100]])
.addSize([640, 0], [[336, 280],[300, 250],[320, 50],[320, 100],[300, 50],[300, 100],[468, 60],[300, 600],[728,90],[950,100],[300,250],[970,90],[970,250],[960,90],[320,250],[970,200],[950,90],[950,300],[950,350],[950,100]])
.addSize([336, 0], [[336, 280],[300, 250],[320, 50],[320, 100],[300, 50],[300, 100],[200, 200],[320,250],[240,90],[300,300],[250,250]])
.addSize([0, 0], [[300,250],[300,50],[300,100],[320,50],[200,200],[320,100],[320,250],[240,90],[300,300],[250,250]])
.build();
var mappingFixed =
googletag.sizeMapping()
.addSize([980, 0], [[970, 90], [728, 90],[950,90],[950,100],[1000,100],[1100,90]])
.addSize([640, 0], [[240, 50],[240, 100],[320, 50],[320, 100],[300, 50],[320, 50],[240,90]])
.addSize([336, 0], [[240, 50],[240, 100],[320, 50],[320, 100],[300, 50],[320, 50],[240,90]])
.addSize([0, 0], [])
.build();
var sidebar =
googletag.sizeMapping()
.addSize([336, 0], [[300, 250],[300, 50],[300, 100],[240,90],[240,100],[240,50],[300,300],[300,600],[200,200],[250,250]])
.addSize([0, 0], [])
.build();
var sidebar2 =
googletag.sizeMapping()
.addSize([980, 0], [[300, 250],[300,300],[250,350]])
.addSize([640, 0], [[300, 250],[300,300],[250,350]])
.addSize([300, 0], [[300, 250],[300, 50],[300, 100],[240,90],[240,100],[240,50],[300,300],[200,200],[250,250]])
.addSize([0, 0], [])
.build();
var sidebar3 =
googletag.sizeMapping()
.addSize([980, 0], [[300, 250],[240,90],[250,350]])
.addSize([640, 0], [[300, 250],[240,90],[250,350]])
.addSize([300, 0], [[300, 250],[300, 50],[300, 100],[240,90],[240,100],[240,50],[300,300],[200,200],[250,250]])
.addSize([0, 0], [])
.build();
var despuesdelaprimeranota =
googletag.sizeMapping()
.addSize([980, 0], [[970, 90], [728, 90], [970, 250],[970,200],[950,90],[950,300],[950,350],[950,100]])
.addSize([640, 0], [[300, 250],[320, 50],[300, 50],[300, 100],[336, 280],[320, 50],[320, 100],[240,90],[300,300],[200,200],[250,250]])
.build();
googletag.defineSlot('/1056710/critica_home/top', [[728, 90]], 'div-gpt-ad-1707421837578-0')
.defineSizeMapping(mappingFixed)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/1_contenido', [[728, 90]], 'div-gpt-ad-1705933620059-0')
.defineSizeMapping(mapping1)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/2_contenido', [[728, 90]], 'div-gpt-ad-1705933870485-0')
.defineSizeMapping(mapping1)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/3_contenido', [[728, 90]], 'div-gpt-ad-1705934332880-0')
.defineSizeMapping(mapping1)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/4_contenido_home', [[728, 90]], 'div-gpt-ad-1746724640516-0')
.defineSizeMapping(mapping1)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/5_contenido_home', [[728, 90]], 'div-gpt-ad-1746724791885-0')
.defineSizeMapping(mapping1)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/1_sidebar', [[300, 250]], 'div-gpt-ad-1724190872393-0')
.defineSizeMapping(sidebar)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/2_sidebar', [[728, 90]], 'div-gpt-ad-1724251270603-0')
.defineSizeMapping(sidebar2)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/3_sidebar', [[728, 90]], 'div-gpt-ad-1724252438433-0')
.defineSizeMapping(sidebar3)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/4_sidebar', [[728, 90]], 'div-gpt-ad-1724253439810-0')
.defineSizeMapping(sidebar2)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
googletag.defineSlot('/1056710/critica_home/1_footer', [[728, 90]], 'div-gpt-ad-1707338899526-0')
.defineSizeMapping(mappingFixed)
.setTargeting(REFRESH_KEY, REFRESH_VALUE)
.setTargeting("refreshed_slot", "false")
.addService(googletag.pubads());
var SECONDS_TO_WAIT_AFTER_VIEWABILITY = 30;
googletag
.pubads()
.addEventListener("impressionViewable", function (event) {
var slot = event.slot;
if (slot.getTargeting(REFRESH_KEY).indexOf(REFRESH_VALUE) > -1) {
setTimeout(function () {
if (slot.getTargeting("refreshed_slot")) {
slot.setTargeting("refreshed_slot", "true");
}
googletag.pubads().refresh([slot]);
}, SECONDS_TO_WAIT_AFTER_VIEWABILITY * 1000);
}
});
googletag.pubads().enableLazyLoad({
fetchMarginPercent: 200,
renderMarginPercent: 200,
mobileScaling: 2.0,
});
googletag.pubads().setTargeting("seccioncr", "inicio");
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setCentering(true);
googletag.enableServices();
googletag.pubads().addEventListener('slotRenderEnded', function(event) {
var slot = event.slot;
if(event.isEmpty == false){
var parentElement = document.getElementById(slot.getSlotElementId());
if(parentElement.getAttribute("id") ==='div-gpt-ad-1707338899526-0'){
document.querySelector(".publicidad-fixed-bottom").classList.add("active");
document.getElementById("gtag-close-btn").classList.remove("d-none");
simulateLoading();
}else{
//document.querySelector(".publicidad-fixed-bottom").classList.remove("active");
//document.getElementById("gtag-close-btn").classList.add("d-none");
}
}
});
});
let counfinish = "no";
function simulateLoading() {
var secondsLeft = 10;
var closeBtnContainer = document.getElementById('gtag-close-btn');
var countdown = setInterval(function() {
secondsLeft--;
if (secondsLeft > 0) {
counfinish = "no";
var percentageCompleted = ((20 - secondsLeft) / 20) * 100;
closeBtnContainer.innerHTML = '<div style="width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(transparent ' + percentageCompleted + '%, #B8C5D9 ' + percentageCompleted + '%); color: #000; display: flex; justify-content: center; align-items: center; position: relative;">' +
'<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;">' + secondsLeft + '' +
'<div class="circle-border">' +
'';
} else {
counfinish = "si";
clearInterval(countdown);
closeBtnContainer.innerHTML = '<img alt="close btn" src="https://image.staticox.com/?url=https%3A%2F%2Fcritica.com.pa%2Fimg%2Fclose-ad-button.png" width="25px" />';
}
}, 1000);
}
document.addEventListener("DOMContentLoaded", function() {
var closeButton = document.getElementById("gtag-close-btn");
var publicidadFixedBottom = document.querySelector(".publicidad-fixed-bottom");
if(closeButton){
closeButton.addEventListener("click", function() {
if(counfinish == "si"){
publicidadFixedBottom.classList.add("d-none");
}
});
}
});
var avisosPermitidos ="todos";
window._taboola = window._taboola || [];
_taboola.push({article:'auto'});
!function (e, f, u, i) {
if (!document.getElementById(i)){
e.async = 1;
e.src = u;
e.id = i;
f.parentNode.insertBefore(e, f);
}
}(document.createElement('script'),
document.getElementsByTagName('script')[0],
'//cdn.taboola.com/libtrc/epasa-network/loader.js',
'tb_loader_script');
if(window.performance & typeof window.performance.mark == 'function')
{window.performance.mark('tbl_ic');}
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
//gtag('config', 'G-139SKHEPVB');
gtag('config', 'G-139SKHEPVB', { 'cookie_domain': 'critica.com.pa' });
const reg__id = localStorage.getItem('reg__id');
if( reg__id ){
gtag('set', {'_id': reg__id });
}
.menuregistro {
z-index: 9999;
position: relative;
}
<!--
var eplDoc = document, eplLL = false, eS1 = 'us.img.e-planning.net', eplArgs = { iIF:1,sV: schemeLocal() + "://ads.us.e-planning.net/" ,vV:"4",sI:"bbae",sec:"Home",eIs:["TAke_Over_800x600_Home","TAke_Over_320x480_Home"] };
function eplCheckStart() {
if (document.epl) {
var e = document.epl;
if (e.eplReady()) return true;
e.eplInit(eplArgs);
if (eplArgs.custom) {
for (var s in eplArgs.custom) {
e.setCustomAdShow(s, eplArgs.custom[s]);
}
}
return e.eplReady();
} else if (!eplLL) {
var epl41Script = document.createElement('SCRIPT'); epl41Script.async = true;
epl41Script.src = schemeLocal() + '://' + eS1 + '/layers/epl-41.js';
document.head.appendChild(epl41Script);
eplLL = true;
}
return false;
}
eplCheckStart();
function eplSet(eID,custF) {
if (eplCheckStart()) {
if (custF) { document.epl.setCustomAdShow(eID,eplArgs.custom[eID]); }
document.epl.showSpace(eID);
} else {
setTimeout(eplSet.bind(null, eID, custF), 250);
}
}
function eplAD4M(eID,custF) {
document.write('<div id="eplAdDiv'+eID+'">');
if (custF) {
if (!eplArgs.custom) { eplArgs.custom = {}; }
eplArgs.custom[eID] = custF;
}
eplSet(eID, custF?true:false);
}
function schemeLocal() {
protocol = document.location.protocol || window.top.location.protocol;
if (protocol) {
return protocol.indexOf('https') !== -1 ? 'https' : 'http';
}
}
//-->
eplAD4M("TAke_Over_800x600_Home");
eplAD4M("TAke_Over_320x480_Home");
Pasar al contenido principal
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1707421837578-0'); });
Secciones
/ Portada
Sucesos
Nacional
Show
Vida
Deportes
Mundo
Insólitas
Multimedia
Fotogalerías
Videos
Impreso
buscar
Sucesos
Nacional
Provincias
Opinión
WhatsappCri
Política
Show
Vida
Deportes
Mundo
Insólitas
Multimedia
Fotogalerías
Videos
Impreso
.secondary_articles .child-order-2 {
order: 2;
width: 100% !important;
}
.secondary_articles .child-order-1 {
order: 1;
width: 100% !important;
}
.secondary_articles .body-art{
display: none !important;
}
.secondary_articles h2 {
font-size: 1.3rem;
padding-top: 6px;
}
@media screen and(max-width: 800px){
.child-order-2 h2 {
font-weight: bold !important;
font: bold 1.063rem / 1.35rem 'Titillium Web', sans-serif !important;
}
}
Colón amanece con sangre: dos muertos y una mujer herida en tiroteo
Sucesos
Condenado a 20 años de prisión por matar a miembro de "Bagdad"
Sucesos
Veraguas: Comerciante de 87 años muere atropellado
Sucesos
UE elimina a Panamá de la lista negra de blanqueo de capitales
Nacional
Sintraibana y Asamblea se reúnen para abordar propuesta laboral
Nacional
Muere ciclista tras accidente en la comarca Ngäbe-Buglé
Sucesos
Monseñor Ulloa entrega carta presidencial a Sintraibana
Nacional
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1724190872393-0'); });
Que la ‘One Two’ expresando sus dudas sobre si quienes están cerrando las calles cotizan o no en
Leer más
Mulino denuncia sobrecostos de $1,800 millones en el Cuarto Puente
Panamá bajo aviso por lluvias y tormentas hasta el 12 de junio
Previous
Next
Mural en Avenida de Los Mártires grita "birria con los frenes"
Show
Naturgy y comunidad en Parita trabajan en protección de fauna local
Nacional
Altafulla gana 'La casa de los famosos Colombia'. ¡Era favorito!
Show
EDICIÓN IMPRESA
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1724190872393-0'); });
Las últimas
Pide al presidente tomar acción contra Naturgy, factura lo que les da la gana
José Fajardo y Cecilio Waterman, bajas para la Copa Oro
Panamá vence con autoridad a Nicaragua y quedó líder de su grupo
Ex de Diddy dijo que le dio 150 mil en un "contrato de amor"
Inundaciones afectan varias avenidas de Colón tras fuerte aguacero
Sucesos
¡Cae otro cargamento! Incautan 500 paquetes de droga y 2 detenidos
Sucesos
Homicidios no dan tregua en la ciudad capital
Sucesos
Confirman identidad de bebé hallado en río de Bocas
Sucesos
Hombre muere apuñalado cerca de un minisúper en Chiriquí Grande
Sucesos
Niña de 10 años muere ahogada tras naufragio en Bocas del Toro
Sucesos
Otro fin de semana negro en las vías del país: 4 muertos
Sucesos
Agarran a hombre condenado por robo armado
Sucesos
Hombre fallece tras presunta mordedura de serpiente en Donoso
Sucesos
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1746724640516-0'); });
Nacional
Provincias
Panamá logra avance para salir de lista europea de blanqueo
Nacional
Potabilizadora de Chilibre opera al 90% tras reparación de motor
Nacional
Padres y estudiantes de escuela en Chame exigen regreso a clases
Nacional
Migrantes parten desde Colón hacia La Miel en retorno voluntario
Nacional
Defensoría confirma uso excesivo de gases lacrimógenos en Arimae
Nacional
¡Juega vivo, azuerense! Agua no es potable
Nacional
Inundaciones afectan varias avenidas de Colón tras fuerte aguacero
Nacional
Escándalo en la UP: 11 sancionados por nepotismo y abuso de cargo
Nacional
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1705933870485-0'); });
Show
Pide al presidente tomar acción contra Naturgy, factura lo que les da la gana
Show
Altafulla gana 'La casa de los famosos Colombia'. ¡Era favorito!
Show
Japonés viaja a pie de Alaska a Argentina. Ya va rumbo a Darién
Show
Ex de Diddy dijo que le dio 150 mil en un "contrato de amor"
Show
Comparte su experiencia después de enfrentar los cambios de la menopausia
Show
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1724251270603-0'); });
contenido
Ver más escritos
Panamá libera en Albrook a 65 migrantes deportados por EEUU
Sueños en pausa, tras el cese de la mina
Adavion, al servicio de los pacientes oncológicos
Cáncer: la actitud y la red de apoyo importan
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1746724791885-0'); });
Contenido Patrocinado
Mural en Avenida de Los Mártires grita "birria con los frenes"
Empresas enfrentan el desafío de proteger su operación digital
¿Y los mineros no son panameños también?
Coclé: educan sobre salud en Penonomé por minería
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1705934332880-0'); });
Vida
Consejos para mantenerse lejos de la intoxicación alimentaria
Vida
Regresa el Festival de Grupos de Cámara en su quinta edición
Vida
Panamá presenta ante la UNESCO una muestra de su cultura
Vida
Panamá será sede del World of Coffee 2026
Vida
Deportes
Panamá vence con autoridad a Nicaragua y quedó líder de su grupo
Deportes
José Fajardo y Cecilio Waterman, bajas para la Copa Oro
Deportes
Panamá busca hoy vencer a Nicaragua y terminar líder de grupo
Deportes
Franklin Archibold, segundo en prueba realizada en Europa
Deportes
Mundo
Mueren 10 personas en tiroteo en un centro escolar en Austria
Mundo
Un muerto y varios heridos por explosión de bombas en Cali
Mundo
Secretaria de Seguridad acusa a Sheinbaum de alentar las protestas
Mundo
Uribe Turbay sigue "en estado crítico" y con "escasa respuesta"
Mundo
Fiscalía dice que detrás de atentado a Uribe hay grupos criminales
Mundo
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1724252438433-0'); });
Insólitas
Exmonja visita su antiguo convento para despedirse antes de su boda
Insólitas
Detienen en la India a pasajero con un montón de serpientes
Insólitas
Le cae el techo encima mientras veía la cinta de Destino Final
Insólitas
Monja fue expulsada por ser muy linda. Pide ayuda al Vaticano
Insólitas
Videos
Balacera en Samaria. Guardias se defendieron y se formó la vaina(Video)
Manifestantes no dejaban pasar un ataúd. ¡Hubo cabreos!(Video)
Oran en Colón por la paz en el país y que salga de este caos(Video)
Fotogalerías
Feministas marchan contra iniciativas del Gobierno y piden cese de la violencia
Huelga sin incidentes graves en la capital
Detenciones, enfrentamientos y gritos de abajo la ley 462
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1724253439810-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1707338899526-0'); });
window._taboola = window._taboola || [];
_taboola.push({
mode: 'thumbnails-a',
container: 'taboola-below-homepage-thumbnails',
placement: 'Below Homepage Thumbnails',
target_type: 'mix'
});
window._taboola = window._taboola || [];
_taboola.push({
mode: 'alternating-thumbnails-a',
container: 'taboola-below-article-thumbnails-new',
placement: 'Below Article Thumbnails New',
target_type: 'mix'
});
window._taboola = window._taboola || [];
_taboola.push({flush: true});
Siguenos en:
Regístrate
Impreso
- Portales -
Crítica
Panamá América
Día a Día
Mujer
Recetas
Kiosco
Cine
Clasiguía
Prémiate
Impresora Pacífico
Miembro de:
- Redes sociales -
Noticias
Whatsappcri
Videos
Galerías
Todos los derechos reservados Editora Panamá América S.A. - Ciudad de Panamá - Panamá 2021.
Prohibida su reproducción total o parcial, sin autorización escrita de su titular.
Utilizamos cookies propias y de terceros para mejorar nuestros servicios y mostrarle publicidad relacionada con sus preferencias mediante el análisis de sus hábitos de navegación. Si continua navegando, consideramos que acepta su uso. Puede cambiar la configuración u obtener más información "aquí".
x
{"path":{"baseUrl":"\/","pathPrefix":"","currentPath":"node\/25","currentPathIs":false,"isFront":true,"currentLanguage":"es"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"pwaA2hs":{"pwaA2hsPrompt":{"button_text":"Instalar Aplicaci\u00f3n"}},"statistics":{"data":{"nid":"25"},"url":"\/core\/modules\/statistics\/statistics.php"},"csp":{"nonce":"iMVky_FPxHF610CGIbnlPw"},"":{"uid":0,"permissionsHash":"b9596a6ff23713709b64530b5b882c9a273da3d1ca715b61d85a62ce1dc620fe"}}
new WOW().init();
document.getElementsByClassName("perfilnew")[0].innerHTML='<ifr'+'ame id="perfil" title="Regístrate" style="" src="//registro.critica.com.pa//agregado/_menu_perfil.php?ruta='+ruta+'&w='+w+'&path='+path+'&rrff=2024" width="100%" height="100px" frameborder="0" scrolling="no">';
window.addEventListener("message", respuesta, false);
var res;
function respuesta (event) {
if(event.data=="nologeado"){
localStorage.removeItem('reg__id');
localStorage.removeItem("par");
localStorage.removeItem("sortedData");
localStorage.removeItem("Selection");
localStorage.removeItem("nCategorySelected");
localStorage.removeItem("sortedDataDate");
}
if(event.data=="nolog1"){
localStorage.removeItem("par");
localStorage.removeItem("sortedData");
localStorage.removeItem("Selection");
localStorage.removeItem("nCategorySelected");
localStorage.removeItem("sortedDataDate");
document.cookie = "gtx8id=null;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/";
}
if(event.data=="nologeado123"){
/*<?php if (@$_GET[""] =="activo"): ?>
mostrarIniciarSesion();
<?php endif; ?>*/
setTimeout(function(){
/*<?php if($_GET["q"]=="node/526193" || $_GET["q"]=="node/526193"): ?>
desbloquearKiosco();
<?php endif; ?>*/
localStorage.removeItem("par");
localStorage.removeItem("sortedData");
localStorage.removeItem("Selection");
localStorage.removeItem("nCategorySelected");
localStorage.removeItem("sortedDataDate");
}, 700);
jQuery(".portaditanew a").attr("href","#");
jQuery(".portaditanew").on("click", function(e){
e.preventDefault();
jQuery(".kiosco-suple-msg").css("display", "flex");
jQuery(".kiosco-suplemento ul").css("opacity", ".15");
});
jQuery(".kiosco-suple-msg button").on("click", function(){
mostrarIniciarSesion();
});
jQuery(".kiosco-suple-msg u").on("click", function(){
mostrarCrearCuenta();
});
}
if(event.data=="usrname"){
jQuery("body").removeClass("nota-");
logeado();
}
if(event.data=="datoscompletos"){
datoscompletos();
}
if(event.data=="nodatoscompletos"){
}
if(event.data=="regresoFav"){
}
if(event.data=="regreso"){
let w =screen.width;
jQuery("body").removeClass("nota-");
jQuery(".menuregistro .perfilnew iframe").html('<ifr'+'ame id="perfil" class="regreso2" src="//registro.critica.com.pa//agregado/_menu_perfil.php?ruta='+ruta+'&w='+w+'&path='+path+'&rx&rrff=2024" width="100%" height="100px" frameborder="0" scrolling="no">');
document.getElementsByClassName("perfilnew")[0].innerHTML='<ifr'+'ame id="perfil" style="" src="//registro.critica.com.pa//agregado/_menu_perfil.php?ruta='+ruta+'&w='+w+'&path='+path+'&rrff=2024" width="100%" height="100px" frameborder="0" scrolling="no">';
let contenidoFavoritoFrame = jQuery(".contenido-fav-iframe-cont iframe");
contenidoFavoritoFrame.attr("src", contenidoFavoritoFrame.attr("src"));
logeado();
}
if(event.data=="crearcuenta"){
desbloquearPantalla();
jQuery('.cajavacia-2018').removeClass('bloquearpantalla');
jQuery('html').removeClass("nomover");
jQuery(".articulo- .contenido-").removeClass("ocultar");
jQuery('.contenidomodal-2018').removeClass('mostrar');
jQuery('.contenidomodal-2018').removeClass('mostrar-modal');
jQuery('.contenidomodal-2018').removeClass('modal-');
jQuery('.contenidomodal-2018').removeClass('modal-crear');
jQuery('.contenidomodal-2018').removeClass('modal-perfil');
jQuery('.contenidomodal-2018').html('');
mostrarCrearCuenta();
}
if(event.data=="iniciarsesion"){
mostrarIniciarSesion();
}
if(event.data=="muestraperfil"){
mostrarPerfil();
}
if(event.data=="returnToHome"){
window.location.href = "/";
}
if(event.data=="cerrarmodal"){
ocultarCrearCuenta();
if(jQuery("body").hasClass("logeado-2018")===false){
cerrarModalContenidoFavorito();
}
else{
jQuery('.cajavacia-2018').removeClass('bloquearpantalla');
jQuery('html').removeClass("nomover");
jQuery(".articulo- .contenido-").removeClass("ocultar");
jQuery('.contenidomodal-2018').removeClass('mostrar');
jQuery('.contenidomodal-2018').removeClass('mostrar-modal');
jQuery('.contenidomodal-2018').removeClass('modal-');
jQuery('.contenidomodal-2018').removeClass('modal-crear');
jQuery('.contenidomodal-2018').removeClass('modal-perfil');
jQuery('.contenidomodal-2018').html('');
}
}
if(event.data=="quitarperfil"){
window.location.href="/";
return;
desbloquearPantalla();
}
if(event.data=="menuabierto"){
jQuery(".perfilnew iframe").css("height","342px");
jQuery(".perfilnew iframe").addClass("menu-registro-open");
}
if(event.data=="menucerrado"){
jQuery(".perfilnew iframe").css("height","30px");
jQuery(".perfilnew iframe").removeClass("menu-registro-open");
}
if(event.data=="crear450"){
jQuery(".mostrar-modal.modal-crear").addClass("crear450");
}
if(event.data=="irAmisNoticias"){
window.location.href = "/mi-critica";
}
if(event.data=="datosperfilactualizados"){
location.reload();
}
if(event.data=="cfUpdated"){
localStorage.removeItem("par");
localStorage.removeItem("sortedData");
localStorage.removeItem("Selection");
localStorage.removeItem("nCategorySelected");
localStorage.removeItem("sortedDataDate");
return;
if(typeof(paywall) !=="undefined"){
paywall.signOff();
}
document.cookie = "gtx8id=null;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/";
window.location.href="/";
}
if(event.data.event_id === 'my_cors_message'){
const lz = true;
setData(
event.data.data._id,
event.data.data.name,
event.data.data.v1
);
}
if(event.data=="completarDatosReady"){
bloquearPantalla();
jQuery(".completar-datos").addClass("mostrar-completar-datos");
}
if(event.data=="completarDatosYaEstabaCompleto"){
$(".completar-datos").remove();
}
if(event.data=="closCompletarApp"){
desbloquearPantalla();
$(".completar-datos").remove();
}
if(event.data=="completarDatosPantalla2"){
$(".completar-datos").css("height", "516px");
}
}
jQuery(".cajavacia-2018").click(function() {
ocultarCrearCuenta();
});
function datoscompletos(){
$ = jQuery;
if($("body").hasClass("page-node-571822")){
}
}
function nodatoscompletos(){
jQuery(".portaditanew").on("click", function(e){
e.preventDefault();
jQuery(".portaditanew a").attr("href","#");
jQuery(".kiosco-suple-msg").css("display", "flex");
jQuery(".kiosco-suple-msg p").css("margin", "auto");
jQuery(".kiosco-suplemento ul").css("opacity", ".15");
});
jQuery(".kiosco-suple-msg button").html("Ir a mi perfil");
jQuery(".kiosco-suple-msg p")[1].remove();
jQuery(".kiosco-suple-msg button").on("click", function(){
mostrarPerfil();
});
}
function revisar(){
if(typeof(document.getElementsByClassName("nota-")[0]) !=="undefined"){
bloquearArticulo();
}
else return;
}
function bloquearArticulo(){
if (typeof(jQuery(".nota-restriccion-msg").html()) === "undefined"){
jQuery("#comments18").remove();
jQuery("#escucha-noticia").remove();
jQuery("<style type='text/css'> body .teads-inread{display:none !Important} ").appendTo("head");
jQuery(".teads-inread").remove();
if(jQuery(".notas-body .notas>*:nth-child(1)").text().trim().length < 80){
jQuery(".notas-body .notas >*:nth-child(n+3)").remove();
}
else jQuery(".notas-body .notas >*:nth-child(n+2)").remove();
jQuery(".notas-body .notas >*:nth-child(1)").css({"height": "140px", "overflow": "hidden"});
jQuery(".notas-body .notas >*").wrapAll('<div class="preview-">');
jQuery(".preview-").append('');
jQuery(".notas-body").append('Inicia sesión para seguir leyendoSolo con tener una cuenta ya puedes leer este artículo, es GRATIS.RegístrateInicia sesiónGracias por leer Crítica');
jQuery(".-aqui-btn-new").on("click",function() {
mostrarCrearCuenta();
});
jQuery(".inicia-ses-btn-new").on("click",function() {
mostrarIniciarSesion();
});
}
}
function setData(id, name, name2){
/*if(document.cookie.split("gtx8id")[1]===undefined){*/
let tx58 = "Y9a2YWDBvAp3yTs5";
localStorage.setItem("par", id);
localStorage.setItem("paregmail", btoa(name2));
localStorage.setItem('reg__id', id);
document.cookie = "gtx8id="+btoa(tx58) +id +";path=/;max-age=31536000";
$(".contenido-favorito-title h2").prepend("Hola "+name+", ");
$(".contenido-favorito-title span").prepend(name[0]);
/*}*/
return;
}
function mostrarLoader(){
}
function mostrarCrearCuenta(){
let is;
if(document.getElementsByClassName("nota-")[0] !== undefined){
is = true;
}
else{
is = false;
}
window.location.href= '/registro/crear?next='+ btoa(document.URL) +'&pr='+is;
return;
/* old impl */
let w =screen.width;
desbloquearPantalla();
bloquearPantalla();
mostrarLoader();
jQuery('.contenidomodal-2018').addClass('mostrar');
jQuery('.contenidomodal-2018').addClass('mostrar-modal');
jQuery('.contenidomodal-2018').addClass('modal-crear');
/*
let is;
if(document.getElementsByClassName("nota-")[0] !== undefined){
is = true;
}
else{
is = false;
}*/
jQuery('.contenidomodal-2018').append('');
/* old impl */
}
function mostrarCrearCuentaFb(){
let w =screen.width;
desbloquearPantalla();
bloquearPantalla();
mostrarLoader();
jQuery('.contenidomodal-2018').addClass('mostrar');
jQuery('.contenidomodal-2018').addClass('mostrar-modal');
jQuery('.contenidomodal-2018').addClass('modal-crear');
let is;
if(document.getElementsByClassName("nota-")[0] !== undefined){
is = true;
}
else{
is = false;
}
jQuery('.contenidomodal-2018').append('');
}
function mostrarIniciarSesion(){
let is;
if(document.getElementsByClassName("nota-")[0] !== undefined){
is = true;
}
else{
is = false;
}
window.location.href= '/registro/?next='+ btoa(document.URL.split('?')[0]) + '&pr='+is;
return;
/* old impl */
let w =screen.width;
desbloquearPantalla();
bloquearPantalla();
mostrarLoader();
/*
let is;
if(document.getElementsByClassName("nota-")[0] !== undefined){
is = true;
}
else{
is = false;
}*/
jQuery('.contenidomodal-2018').addClass('mostrar');
jQuery('.contenidomodal-2018').addClass('mostrar-modal');
jQuery('.contenidomodal-2018').addClass('modal-');
jQuery('.contenidomodal-2018').append('');
/* old impl */
}
function cerrarModalContenidoFavorito(){
/**/
window.location.href = "/";
/**/
}
function ocultarCrearCuenta(){
/**/
desbloquearPantalla();
jQuery('.contenidomodal-2018').removeClass('mostrar');
jQuery('.contenidomodal-2018').removeClass('mostrar-modal');
jQuery('.contenidomodal-2018').removeClass('modal-');
jQuery('.contenidomodal-2018').removeClass('modal-crear');
jQuery('.contenidomodal-2018').html('');
jQuery('.crear450').removeClass('crear450');
/**/
}
function mostrarPerfil(){
desbloquearPantalla();
bloquearPantalla();
jQuery('.contenidomodal-2018').addClass('mostrar mostrar-modal modal-perfil');
jQuery(".contenidomodal-2018").html('');
}
function bloquearPantalla(){
jQuery('.cajavacia-2018').addClass('bloquearpantalla');
jQuery('html').addClass("nomover");
jQuery(".articulo- .contenido-").addClass("ocultar");
}
function desbloquearPantalla(){
/**/
jQuery('.cajavacia-2018').removeClass('bloquearpantalla');
jQuery('html').removeClass("nomover");
jQuery(".articulo- .contenido-").removeClass("ocultar");
jQuery('.contenidomodal-2018').removeClass('mostrar');
jQuery('.contenidomodal-2018').removeClass('mostrar-modal');
jQuery('.contenidomodal-2018').removeClass('modal-');
jQuery('.contenidomodal-2018').removeClass('modal-crear');
jQuery('.contenidomodal-2018').removeClass('modal-perfil');
jQuery('.mostrar-completar-datos').remove();
jQuery('.contenidomodal-2018').html('');
/* */
}
function logeado(){
jQuery("body").addClass("logeado-2018");
/*
desbloquearKiosco();
*/
jQuery(".reacciones-2018").unbind("click");
jQuery(".reacciones-bloquear").removeClass("reacciones-bloquear");
jQuery(".registro-new").unbind("click");
jQuery(".registro-new img").css("opacity", "initial");
jQuery(".registro-new img").attr("src", "/D10/icons/_male_online_2_verde_4.png?psñsñrec");
jQuery(".registro-new").click(function(){
if(jQuery(".menu--logeado").hasClass("mostrar-")){
jQuery(".menu--logeado").removeClass("mostrar-");
jQuery(this).removeClass("mostrar-");
return;
}
jQuery(".menu--logeado").addClass("mostrar-");
jQuery(this).addClass("mostrar-");
});
jQuery("li.registro").css("display","none");
}
jQuery(document).ready(function() {
if(jQuery("body").hasClass("logeado-2018")===false){
jQuery(".registro-new").click(function(){
mostrarIniciarSesion();
})
}
if(jQuery("body").hasClass("logeado-2018")){ }
jQuery(".cajavacia").click(function() {
desbloquearPantalla();
});
jQuery(".servicio-noticias-2018 a").click(function(){
mostrarCrearCuenta();
});
jQuery(".menu--logeado .miperfil").click(function() {
mostrarPerfil();
});
jQuery(".menu--logeado").click(function() {
jQuery(".registro-new").removeClass("mostrar-");
jQuery(this).removeClass("mostrar-");
});
/*
mostrarIniciarSesion();
mostrarCrearCuentaFb();
setTimeout(
function() {
if(jQuery("body").hasClass("logeado-2018")===true){
mostrarPerfil();
}
else{
mostrarIniciarSesion();
}
}, 1000);
*/
});
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*new Date();for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");ym(92306955, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true});(function (d, w, c) {(w[c] = w[c] || []).push(function() {try {w.yaCounter92137143 = new Ya.Metrika2({id:92137143,clickmap:true,trackLinks:true,accurateTrackBounce:true});} catch(e) { }});var n = d.getElementsByTagName("script")[0],s = d.createElement("script"),f = function () { n.parentNode.insertBefore(s, n); };s.type = "text/javascript";s.async = true;s.src = "https://mc.yandex.ru/metrika/tag.js";if (w.opera == "[object Opera]") {d.addEventListener("DOMContentLoaded", f, false);} else { f(); }})(document, window, "yandex_metrika_callbacks2"); !function e(t){for(var n=t+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){for(var i=r[o];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null}("prefix_views_counter")&function e(t){var n,r;if(!t||(window.XMLHttpRequest&(n=new window.XMLHttpRequest),!n))return!1;r="action="+encodeURIComponent(t);try{n.open("POST","/user.php",!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.onload=function(){200===n.status&function e(t,n,r){if(r){var o=new Date;o.setTime(o.getTime()+864e5*r);var i="; expires="+o.toGMTString()}else var i="";document.cookie=t+"=1"+i+"; path=/"}("prefix_views_counter",1,1)},n.send(r)}catch(o){}return!0}('480d7d3d1f4009b6284d78b8b195665b'); (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(92138098, "init", {clickmap:true,trackLinks:true,accurateTrackBounce:true });
4w4d70