PageSourceSearch

https://www.mitelefe.com/build/378.87bb126e.js

js mitelefe.com collected 2026-10-02 03:57:44 UTC 2,660 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunktelefe_symfony=globalThis.webpackChunktelefe_symfony||[]).push([[378],{378(e,t,a){a.d(t,{default:()=>i});a(8992),a(1454),a(8872);var n=a(2891),s=a(9661);const i=class extends n.xI{static values={url:String,days:Number};static palette=["#4fc9da","#2aa8b8","#1d8a98","#6dd5e3","#9de3ec","#b3965a","#d4ad72","#8c6e3a","#f0c97a","#f5dfa0"];connect(){this.#e(),this.#t()}daysValueChanged(e,t){void 0!==t&&(this.disconnect(),this.connect())}disconnect(){this.chart&&(this.chart.destroy(),this.chart=null),this.element.innerHTML=""}#e(){this.element.innerHTML='\n      <div class="placeholder-glow py-2">\n        <div class="placeholder w-100 rounded" style="height:350px;opacity:.07"></div>\n      </div>'}#t(){fetch(`${this.urlValue}?days=${this.daysValue}`).then(e=>e.json()).then(e=>{if(!e.length)return void(this.element.innerHTML='\n            <div class="d-flex flex-column align-items-center justify-content-center py-5 text-muted">\n              <i class="bi bi-pie-chart fs-3 mb-2"></i>\n              <span class="small">Sin datos para el período seleccionado.</span>\n            </div>');const t=e.map(e=>e.category),a={chart:{type:"donut",height:350,fontFamily:"Inter, Helvetica, sans-serif",animations:{enabled:!0,speed:400}},series:e.map(e=>+e.count),labels:t,colors:this.constructor.palette,legend:{position:"bottom",fontSize:"12px",fontFamily:"Inter, Helvetica, sans-serif",itemMargin:{horizontal:6,vertical:3},markers:{width:10,height:10,radius:3}},dataLabels:{enabled:!0,formatter:e=>`${Math.round(e)}%`,style:{fontSize:"11px",fontWeight:600},dropShadow:{enabled:!1}},plotOptions:{pie:{donut:{size:"60%",labels:{show:!0,total:{show:!0,label:"Total",fontSize:"13px",fontWeight:600,formatter:e=>e.globals.seriesTotals.reduce((e,t)=>e+t,0).toLocaleString("es-AR")}}}}},stroke:{width:2,colors:["#fff"]},tooltip:{y:{formatter:e=>`${e.toLocaleString("es-AR")} noticias`}}};this.element.innerHTML="",this.chart=new s.A(this.element,a),this.chart.render()}).catch(()=>{this.element.innerHTML='\n          <div class="d-flex flex-column align-items-center justify-content-center py-5 text-muted">\n            <i class="bi bi-exclamation-circle fs-3 mb-2"></i>\n            <span class="small">No se pudieron cargar los datos.</span>\n          </div>'})}}},8872(e,t,a){var n=a(6518),s=a(2652),i=a(9306),o=a(8551),l=a(1767),r=TypeError;n({target:"Iterator",proto:!0,real:!0},{reduce:function(e){o(this),i(e);var t=l(this),a=arguments.length<2,n=a?void 0:arguments[1],c=0;if(s(t,function(t){a?(a=!1,n=t):n=e(n,t,c),c++},{IS_RECORD:!0}),a)throw new r("Reduce of empty iterator with no initial value");return n}})}}]);

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.