1import{B as e,H as t,I as n,ct as r,m as i}from"./D26NMIVi.js";import{s as a}from"./Sot29YnJ.js";function o(e,t=4e3){let n=()=>{`requestIdleCallback`in window?a(e,{timeout:t}):setTimeout(e,250)};document.readyState===`complete`?n():window.addEventListener(`load`,n,{once:!0})}var s=[`scroll`,`wheel`,`pointerdown`,`pointermove`,`touchstart`,`keydown`],c=!1,l=!1,u=[];function d(){if(c||l||typeof window>`u`)return;l=!0;let e=()=>{if(c)return;c=!0;for(let t of s)window.removeEventListener(t,e,!0);let t=u.splice(0);for(let e of t)e()};for(let t of s)window.addEventListener(t,e,{capture:!0,passive:!0})}d();function f(e,t=4e3){o(()=>{if(c)return e();u.push(e),d()},t)}var p={__name:`MiniChart`,props:{symbol:{type:String,required:!0},theme:{type:String,default:`light`},height:{type:[String,Number],default:220},width:{type:[String,Number],default:`100%`},dateRange:{type:String,default:`1D`}},setup(a){let o=a,s=`mini-chart-widget-${Math.random().toString(36).substr(2,9)}`,c=r(null),l;function u(){let e=document.createElement(`script`);e.src=`https://s3.tradingview.com/external-embedding/embed-widget-mini-symbol-overview.js`,e.async=!0,e.innerHTML=JSON.stringify({symbol:o.symbol,width:o.width,height:o.height,locale:`de`,dateRange:`12M`,colorTheme:o.theme,isTransparent:!1,autosize:o.width===`100%`,chartType:`area`}),c.value?.appendChild(e)}return e(()=>{c.value&&(l=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(f(u),l.disconnect())},{rootMargin:`300px 0px`}),l.observe(c.value))}),n(()=>l?.disconnect()),(e,n)=>(t(),i(`div`,{ref_key:`rootEl`,ref:c,id:s},null,512))}};export{f as n,p as t};
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.