Refrescar la app
{ try{ if (!o || !o.v || o.v <= 0) return; const pct = (o.v/total) * 100; const c = document.createElementNS("http://www.w3.org/2000/svg","circle"); c.setAttribute("cx","21"); c.setAttribute("cy","21"); c.setAttribute("r","15.915"); c.setAttribute("fill","transparent"); c.setAttribute("stroke", colors[i % colors.length]); c.setAttribute("stroke-width","6"); c.setAttribute("stroke-dasharray", pct+" "+(100-pct)); c.setAttribute("stroke-dashoffset", 25 - acc); seg.appendChild(c); acc += pct; }catch(_){} }); }catch(_){} }catch(err){ // swallow any unexpected errors - but log minimal info (filtered by console override) try{ console.warn("drawCounters internal error", (err && err.message) || String(err)); }catch(_){} } } // attempt initial draw safely; if parent wants the parent to update iframe's counters, // parent will postMessage or call functions on parent side — this draw is local. setTimeout(function(){ try { drawCounters(); } catch(e){ /* noop */ } }, 250); // also expose for manual debugging window.__rv_drawCounters = drawCounters; })();