1import{a,b as l}from"./chunk-FEKBZ6MX.js";import{c as n}from"./chunk-3HNU7EMR.js";import"./chunk-ZANRA25L.js";import"./chunk-MN6ULYMF.js";import{a as d}from"./chunk-TUN3EOFG.js";import"./chunk-YOI4KDGN.js";import{t as s}from"./chunk-O2BB4VPE.js";s();var o=class extends d{constructor(t,e,i={}){super(t,e,i)}getURLWidget(){return"https://s3.tradingview.com/tv.js"}load(){this._prepareSymbol(),this._composeHTML()}_composeHTML(){let t="tradingiew_382c4_".concat(this._symbolCompany),e={symbols:[[this._id.split(":")[0],this._id]],chartOnly:!1,width:"100%",height:"300",customer:"elespanolcom",locale:"es",colorTheme:"light",gridLineColor:"#F0F3FA",trendLineColor:"rgba(101, 101, 101, 1)",fontColor:"#787B86",underLineColor:"rgba(182, 182, 182, 0.29)",isTransparent:!0,autosize:!1,container_id:t},i=Object.assign(e,this._extraParams),r=new l;window.TrandingView?this._printContent(this._getTemplateHTML(i,t)):(n(r,a.ON_IO_FINISH,()=>{this._printContent(this._getTemplateHTML(i,t))},this),r.load(this.getURLWidget()))}_getTemplateHTML(t,e){return"<div id=".concat(e,'></div>\n <div class="tradingview-widget-copyright"><a href="https://es.tradingview.com/symbols/').concat(this._symbolNormalized,'/" rel="noopener" target="_blank"><span class="blue-text">').concat(this._symbolCompany,' Cotizaciones</span></a> por TradingView</div>\n <script type="text/javascript">\n \n new TradingView.MediumWidget(\n ').concat(JSON.stringify(t),"\n )\n \n <\/script>")}};export{o as default};
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.