Estudiantes de la orquesta del Colegio Eliodoro Matte Ossa, perteneciente a la SIP Red de Colegios, participaron en una clase magistral de órgano realizada en la iglesia San Ignacio Loyola, la que fue dirigida por Szabolcs Szamosi, reconocido músico de la era moderna...
#OrgulloSIP: Estudiantes SIP obtienen segundo lugar en torneo de Debate UCH
2 de Oct, 2023
La Sociedad de Debate de la Universidad de Chile organizó una vez más el torneo que reúne a estudiantes de 42 colegios de la Región Metropolitana, y que en esta ocasión un grupo de alumnas SIP obtuvo el segundo lugar.
Felicitamos especialmente a Julieta López, del Colegio Los Nogales; Esperanza Salas, del Colegio Bicentenario Elvira Hurtado, y a Antonella Gac y Anyeli Zambrano del Colegio Arturo Toro Amor, por este gran logro.
Además de ellas, felicitamos a los estudiantes de todos los equipos SIP que participaron en esta instancia y a todo el equipo de profesionales que los acompaña semana tras semana para ampliar habilidades que sin duda les servirán en muchos campos de sus vidas.
En la SIP fomentamos la práctica del Debate en todos los colegios porque permite a los estudiantes desarrollar habilidades como la investigación, argumentación y pensamiento crítico, al tiempo que aprenden más sobre la empatía, la tolerancia a la frustración y el trabajo colaborativo.
En este video puedes conocer más sobre las actividades de Debate en la SIP.
function collectGalleryIds(){
// intenta capturar IDs del grid visible detrás del lightbox
var ids = [];
// 1) anchors con id=...
document.querySelectorAll('a[href*="drive.google.com"][href*="id="]').forEach(function(a){
var id = getIdFromNode(a);
if (id) ids.push(id);
});
// 2) data-id en elementos del grid
if (!ids.length){
document.querySelectorAll('[data-id],[data-file-id],[data-drive-id],[data-google-id]').forEach(function(el){
var id = getIdFromNode(el);
if (id) ids.push(id);
});
}
// deduplicate conservando orden
var seen={}; ids = ids.filter(function(x){ if(seen[x]) return false; seen[x]=1; return true; });
return ids;
}
function replaceThumbs(ids){
// reemplaza thumbs del visor
var thumbs = document.querySelectorAll('.lg-outer .lg-thumb-item img, .lg-outer .lg-thumb img');
if (!thumbs.length || !ids.length) return;
thumbs.forEach(function(img, i){
// si ya fue reemplazada, salta
if (img.dataset.igdFixed === '1') return;
// mantener tamaño si viene como wX-hX; si no, usa 120
var w=120, h=120, m = (img.src||'').match(/w(\d+)-h(\d+)/);
if (m){ w = Math.max(64, +m[1]); h = Math.max(64, +m[2]); }
// usa el id por índice si existe; si no, intenta extraer del slide actual
var id = ids[i] || null;
if (!id){
var slide = document.querySelectorAll('.lg-outer .lg-item')[i];
if (slide){
id = getIdFromNode(slide) || getIdFromNode(slide.querySelector('a')) || getIdFromNode(slide.querySelector('img'));
}
}
if (!id) return;
// si la imagen ya es estable, no tocar
if (/drive\.google\.com\/thumbnail\?id=/.test(img.src)) {
img.dataset.igdFixed = '1';
return;
}
img.src = 'https://drive.google.com/thumbnail?id='+id+'&sz=w'+w+'-h'+h;
img.setAttribute('loading','eager');
img.setAttribute('decoding','async');
img.dataset.igdFixed = '1';
});
}
function replaceMainIfBroken(){
// por si el recurso grande también viniera de lh3
document.querySelectorAll('.lg-outer .lg-current img, .lg-outer .lg-image, .lg-outer .lg-object').forEach(function(img){
if (!img || !img.src || img.dataset.igdFixed==='1') return;
if (img.src.indexOf('lh3.googleusercontent.com/drive-storage') === -1) return;
// intenta mapear por índice actual
var current = document.querySelector('.lg-outer .lg-thumb-item.active') ||
document.querySelector('.lg-outer .lg-thumb-item.current');
var ids = window.__igdIds || [];
var idx = current ? Array.prototype.indexOf.call(current.parentNode.children, current) : -1;
var id = (idx>=0 ? ids[idx] : null) || getIdFromNode(img) || getIdFromNode(document.querySelector('.lg-outer .lg-current a'));
if (!id) return;
var w = img.naturalWidth || img.width || 1280;
var h = img.naturalHeight || img.height || 960;
img.src = 'https://drive.google.com/thumbnail?id='+id+'&sz=w'+w+'-h'+h;
img.dataset.igdFixed='1';
});
}
function boot(){
window.__igdIds = collectGalleryIds();
// cada vez que aparece el visor, intenta reemplazar
var tryFix = function(){
if (!document.querySelector('.lg-outer')) return;
replaceThumbs(window.__igdIds);
replaceMainIfBroken();
};
// intentos iniciales + breve intervalo por si LG tarda en construir thumbs
var n=0, iv = setInterval(function(){
tryFix();
if (++n > 20) clearInterval(iv); // ~10s
}, 500);
// observa cambios dentro del visor (LG recicla thumbs)
var outer = document.querySelector('.lg-outer');
if (outer){
var mo = new MutationObserver(function(muts){
muts.forEach(function(m){
if (m.addedNodes && m.addedNodes.length) tryFix();
});
});
mo.observe(outer, {childList:true, subtree:true});
}
// si alguna imagen falla, reintenta con estable
document.addEventListener('error', function(e){
var el = e.target;
if (el && el.tagName==='IMG' && /lh3\.googleusercontent\.com\/drive-storage/.test(el.src)){
replaceMainIfBroken();
replaceThumbs(window.__igdIds);
}
}, true);
}
// disparar al abrir galería (cuando aparece .lg-outer)
var pageObs = new MutationObserver(function(muts){
muts.forEach(function(m){
(m.addedNodes||[]).forEach(function(n){
if (n.nodeType===1 && n.classList && n.classList.contains('lg-outer')){
boot();
}
});
});
});
pageObs.observe(document.documentElement, {childList:true, subtree:true});
})();