PageSourceSearch

https://musaffa.com/chunk-CRC3F4PG.js

js musaffa.com collected 2026-09-24 09:12:56 UTC 2,159 bytes, 1 lines download raw bytes

1import{Ga as a,Ic as l,Nb as m,Ub as f,Wc as y,Xc as w,Ya as d,Yc as g,a as h,ra as u,wa as p}from"./chunk-H5RMQNTW.js";import"./chunk-EU2KAMEK.js";import"./chunk-YNC7RVHT.js";var C=["host"],E=(()=>{class n{constructor(){this.environmentInjector=u(p),this.outputSubscriptions=new h,this.destroyed=!1,this.isMobile=!1,this.showTradingView=!1,this.symbol="",this.ticker="",this.hasData=new a,this.getPrice=new a}ngAfterViewInit(){this.loadChart()}ngOnChanges(t){if(t.showTradingView&&!t.showTradingView.firstChange&&this.componentRef){this.destroyChart(),this.loadChart();return}this.updateInputs()}ngOnDestroy(){this.destroyed=!0,this.destroyChart()}async loadChart(){let t=this.showTradingView,s=await(t?import("./chunk-RDRR4EW6.js").then(({TradingViewComponent:i})=>i):import("./chunk-KCR64B7Q.js").then(({TradingChartComponent:i})=>i));if(this.destroyed||t!==this.showTradingView)return;let o=s,c=this.host.createComponent(o,{environmentInjector:this.environmentInjector});this.componentRef=c;let r=c.instance;r.hasData&&this.outputSubscriptions.add(r.hasData.subscribe(i=>this.hasData.emit(i))),r.getPrice&&this.outputSubscriptions.add(r.getPrice.subscribe(i=>this.getPrice.emit(i))),this.updateInputs()}updateInputs(){this.componentRef&&(this.showTradingView?(this.componentRef.setInput("isMobile",this.isMobile),this.componentRef.setInput("symbol",this.symbol)):(this.componentRef.setInput("ticker",this.ticker),this.componentRef.setInput("currency",this.currency)))}destroyChart(){this.outputSubscriptions.unsubscribe(),this.outputSubscriptions=new h,this.componentRef?.destroy(),this.host?.clear(),this.componentRef=void 0}static{this.\u0275fac=function(e){return new(e||n)}}static{this.\u0275cmp=f({type:n,selectors:[["app-deferred-etf-chart"]],viewQuery:function(e,s){if(e&1&&y(C,7,m),e&2){let o;w(o=g())&&(s.host=o.first)}},inputs:{currency:"currency",isMobile:"isMobile",showTradingView:"showTradingView",symbol:"symbol",ticker:"ticker"},outputs:{hasData:"hasData",getPrice:"getPrice"},features:[d],decls:2,vars:0,consts:[["host",""]],template:function(e,s){e&1&&l(0,null,0)},encapsulation:2})}}return n})();export{E as DeferredEtfChartComponent};

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.