Contenido
Metro CDMX
Fallas, retrasos, humo… mañana de caos en cuatro líneas del Metro
Las anomalías afectaron el traslado de miles de usuarios del Sistema de Transporte Colectivo.
// ------------------------------------------------------------------------------------------------------------------------------- // PHOTOSWIPE
var initPhotoSwipeFromDOM = function(gallerySelector) {
// parse slide data (url, title, size ...) from DOM elements // (children of gallerySelector) var parseThumbnailElements = function(el) { var thumbElements = el.childNodes, numNodes = thumbElements.length, items = [], figureEl, linkEl, size, item;
for(var i = 0; i < numNodes; i++) {
figureEl = thumbElements[i]; //
// include only element nodes if(figureEl.nodeType !== 1) { continue; }
linkEl = figureEl.children[0]; // element
size = linkEl.getAttribute('data-size').split('x');
// create slide object item = { src: linkEl.getAttribute('href'), w: parseInt(size[0], 10), h: parseInt(size[1], 10) };
if(figureEl.children.length > 1) {
//
if(linkEl.children.length > 0) {
// thumbnail element, retrieving thumbnail url
item.msrc = linkEl.children[0].getAttribute('src');
}
item.el = figureEl; // save link to element for getThumbBoundsFn items.push(item); }
return items; };
// find nearest parent element var closest = function closest(el, fn) { return el && ( fn(el) ? el : closest(el.parentNode, fn) ); };
// triggers when user clicks on thumbnail var onThumbnailsClick = function(e) { e = e || window.event; e.preventDefault ? e.preventDefault() : e.returnValue = false;
var eTarget = e.target || e.srcElement;
// find root element of slide var clickedListItem = closest(eTarget, function(el) { return (el.tagName && el.tagName.toUpperCase() === 'FIGURE'); });
if(!clickedListItem) { return; }
// find index of clicked item by looping through all child nodes // alternatively, you may define index via data- attribute var clickedGallery = clickedListItem.parentNode, childNodes = clickedListItem.parentNode.childNodes, numChildNodes = childNodes.length, nodeIndex = 0, index;
for (var i = 0; i < numChildNodes; i++) { if(childNodes[i].nodeType !== 1) { continue; } if(childNodes[i] === clickedListItem) { index = nodeIndex; break; } nodeIndex++; } if(index >= 0) { // open PhotoSwipe if valid index found openPhotoSwipe( index, clickedGallery ); } return false; };
// parse picture index and gallery index from URL (#&pid=1&gid=2) var photoswipeParseHash = function() { var hash = window.location.hash.substring(1), params = {};
if(hash.length < 5) { return params; } var vars = hash.split('&'); for (var i = 0; i < vars.length; i++) { if(!vars[i]) { continue; } var pair = vars[i].split('='); if(pair.length < 2) { continue; } params[pair[0]] = pair[1]; } if(params.gid) { params.gid = parseInt(params.gid, 10); } return params; }; var openPhotoSwipe = function(index, galleryElement, disableAnimation, fromURL) { var pswpElement = document.querySelectorAll('.pswp')[0], gallery, options, items; items = parseThumbnailElements(galleryElement); // define options (if needed) options = { // define gallery index (for URL) galleryUID: galleryElement.getAttribute('data-pswp-uid'), getThumbBoundsFn: function(index) { // See Options -> getThumbBoundsFn section of documentation for more info var thumbnail = items[index].el.getElementsByTagName('img')[0], // find thumbnail pageYScroll = window.pageYOffset || document.documentElement.scrollTop, rect = thumbnail.getBoundingClientRect();
return {x:rect.left, y:rect.top + pageYScroll, w:rect.width}; }
};
// PhotoSwipe opened from URL if(fromURL) { if(options.galleryPIDs) { // parse real index when custom PIDs are used // http://photoswipe.com/documentation/faq.html#custom-pid-in-url for(var j = 0; j < items.length; j++) { if(items[j].pid == index) { options.index = j; break; } } } else { // in URL indexes start from 1 options.index = parseInt(index, 10) - 1; } } else { options.index = parseInt(index, 10); } // exit if index not found if( isNaN(options.index) ) { return; } if(disableAnimation) { options.showAnimationDuration = 0; } // Pass data to PhotoSwipe and initialize it gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options); gallery.init(); }; // loop through all gallery elements and bind events var galleryElements = document.querySelectorAll( gallerySelector ); for(var i = 0, l = galleryElements.length; i < l; i++) { galleryElements[i].setAttribute('data-pswp-uid', i+1); galleryElements[i].onclick = onThumbnailsClick; } // Parse URL and open gallery if it contains #&pid=3&gid=1 var hashData = photoswipeParseHash(); if(hashData.pid && hashData.gid) { openPhotoSwipe( hashData.pid , galleryElements[ hashData.gid - 1 ], true, true ); } }; // execute above function initPhotoSwipeFromDOM('.my-gallery'); // ====================================== // FIN SCRIPTS PHOTOSWIPE // ======================================
CIUDAD DE MÉXICO (apro).- La mañana de este martes el servicio en cuatro líneas del Sistema de Transporte Colectivo Metro (STC) tuvo fallas y retrasos técnicos, incluso con presencia de humo, que afectaron el traslado de miles de usuarios a sus escuelas y trabajos.
Minutos antes de las 8 horas, usuarios de la estación Etiopía de la Línea 3 reportaron presencia de humo que salió del tren y se esparció por el andén, lo cual provocó sorpresa y nerviosismo entre los pasajeros, como quedó registrado en videos difundidos en redes sociales.
Presencia de Humo derivado de un Corto CircuitouD83DuDD25en la estación Etiopía de la #Linea3 del @MetroCDMX uD83DuDEA8
Usuari@s sufrieron síntomas de Intoxicación por el HumouD83DuDEA8
El #MetroCDMX es unauD83DuDCA3de??
Gracias @Claudiashein y @GobCDMX
Por Ponernos en Riesgo todos los diasuD83DuDE21 pic.twitter.com/DdB4dqgJKZ
— MetroViral (@viral_metro) September 5, 2023
El hecho generó que la gente bajara del tren y se aglomerara en el andén. También provocó retrasos para reanudar el servicio en la línea que va de Indios Verdes a Universidad.
El Metro, dirigido por Guillermo Calderón, informó que se revisaron las zapatas del tren y que luego siguió el servicio con normalidad.
También en las redes sociales, usuarios de la Línea A reiteraron las quejas del retraso de entre 20 y 30 minutos de la llegada de los trenes. Se trata de la línea férrea que va de Los Reyes La Paz, en el Estado de México a Pantitlán.
Una queja similar fue para el servicio en la línea 4, que va de Martín Carrera a Santa Anita, donde los convoyes tardaban hasta 10 minutos en llegar.
En redes sociales también hubo quejas de los usuarios por el lento servicio en el recorrido de la Línea 9, que va de Pantitlán a Tacubaya, que, según reportaron, se hacía hasta en una hora y 25 minutos.
La línea “café” ha estado en la polémica desde hace unos días, cuando usuarios de redes sociales reportaron que la noche del domingo 3, las puertas de un vagón se abrieron mientras el tren circulaba sobre el tramo elevado.
QUE SE ABREN LAS PUERTAS uD83DuDE21uD83DuDEA8
En redes, circula el video de como una falla en el sistema de puertas de un convoy del #Metro de la #L9, hizo que abrieran las puertas, poniendo en peligro la vida de los usuarios. #CDMX. pic.twitter.com/nBGFkdBc92— Qué Poca Madre uD83CuDDF2uD83CuDDFD (@QuePocaMadreMex) September 3, 2023
En respuesta, el STC informó que el tren reportado “fue intervenido por personal del Sistema y retirado de circulación para una revisión exhaustiva y posterior puesta en servicio”.
Comentarios
Otras Noticias
// Obtener todos los elementos con clase .col-md-12 var colElements = document.querySelectorAll('.col-md-12');
// Iterar sobre cada elemento colElements.forEach(function(element) { // Verificar si tiene un hijo inmediato con clase .titulo-region var tituloRegion = element.querySelector('.titulo-region');
if (tituloRegion) { // Agregar la clase .is-sticky al elemento padre element.classList.add('is-sticky'); } });
// Obtener el elemento article dentro de .fila-especial-v2 .p50 var articleElement = document.querySelector('.home .fila-especial-v2 .p50 article');
// Obtener el texto del elemento .z-foto .bajada p var bajadaText = articleElement.querySelector('.z-foto .bajada p').textContent;
// Crear un nuevo elemento para mostrar el texto obtenido var textoElement = document.createElement('p'); textoElement.textContent = bajadaText;
// Obtener el elemento .z-txt .titulo dentro del article var tituloElement = articleElement.querySelector('.z-txt .titulo');
// Insertar el nuevo elemento al final del article articleElement.appendChild(textoElement);
Cortesía de Proceso.
Dejanos un comentario: