1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0d02e-bd7e-75f1-9d73-4ab531769b75")}catch(e){}}();import{a as ai,b as si}from"./chunk-VH3XYTU4.js";import{a as Et,b as ci,c as It,d as li,e as pi,f as gi}from"./chunk-LUJOYZ7V.js";import"./chunk-RY7MEGW5.js";import{a as ri}from"./chunk-YKIVWZP7.js";import{a as Je,b as Ke,d as Xe,e as Ze,f as ti,g as ei,h as ii,i as ni}from"./chunk-25JVVGQL.js";import{c as oi}from"./chunk-JVOTGJCJ.js";import"./chunk-7ARIBDDV.js";import"./chunk-KMF4KGQD.js";import"./chunk-3FX7S5PL.js";import{$a as Ne,M as ze,N as Pt,P as Ot,Qa as Fe,R as De,S as Ee,V as Ie,Y as $e,Z as je,aa as vt,db as He,ea as Tt,eb as Ge,fb as Ue,gb as Qe,ha as Ae,ia as Ve,ja as Be,lb as qe,ra as Dt,w as Oe,ya as Le,za as We,zb as Ye}from"./chunk-FEZGUWWB.js";import{a as Mt,m as ve,v as Te,w as Re,x as zt,y as Rt}from"./chunk-2TRQBJF6.js";import"./chunk-TB4AP4ZN.js";import{e as ke,j as Me}from"./chunk-IT3Z7C26.js";import{j as Pe}from"./chunk-HKTIGB6S.js";import"./chunk-EHQB5OA5.js";import{k as Se}from"./chunk-OQTLGTWY.js";import{c as we}from"./chunk-D7BKBA37.js";import"./chunk-BWXPOGYY.js";import"./chunk-MRXXE4GK.js";import"./chunk-CWJDLBMJ.js";import"./chunk-XSYVJ57M.js";import"./chunk-IRAUIRH5.js";import"./chunk-3S6XJ53G.js";import"./chunk-KV2WK5P3.js";import"./chunk-S43MJC6G.js";import"./chunk-CQTV66PB.js";import"./chunk-3LM2FQ7E.js";import"./chunk-5ETPMFZR.js";import{c as ot}from"./chunk-DHLIZG3S.js";import{B as pe,C as tt,D as kt,F as et,G as de,I as be,Jc as U,L as he,Lc as it,O as ct,P as fe,U as _e,Uc as nt,V as xe,W as ue,Wc as St,X as Ce,Y as Vt,vd as E,wd as Bt,yd as ye}from"./chunk-EEDLHDRX.js";import{Eb as At,Gf as wt,Ib as te,Jb as ee,Kb as ie,Lb as ne,Q as Xt,Re as ut,Sb as W,Se as Ct,Te as yt,Th as k,Vb as ft,Vc as _t,Vh as C,Yd as xt,a as Ei,lb as dt,ld as oe,md as ae,nd as se,ra as Zt,rb as Z,t as Jt,tg as le,u as mt,v as Kt,ve as re,wb as H,yb as G,ye as ce}from"./chunk-RRAO5YYC.js";import{$ as w,Ad as ht,B as Ut,Ba as p,Db as K,Fa as Y,Ga as O,Ha as v,L as s,Ma as N,Md as ge,Na as f,Nd as me,Pa as c,Qa as J,Qd as rt,R as b,Ra as Qt,Sb as j,Tb as qt,Ub as Yt,V as z,W as L,_b as D,e as B,eb as P,ic as X,m,mb as _,n as d,na as r,nb as x,oa as o,pa as a,qa as h,t as R,ua as I,va as $,xa as S,yd as bt,z as Gt,za as g}from"./chunk-MGWJEQIP.js";import{$b as M,Ca as Ht,I as Ft,Sa as q,ia as Nt,kb as st,o as at,pa as A}from"./chunk-IQNHE7HV.js";import"./chunk-XONARSLP.js";import{i as Di}from"./chunk-ALKJ4AUH.js";var gt=Di(Ei());var Wi=()=>({top:!0}),mi=()=>["indicatorSet.viewMany"],di=()=>["portfolio.viewMany"],bi=()=>["strategy.viewMany"],Fi=()=>["strategy.create"],Ni=()=>["user.viewDojiScreeners"],Hi=()=>["user.featureBetaTester"];function Gi(n,u){if(n&1){let t=S();o(0,"a",19),g("click",function(){m(t);let e=p(2);return d(e.onSelectWorkspace(e.workspaces.Display))}),o(1,"mat-icon",6),c(2,"settings_input_composite"),a(),o(3,"span",7),c(4,"Indicators"),a()()}if(n&2){let t=p(2);f("active",t.displayWorkspaceActive)}}function Ui(n,u){if(n&1){let t=S();o(0,"a",20),g("click",function(){m(t);let e=p(2);return d(e.onSelectWorkspace(e.workspaces.TradeJournal))}),o(1,"mat-icon",6),c(2,"assignment"),a(),o(3,"span",7),c(4,"Journal"),a()()}if(n&2){let t=p(2);f("active",t.tradeJournalWorkspaceActive)}}function Qi(n,u){if(n&1){let t=S();o(0,"div",21)(1,"ws-strategies-toolbar",22),_(2,"async"),g("toggleSidenav",function(){m(t);let e=p(2);return d(e.onToggleStrategiesSidenav())})("toggleStrategyStats",function(){m(t);let e=p(2);return d(e.onToggleStrategyScanStats())}),a(),o(3,"mat-drawer-container",23)(4,"mat-drawer",24),_(5,"async"),_(6,"async"),_(7,"async"),_(8,"async"),g("openedChange",function(e){m(t);let l=p(2);return d(l.showStrategiesSidenav$.next(e))}),h(9,"ws-strategies-sidenav"),a(),o(10,"mat-drawer-content",25)(11,"ws-strategies",26),_(12,"async"),g("openStats",function(){m(t);let e=p(2);return d(e.onOpenStrategyScanStats())}),a()()()()}if(n&2){let t=p().ngIf,i=p();f("hidden",t!==i.workspaces.Scan),s(),r("isStrategyStatsOpen",x(2,10,i.isStrategyScanStatsOpen$)),s(3),r("mode",x(5,12,i.sidenavMode$))("position",x(6,14,i.filtersSidenavPosition$))("disableClose",x(7,16,i.sidenavDisableClose$))("opened",x(8,18,i.showStrategiesSidenav$)),s(7),r("fetchAll",!0)("fetch",!0)("isStrategyStatsOpen",x(12,20,i.isStrategyScanStatsOpen$))}}function qi(n,u){n&1&&h(0,"ws-discover-tool")}function Yi(n,u){if(n&1&&(o(0,"div",27),w(1,qi,1,0,"ws-discover-tool",0),a()),n&2){let t=p().ngIf,i=p();f("hidden",t!==i.workspaces.Discover),s(),r("ngIf",i.loadInitCheck(i.workspaces.Discover))}}function Ji(n,u){if(n&1&&(o(0,"div",27),h(1,"ws-strategy-backtest"),a()),n&2){let t=p().ngIf,i=p();f("hidden",t!==i.workspaces.Backtest)}}function Ki(n,u){n&1&&h(0,"ws-screener-table")}function Xi(n,u){if(n&1&&(o(0,"div",27),w(1,Ki,1,0,"ws-screener-table",0),a()),n&2){let t=p().ngIf,i=p();f("hidden",t!==i.workspaces.Screener),s(),r("ngIf",i.loadInitCheck(i.workspaces.Screener))}}
1function Zi(n,u){if(n&1&&(o(0,"div",21),h(1,"ws-strategy-portfolios"),a()),n&2){let t=p().ngIf,i=p();f("hidden",t!==i.workspaces.Portfolio)}}function tn(n,u){if(n&1&&(o(0,"div",27),h(1,"ws-strategy-display"),a()),n&2){let t=p().ngIf,i=p();f("hidden",t!==i.workspaces.Display)}}function en(n,u){n&1&&h(0,"ws-trade-journal-page")}function nn(n,u){if(n&1&&(o(0,"div",27),w(1,en,1,0,"ws-trade-journal-page",0),a()),n&2){let t=p().ngIf,i=p();f("hidden",t!==i.workspaces.TradeJournal),s(),r("ngIf",i.loadInitCheck(i.workspaces.TradeJournal))}}function on(n,u){if(n&1){let t=S();I(0),o(1,"div",1),g("resizing",function(e){m(t);let l=p();return d(l.onResizingTabs(e))})("resizeEnd",function(e){m(t);let l=p();return d(l.onResizeTabs(e))}),h(2,"div",2),o(3,"div",3)(4,"mat-nav-list",4)(5,"a",5),g("click",function(){m(t);let e=p();return d(e.onSelectWorkspace(e.workspaces.Discover))}),o(6,"mat-icon",6),c(7,"whatshot"),a(),o(8,"span",7),c(9,"Discover"),a()(),o(10,"a",8),g("click",function(){m(t);let e=p();return d(e.onSelectWorkspace(e.workspaces.Scan))}),o(11,"mat-icon",9),c(12,"manage_search"),a(),o(13,"span",7),c(14,"Scan"),a()(),o(15,"a",10),g("click",function(){m(t);let e=p();return d(e.onSelectWorkspace(e.workspaces.Backtest))}),o(16,"mat-icon",6),c(17,"build"),a(),o(18,"span",7),c(19,"Smart Studies"),a()(),o(20,"a",11),g("click",function(){m(t);let e=p();return d(e.onSelectWorkspace(e.workspaces.Screener))}),o(21,"mat-icon",9),c(22,"troubleshoot"),a(),o(23,"span",7),c(24,"Doji Screener"),a()(),w(25,Gi,5,2,"a",12)(26,Ui,5,2,"a",13),a(),o(27,"section",14)(28,"button",15),g("click",function(){m(t);let e=p();return d(e.onMinimizeTabs())}),o(29,"mat-icon",6),c(30),a()(),o(31,"button",16),g("click",function(){m(t);let e=p();return d(e.onFullScreenTabs())}),o(32,"mat-icon",6),c(33),a()()()(),w(34,Qi,13,22,"div",17)(35,Yi,2,3,"div",18)(36,Ji,2,2,"div",18)(37,Xi,2,3,"div",18)(38,Zi,2,2,"div",17)(39,tn,2,2,"div",18)(40,nn,2,3,"div",18),a(),$()}if(n&2){let t=p();s(),N("height",t.tabsResizeEdges),r("enableGhostResize",!1),s(),r("resizeEdges",P(23,Wi)),s(3),f("active",t.discoverWorkspaceActive),s(5),f("active",t.scanWorkspaceActive),s(5),f("active",t.backtestWorkspaceActive),s(5),f("active",t.screenerWorkspaceActive),s(5),r("wsGate",P(24,mi)),s(),r("wsGate",P(25,di)),s(4),J(t.minimizedStateIcon),s(3),J(t.fullscreenStateIcon),s(),r("wsGate",P(26,bi)),s(),r("wsGate",P(27,bi)),s(),r("wsGate",P(28,Fi)),s(),r("wsGate",P(29,Ni)),s(),r("wsGate",P(30,Hi)),s(),r("wsGate",P(31,mi)),s(),r("wsGate",P(32,di))}}var lt="48px",an="400px";var _i=(()=>{class n{constructor(t,i,e,l,T,jt){this.appService=t,this.localStorage=i,this.strategyService=e,this.strategyOptionsService=l,this.userService=T,this.dialog=jt,this.loadInitDataMap={},this.tabsResizeStart=new R,this.tabsResized=new R,this.showStrategiesSidenav$=this.strategyService.showSidenav$,this.filtersSidenavPosition$=this.strategyService.filtersSidenavPosition$,this.sidenavMode$=this.appService.sidenavMode$,this.sidenavDisableClose$=this.appService.disableSidenavClose$,this.openTabs$=this.appService.openStrategyTabs$.pipe(A(F=>F),A(()=>this.minimizedStateActive),M(()=>{this.setHeight(mt(this.previousHeight,lt)),this.setState(k.default)})),this.isStrategyScanStatsOpen$=new at(!1),this.strategyScanSelectedStrategyId$=this.strategyService.strategyScanSelectedStrategyId$,this.selectedStrategyScan$=this.strategyService.selectedStrategyScan$,this.workspaces=C,this.indexes={[C.Discover]:0,[C.Scan]:1,[C.Backtest]:2,[C.Display]:3,[C.TradeJournal]:4,[C.Screener]:5},this.workspace$=this.strategyService.workspace$.pipe(M(F=>this.workspace=F),M(F=>this.loadInitDataMap[F]={loaded:!0})),this.defaultHeight=an,this.height=Kt(this.localStorage.get("tabs-height",this.defaultHeight),lt),this.previousHeight=this.defaultHeight,this.minHeight=lt,this.fullscreenClass=this.fullscreenStateActive,this.defaultState=k.default,this.minimizedState=k.minimized,this.state=this.getInitialState(),this.previousState=k.default,this.subscriptions=[this.openTabs$.subscribe()],this.user=this.userService.authenticated,this.minHeight.indexOf("px")<0&&console.error("Strategy tabs min height should be represented in pixels."),this.localStorage.get("strategy-tabs:state",!1)===k.minimized&&(this.setHeight(this.minHeight),this.setState(k.minimized)),this.showStats(this.workspace)}get defaultStateActive(){return this.state===k.default}get minimizedStateActive(){return this.state===k.minimized}get fullscreenStateActive(){return this.state===k.fullscreen}get minimizedStateIcon(){return this.minimizedStateActive?"keyboard_arrow_up":"minimize"}get fullscreenStateIcon(){return this.fullscreenStateActive?"fullscreen_exit":"fullscreen"}get tabsResizeEdges(){return{bottom:!1,right:!1,left:!1,top:!this.fullscreenStateActive}}get scanWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Scan}get portfolioWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Portfolio}get backtestWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Backtest}get displayWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Display}get optionsWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Options}get settingsWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Settings}get discoverWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Discover}get tradeJournalWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.TradeJournal}get screenerWorkspaceActive(){return!this.minimizedStateActive&&this.workspace===C.Screener}
1ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}getWorkspaceIndex(t){return this.indexes[t]}onWorkspaceChange(t){let i=Object.values(this.indexes),l=Object.keys(this.indexes)[i.indexOf(t.index)];this.onSelectWorkspace(l)}get isFreeUser(){return Zt(this.user)}onSelectWorkspace(t){if(this.isFreeUser){this.showSunsetDialog(t);return}this.minimizedStateActive&&(this.setHeight(mt(this.previousHeight,lt)),this.setState(k.default)),this.strategyService.setWorkspace(t),this.showStats(t),t===C.Scan&&this.strategyService.resfreshStrategyPage()}showSunsetDialog(t){let i={[C.Discover]:"Discover Strategies",[C.Scan]:"Strategy Scanner",[C.Backtest]:"Smart Studies",[C.Screener]:"Doji Screener",[C.Display]:"Indicators",[C.TradeJournal]:"Trade Journal",[C.Portfolio]:"Portfolios"};this.dialog.open(Je,{panelClass:["classic-sunset-dialog"],autoFocus:!1,data:{featureName:i[t]||"This tool"}})}showStats(t){switch(t){case C.Options:this.strategyService.isActive(!1),this.strategyOptionsService.isActive(!0);break;case C.Backtest:this.strategyService.isActive(!0),this.strategyOptionsService.isActive(!1);break}}onToggleStrategiesSidenav(){this.strategyService.showSidenav$.next(!this.strategyService.showSidenav$.getValue())}onResizingTabs(t){let i=Jt(this.minHeight);t.rectangle.height>=i+56?(this.setHeight(`${t.rectangle.height}px`),this.setState(k.default)):(this.setHeight(this.minHeight),this.setState(k.minimized))}onResizeTabs(t){this.onResizingTabs(t),this.localStorage.set("tabs-height",this.height)}onMinimizeTabs(){this.fullscreenClass=!1,this.minimizedStateActive?(this.setHeight(mt(this.previousHeight,lt)),this.setState(k.default)):(this.state===k.default&&(this.previousHeight=this.height),this.setHeight(this.minHeight),this.setState(k.minimized))}onFullScreenTabs(){this.fullscreenStateActive?(this.fullscreenClass=!1,this.setHeight(this.previousHeight),this.setState(k.default)):(this.fullscreenClass=!0,this.previousState=this.state,this.setState(k.fullscreen))}getInitialState(){let t=this.localStorage.get("strategy-tabs:state",this.minimizedState);return t=Object.values(k).indexOf(t)!==-1?t:this.minimizedState,t===this.minimizedState?(this.setHeight(this.minHeight),this.setState(k.minimized)):t===k.fullscreen&&(this.fullscreenClass=!0),t}setState(t){this.state=t,this.localStorage.set("strategy-tabs:state",t)}setHeight(t){this.tabsResizeStart.emit(t),this.height=t,this.tabsResized.emit(t)}loadInitCheck(t){return this.loadInitDataMap[t]&&this.loadInitDataMap[t].loaded}onToggleStrategyScanStats(){let t=this.isStrategyScanStatsOpen$.getValue();this.isStrategyScanStatsOpen$.next(!t)}onOpenStrategyScanStats(){this.isStrategyScanStatsOpen$.getValue()||this.isStrategyScanStatsOpen$.next(!0)}static{this.\u0275fac=function(i){return new(i||n)(b(U),b(dt),b(E),b(ye),b(it),b(xt))}}static{this.\u0275cmp=z({type:n,selectors:[["ws-strategy-tabs"]],hostVars:4,hostBindings:function(i,e){i&2&&(N("height",e.height),f("fullscreen",e.fullscreenClass))},outputs:{tabsResizeStart:"tabsResizeStart",tabsResized:"tabsResized"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["id","tabs","mwlResizable","",1,"ws-strategy-tabs",3,"resizing","resizeEnd","enableGhostResize"],["mwlResizeHandle","",1,"resize-handle-strategy-tabs",3,"resizeEdges"],[1,"ws-strategy-tabs-header"],[1,"ws-strategy-tabs-nav"],["color","primary","mat-list-item","","aria-label","Discover user strategies","wsTooltip","Subscribed Strategies","wsTooltipSlug","discover-page","wsTooltipPosition","force-above","wsDataLayerType","navigation","wsDataLayerEvent","discover_tool_clicked",3,"click"],["color","primary"],[1,"label"],["color","primary","mat-list-item","","aria-label","Scan for strategies on any stock","wsTooltip","Scan for strategies on any stock","wsTooltipSlug","scan-tool","wsTooltipPosition","above","wsDataLayerType","navigation","wsDataLayerEvent","scan_tool_clicked",3,"click"],["color","primary",1,"xlarge"],["mat-list-item","","aria-label","Backtest a strategy for any stock","wsTooltip","Backtest a strategy for any stock","wsTooltipSlug","backtest-stocks","wsTooltipPosition","above","wsDataLayerType","navigation","wsDataLayerEvent","backtest_tool_clicked",3,"click"],["color","primary","mat-list-item","","aria-label","Scan for dojis","wsTooltip","Scan for dojis","wsTooltipSlug","screener-tool","wsTooltipPosition","above","wsDataLayerType","navigation","wsDataLayerEvent","screener_tool_clicked",3,"click"],["mat-list-item","","aria-label","Add indicators to the chart","wsTooltip","Add indicators to the chart","wsTooltipSlug","chart
1-indicators","wsTooltipPosition","above","wsDataLayerType","navigation","wsDataLayerEvent","indicators_tool_clicked",3,"active","click",4,"wsGate"],["color","primary","mat-list-item","","aria-label","Open Trade Journal","wsTooltip","Open Trade Journal","wsTooltipSlug","trade-journal","wsTooltipPosition","above","wsDataLayerType","navigation","wsDataLayerEvent","journal_tool_clicked",3,"active","click",4,"wsGate"],[1,"right"],["mat-icon-button","","aria-label","Minimize strategy tabs","wsTooltip","Minimize strategy tabs",3,"click"],["mat-icon-button","","aria-label","Toggle fullscreen for the strategy tabs","wsTooltip","Toggle fullscreen for the strategy tabs",3,"click"],["class","ws-strategy-tab ws-strategy-tab-scan",3,"hidden",4,"wsGate"],["class","ws-strategy-tab",3,"hidden",4,"wsGate"],["mat-list-item","","aria-label","Add indicators to the chart","wsTooltip","Add indicators to the chart","wsTooltipSlug","chart-indicators","wsTooltipPosition","above","wsDataLayerType","navigation","wsDataLayerEvent","indicators_tool_clicked",3,"click"],["color","primary","mat-list-item","","aria-label","Open Trade Journal","wsTooltip","Open Trade Journal","wsTooltipSlug","trade-journal","wsTooltipPosition","above","wsDataLayerType","navigation","wsDataLayerEvent","journal_tool_clicked",3,"click"],[1,"ws-strategy-tab","ws-strategy-tab-scan"],[3,"toggleSidenav","toggleStrategyStats","isStrategyStatsOpen"],["autosize","",1,"ws-strategy-tab-scan-container"],[1,"ws-strategy-tab-scan-sidenav",3,"openedChange","mode","position","disableClose","opened"],[1,"ws-strategy-tab-scan-content"],[1,"vertical",3,"openStats","fetchAll","fetch","isStrategyStatsOpen"],[1,"ws-strategy-tab"]],template:function(i,e){i&1&&(w(0,on,41,33,"ng-container",0),_(1,"async")),i&2&&r("ngIf",x(1,1,e.workspace$))},dependencies:[tt,j,W,ce,re,bt,Ct,yt,ut,ot,ke,Ot,vt,Tt,Ae,Ve,ai,Ue,He,Et,It,Ne,D],styles:['[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .ws-strategy-tabs[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column;position:relative}[_nghost-%COMP%] .ws-strategy-tabs-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;margin-top:4px;margin-bottom:1px;height:48px;-webkit-box-flex:0;-webkit-flex:0 0 48px;-moz-box-flex:0;-moz-flex:0 0 48px;-ms-flex:0 0 48px;flex:0 0 48px}[_nghost-%COMP%] .ws-strategy-tabs-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:16px;-webkit-align-self:center;-moz-align-self:center;-ms-flex-item-align:center;align-self:center}[_nghost-%COMP%] .ws-strategy-tabs-header[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;-moz-justify-content:flex-end;justify-content:flex-end}[_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%]{padding:0;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex}[_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding-left:8px;text-transform:uppercase;font-size:12px;font-weight:500;line-height:12px;font-family:Roboto,sans-serif;letter-spacing:normal}[_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{max-width:200px;height:48px;border-left:1px solid transparent;border-right:1px solid transparent;-webkit-transition:all .25s ease;-moz-transition:all .25s ease;-ms-transition:all .25s ease;-o-transition:all .25s ease;transition:all .25s ease;white-space:nowrap}[_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:20px;height:20px;font-size:20px}[_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-of-type{border-right:unset}[_nghost-%COMP%] ws-content[_ngcontent-%COMP%], [_nghost-%COMP%] .ws-strategy-tab[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .ws-strategy-tab-scan[_ngcontent-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%]{display:block;margin-bottom:1px;-webkit-box-flex:0;-webkit-flex:0 0 48px;-moz-box-flex:0;-moz-flex:0 0 48px;-ms-flex:0 0 48px;flex:0 0 48px}[_nghost-%COMP%] .ws-strategy-tab-scan-sidenav[_ngcontent-%COMP%], [_nghost-%COMP%] .ws-strategy-tab-scan-content[_ngcontent-%COMP%], [_nghost-%COMP%] .ws-strategy-tab-scan-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .ws-strategy-tab.hidden[_ngcontent-%COMP%]{display:none;visibility:hidden}.fullscreen[_nghost-%COMP%] .ws-strategy-tabs[_ngcontent-%COMP%]{position:absolute;inset:-1px 0 0;height:100%!important;z-index:99;background:#e0e0e0}.dark .fullscreen[_nghost-%COMP%] .ws-strategy-tabs[_ngcontent-%COMP%], .black .fullscreen[_nghost-%COMP%] .ws-strategy-tabs[_ngcontent-%COMP%]{background:#303030}.light [_nghost-%COMP%]{background:#e0e0e0}.light [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%], .light [_nghost-%COMP%] .ws-strategy-tabs-header[_ngcontent-%COMP%]{background:#fff}.light [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#05bc84;background:unset;box-sizing:border-box;border-bottom:2px solid #05bc84}.light [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#05bc84}.light [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon.xlarge[_ng
1content-%COMP%]{width:25px;height:28px;font-size:26px}.dark [_nghost-%COMP%]{background:#303030}.dark [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%], .dark [_nghost-%COMP%] .ws-strategy-tabs-header[_ngcontent-%COMP%]{background:#424242}.dark [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#05bc84;background:unset;box-sizing:border-box;border-bottom:2px solid #05bc84}.dark [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#05bc84}.dark [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon.xlarge[_ngcontent-%COMP%]{width:25px;height:28px;font-size:26px}.black [_nghost-%COMP%]{background:#212121}.black [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%], .black [_nghost-%COMP%] .ws-strategy-tabs-header[_ngcontent-%COMP%]{background:#000}.black [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#05bc84;background:unset;box-sizing:border-box;border-bottom:2px solid #05bc84}.black [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#05bc84}.black [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon.xlarge[_ng
1content-%COMP%]{width:25px;height:28px;font-size:26px}.charcoal [_nghost-%COMP%]{background:#26252f}.charcoal [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%], .charcoal [_nghost-%COMP%] .ws-strategy-tabs-header[_ngcontent-%COMP%]{background:#201f27}.charcoal [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#05bc84;background:unset;box-sizing:border-box;border-bottom:2px solid #05bc84}.charcoal [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#05bc84}.charcoal [_nghost-%COMP%] .ws-strategy-tabs-nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon.xlarge[_ngcontent-%COMP%]{width:25px;height:28px;font-size:26px}.resize-handle-strategy-tabs[_ngcontent-%COMP%]{position:absolute;top:-5px;left:0;right:0;height:12px;cursor:ns-resize;z-index:10;display:flex;align-items:center;justify-content:center;background:transparent;transition:background .18s ease}.resize-handle-strategy-tabs[_ngcontent-%COMP%]:before{content:"";display:block;border-radius:2px;background:var(--wsio-app-black-4, rgba(255, 255, 255, .22));opacity:0;pointer-events:none;transition:opacity .18s ease,background .18s ease,width .18s ease,height .18s ease;width:48px;height:3px}.resize-handle-strategy-tabs[_ngcontent-%COMP%]:hover{background:#6fcf9729}.resize-handle-strategy-tabs[_ngcontent-%COMP%]:hover:before{opacity:1;width:72px;height:4px}.resize-handle-strategy-tabs[_ngcontent-%COMP%]:active{background:#6fcf9747}.resize-handle-strategy-tabs[_ngcontent-%COMP%]:active:before{background:var(--color-positive, #6fcf97);opacity:1}'],changeDetection:0})}}return n})();var ln=["strategySelectedHeader"];function pn(n,u){if(n&1){let t=S();o(0,"button",9),g("click",function(e){m(t);let l=p();return d(l.onCloseStrategy(e))}),o(1,"mat-icon"),c(2,"close"),a()()}n&2&&r("@fadeIn",void 0)}function gn(n,u){if(n&1&&(o(0,"section",10),h(1,"ws-strategy-follow-button",11),_(2,"async"),a()),n&2){let t=p();r("@slideToRight",void 0),s(),r("strategy",x(2,2,t.strategy$))}}function mn(n,u){if(n&1&&(o(0,"mat-toolbar",12),h(1,"ws-strategy-follow-button",13),_(2,"async"),a()),n&2){let t=p();s(),r("@slideFromDown",void 0)("strategy",x(2,2,t.strategy$))}}var $t=(()=>{class n{constructor(t,i){this.cdr=t,this.strategyService=i,this.open=new R,this.close=new R,this.strategyDisplayNameMarginLeft=16,this.strategy$=this.strategyService.strategy$,this.strategyDisplayName$=this.strategyService.displayName$,this.profitablityChart$=this.strategyService.profitablityChart$,this.seasonalityChart$=this.strategyService.seasonalityChart$}ngOnChanges(t){if(t.opened)if(t.opened.currentValue){let i=this.strategySelectedHeader.nativeElement.offsetWidth,e=this.strategyNameComponent.elementRef.nativeElement.offsetWidth;this.strategyDisplayNameMarginLeft=i/2-e/2}else this.strategyDisplayNameMarginLeft=16}onOpenStrategy(t){this.open.emit(),t.stopPropagation()}onCloseStrategy(t){this.close.emit(t),t.stopPropagation()}static{this.\u0275fac=function(i){return new(i||n)(b(K),b(E))}}static{this.\u0275cmp=z({type:n,selectors:[["ws-mobile-strategy-selected"]],viewQuery:function(i,e){if(i&1&&Y(ln,7)(Mt,7)(Pt,7)(et,7),i&2){let l;O(l=v())&&(e.strategySelectedHeader=l.first),O(l=v())&&(e.strategyNameComponent=l.first),O(l=v())&&(e.strategySelectedComponent=l.first),O(l=v())&&(e.strategySelectedContent=l.first)}},inputs:{opened:"opened"},outputs:{open:"open",close:"close"},standalone:!1,features:[Gt],decls:12,vars:16,consts:[["strategySelectedHeader",""],[1,"strategy-selected-header"],[3,"click"],[1,"inherit-width",3,"name","edit","editDisabled"],["mat-icon-button","","color","primary","class","strategy-selected-close",3,"click",4,"ngIf"],["class","right",4,"ngIf"],[1,"strategy-selected-content"],[3,"profitablityChart","seasonalityChart"],["class","strategy-selected-footer",4,"ngIf"],["mat-icon-button","","color","primary",1,"strategy-selected-close",3,"click"],[1,"right"],["source","backtester",3,"strategy"],[1,"strategy-selected-footer"],["source","backtester",1,"inherit-width",3,"strategy"]],template:function(i,e){i&1&&(o(0,"section",1,0)(2,"mat-toolbar",2),g("click",function(T){return e.onOpenStrategy(T)}),h(3,"ws-strategy-name",3),_(4,"async"),w(5,pn,3,1,"button",4)(6,gn,3,4,"section",5),a()(),o(7,"ws-content",6),h(8,"ws-strategy-selected",7),_(9,"async"),_(10,"async"),a(),w(11,mn,3,4,"mat-toolbar",8)),i&2&&(s(3),N("margin-left",e.strategyDisplayNameMarginLeft,"px"),r("name",x(4,10,e.strategyDisplayName$))("edit",!1)("editDisabled",!0),s(2),r("ngIf",e.opened),s(),r("ngIf",!e.opened),s(2),r("profitablityChart",x(9,12,e.profitablityChart$))("seasonalityChart",x(10,14,e.seasonalityChart$)),s(3),r("ngIf",e.opened))},dependencies:[j,W,bt,ft,et,Mt,Pt,D],styles:["[_nghost-%COMP%]{height:100%;display:block}[_nghost-%COMP%] .strategy-selected-header[_ngcontent-%COMP%] mat-toolbar[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%] .strategy-selected-header[_ngcontent-%COMP%] .strategy-selected-stats[_ngcontent-%COMP%], [_nghost-%COMP%] .strategy-selected-header[_ngcontent-%COMP%] .strategy-selected-more[_ngcontent-%COMP%]{left:16px;position:absolute}[_nghost-%COMP%] .strategy-selected-header[_ngcontent-%COMP%] .strategy-selected-close[_ngcontent-%COMP%]{right:16px;position:absolute}[_nghost-%COMP%] .strategy-selected-header[_ngcontent-%COMP%] ws-strategy-name[_ng
1content-%COMP%]{position:absolute;margin-left:16px;width:80%;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center;-webkit-transition:margin-left .35s ease;-moz-transition:margin-left .35s ease;-ms-transition:margin-left .35s ease;-o-transition:margin-left .35s ease;transition:margin-left .35s ease}[_nghost-%COMP%] .strategy-selected-header[_ngcontent-%COMP%] ws-strategy-follow-button[_ngcontent-%COMP%]{margin-right:16px}[_nghost-%COMP%] .strategy-selected-content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;height:calc(100% - 96px)}[_nghost-%COMP%] .strategy-selected-footer[_ngcontent-%COMP%] ws-strategy-follow-button[_ngcontent-%COMP%]{width:100%}.light [_nghost-%COMP%]{background:#fff}.dark [_nghost-%COMP%]{background:#424242}.black [_nghost-%COMP%]{background:#000}.charcoal [_nghost-%COMP%]{background:#201f27}"],data:{animation:[Z("slideFromDown",[H(":enter",G(te)),H(":leave",G(ie))]),Z("slideToRight",[H(":leave",G(ne))]),Z("fadeIn",[H(":enter",G(At,{delay:2750}))])]},changeDetection:0})}}return n})();var bn=()=>["strategy.create"];function hn(n,u){if(n&1){let t=S();I(0),o(1,"section",1)(2,"span",2),c(3,"Strategy Settings"),a()(),o(4,"section",1)(5,"span",6),c(6," Display the strategy's trades on the chart "),a(),o(7,"mat-button-toggle-group",3),_(8,"async"),g("change",function(e){m(t);let l=p();return d(l.onVisualizeTradesChange(e))}),o(9,"mat-button-toggle",4),c(10,"On"),a(),o(11,"mat-button-toggle",4),c(12,"Off"),a()()(),o(13,"section",1)(14,"span",6),c(15," Display the strategy's indicators on chart "),a(),o(16,"mat-button-toggle-group",3),_(17,"async"),g("change",function(e){m(t);let l=p();return d(l.onShowSignalsChange(e))}),o(18,"mat-button-toggle",4),c(19,"On"),a(),o(20,"mat-button-toggle",4),c(21,"Off"),a()()(),o(22,"section",1)(23,"span",6),c(24," Display the strategy's profit line on the chart "),a(),o(25,"mat-button-toggle-group",3),_(26,"async"),g("change",function(e){m(t);let l=p();return d(l.onVisualizeTradeProfitsChange(e))}),o(27,"mat-button-toggle",4),c(28,"On"),a(),o(29,"mat-button-toggle",4),c(30,"Off"),a()()(),$()}if(n&2){let t=p();s(7),r("value",x(8,9,t.visualizingTrades$)),s(2),r("value",!0),s(2),r("value",!1),s(5),r("value",x(17,11,t.showSignals$)),s(2),r("value",!0),s(2),r("value",!1),s(5),r("value",x(26,13,t.visualizingTradeProfits$)),s(2),r("value",!0),s(2),r("value",!1)}}var xi=(()=>{class n{constructor(t,i,e){this.appService=t,this.chartService=i,this.strategyService=e,this.themes=Xt,this.theme$=this.appService.theme$,this.showSignals$=this.strategyService.showSignals$,this.visualizingTrades$=this.strategyService.visualizingTrades$,this.visualizingTradeProfits$=this.strategyService.visualizingTradeProfits$}ngOnInit(){}apply(){this.appService.adjustPalette({positive:"#00E676"})}apply2(){this.appService.adjustPalette({positive:"#1DE9B6"})}onSetAppTheme(t){this.appService.setTheme(t)}onShowSignalsChange(t){this.strategyService.showSignals(t.value)}onVisualizeTradesChange(t){this.strategyService.visualizeTrades(t.value)}onVisualizeTradeProfitsChange(t){this.strategyService.visualizeTradeProfits(t.value)}static{this.\u0275fac=function(i){return new(i||n)(b(U),b(St),b(E))}}static{this.\u0275cmp=z({type:n,selectors:[["ws-strategy-settings"]],standalone:!1,decls:18,vars:7,consts:[[1,"ws-strategy-settings"],[1,"form-control"],[1,"mat-subheading-3"],[1,"compact",3,"change","value"],[3,"value"],[4,"wsGate"],[1,"mat-body-1","indent"]],template:function(i,e){i&1&&(o(0,"ws-content",0)(1,"ws-form-group")(2,"section",1)(3,"span",2),c(4,"Theme"),a(),o(5,"mat-button-toggle-group",3),_(6,"async"),g("change",function(T){return e.onSetAppTheme(T.value)}),o(7,"mat-button-toggle",4),c(8,"Light"),a(),o(9,"mat-button-toggle",4),c(10,"Dark"),a()()()(),o(11,"ws-form-group")(12,"h3",2),c(13,"Chart Settings"),a(),o(14,"section",1)(15,"span",2),c(16,"Heads Up Display"),a()(),w(17,hn,31,15,"ng-container",5),a()()),i&2&&(s(5),r("value",x(6,4,e.theme$)),s(2),r("value",e.themes.light),s(2),r("value",e.themes.dark),s(8),r("wsGate",P(6,bn)))},dependencies:[tt,oe,ae,et,Pe,D],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .ws-strategy-settings[_ngcontent-%COMP%]{padding:16px;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%] mat-slider[_ngcontent-%COMP%], [_nghost-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] h3.mat-subheading-3[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] .form-control[_ngcontent-%COMP%]{margin:8px 0;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center}[_nghost-%COMP%] .form-control[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{margin:0;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] .form-control[_ngcontent-%COMP%] > span.indent[_ngcontent-%COMP%]{margin-left:12px}.light [_nghost-%COMP%] ws-content[_ngcontent-%COMP%]{background:#e0e0e0}.dark [_nghost-%COMP%] ws-content[_ngcontent-%COMP%]{background:#303030}.black [_nghost-%COMP%] ws-content[_ngcontent-%COMP%]{background:#212121}.charcoal [_nghost-%COMP%] ws-content[_ngcontent-%COMP%]{background:#26252f}"],changeDetection:0})}}return n})();var xn=["footer"],un=()=>["indicatorSet.viewMany"];function Cn(n,u){if(n&1){let t=S();
1o(0,"button",31),g("click",function(){m(t);let e=p();return d(e.onChangeTab(e.tabs.Display))}),o(1,"mat-icon"),c(2,"settings_input_composite"),a(),o(3,"span",13),c(4,"Indicators"),a()()}if(n&2){let t=p();f("active",t.tab===t.tabs.Display),r("color",t.tab===t.tabs.Display?"accent":"primary")("disableRipple",!0)}}function yn(n,u){if(n&1){let t=S();o(0,"div",32,0),g("panup",function(e){m(t);let l=p();return d(l.onPan(e))})("pandown",function(e){m(t);let l=p();return d(l.onPan(e))})("panend",function(e){m(t);let l=p();return d(l.onPanEnd(e))})("pancancel",function(e){m(t);let l=p();return d(l.onPanEnd(e))}),o(2,"ws-mobile-strategy-selected",33),g("open",function(){m(t);let e=p();return d(e.onOpenStrategy())})("close",function(){m(t);let e=p();return d(e.onCloseStrategy())}),a()()}if(n&2){let t=p();N("top",t.footerTop),f("animate",t.footerAnimate),s(2),r("opened",t.displayingStrategy)}}var ui=(function(n){return n.Chart="chart",n.Scan="scan",n.Display="display",n.Options="options",n.Backtest="backtest",n.Settings="settings",n})(ui||{}),Ci=(()=>{class n{constructor(t,i,e,l){this.cdr=t,this.elementRef=i,this.stockService=e,this.strategyService=l,this.close=new R,this.tabs=ui,this.tab=this.tabs.Chart,this.stock$=this.stockService.stock$,this.StockPriceDisplay=le,this.showStrategiesSidenav$=this.strategyService.showSidenav$,this.footerTopMax=0,this.footerAnimate=!1,this.footerVisibleHeight=56,this.displayingStrategy=!1,this.displayingOverlay=!1,this.subscriptions=[]}ngOnInit(){}ngAfterViewInit(){this.footerTop="auto",this.footerTopInitial="auto"}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}onBack(){this.close.emit()}onChangeTab(t){this.tab=t}onPan(t){if(this.displayingOverlay=!0,this.displayingStrategy){if(this.mobileStrategySelectedComponent&&this.mobileStrategySelectedComponent.strategySelectedContent&&t.deltaY>0&&!this.mobileStrategySelectedComponent.strategySelectedContent.scrollTop()){let i=this.footerTopMax+t.deltaY;this.footerAnimate=!1,this.footerTop=i+"px"}}else{let i=this.footerTopInitial+t.deltaY;this.footerAnimate=!1,this.footerTop=i+"px"}t.preventDefault()}onPanEnd(t){this.displayingStrategy?this.footerTop!=="auto"&&this.footerTopMax+32>+this.footerTop?(this.displayingOverlay=!1,this.footerAnimate=!0,this.footerTop=this.footerTopMax+"px"):this.onCloseStrategy():this.footerTop!=="auto"&&this.footerTopInitial!=="auto"&&+this.footerTop+32>+this.footerTopInitial?(this.displayingOverlay=!1,this.footerAnimate=!0,this.footerTop=this.footerTopInitial):this.onOpenStrategy()}onSelectStrategy(t){this.tab=this.tabs.Chart,this.strategyService.navigateToSignal(t.signal,t.stock,t.short)}onToggleStrategiesSidenav(){this.showStrategiesSidenav$.next(!this.showStrategiesSidenav$.getValue())}onSetStrategiesSidenav(t){this.showStrategiesSidenav$.next(t)}onOpenStrategy(t){this.displayingOverlay=!0,this.footerAnimate=!0,this.footerTop=this.footerTopMax+"px",setTimeout(()=>{this.displayingStrategy=!0,this.cdr.markForCheck()},200),t&&t.stopPropagation()}onCloseStrategy(t){this.displayingOverlay=!0,this.footerAnimate=!0,this.footerTop=this.footerTopInitial,this.displayingStrategy=!1,setTimeout(()=>{this.displayingOverlay=!1,this.cdr.markForCheck()},200),t&&t.stopPropagation()}static{this.\u0275fac=function(i){return new(i||n)(b(K),b(Ut),b(nt),b(E))}}static{this.\u0275cmp=z({type:n,selectors:[["ws-mobile-stock-tab"]],viewQuery:function(i,e){if(i&1&&Y($t,7)(xn,7),i&2){let l;O(l=v())&&(e.mobileStrategySelectedComponent=l.first),O(l=v())&&(e.footer=l.first)}},outputs:{close:"close"},standalone:!1,decls:58,vars:70,consts:[["footer",""],[1,"overlay"],[1,"header"],[1,"navigation"],[1,"left"],[1,"center","mat-headline-6"],["nameDisplay","symbol",1,"no-color",3,"stock","includeCompany","includeTicker","limitCompanyName","priceDisplay"],[1,"price"],[1,"left","mat-headline-6"],[3,"stock","includeTicker","includeStock","useOdometer","priceDisplay"],[3,"stock","includeTicker","includeStock","useOdometer","priceDisplay","includePctChangeParentheses"],[1,"tabs"],["mat-button","","aria-label","Scan for strategies for any stock","wsTooltip","Scan for strategies for any stock","wsTooltipSlug","scan-tool",3,"click","color","disableRipple"],[1,"label"],["mat-button","","aria-label","Backtest a strategy for any stock","wsTooltip","Backtest a strategy for any stock","wsTooltipSlug","backtest-stocks",3,"click","color","disableRipple"],["mat-button","","aria-label","Add indicators to the chart","wsTooltip","Add indicators to the chart",3,"color","active","disableRipple","click",4,"wsGate"],["mat-button","","aria-label","Change chart theme and other settings","wsTooltip","Change chart theme and other settings","wsTooltipPosition","right",3,"click","color","disableRipple"],[1,"content"],[1,"tab","tab-chart"],[3,"stock"],[1,"tab","tab-scan"],[1,"ws-strategy-tab-scan-container"],["mode","over","position","end",1,"ws-strategy-tab-scan-sidenav",3,"openedChange","opened"],[1,"ws-strategy-tab-scan-content"],[1,"vertical",3,"select","fetchAll","fetch"],[3,"toggleSidenav"],[1,"tab","tab-display"],[1,"tab","tab-backtest"],[1,"tab","tab-options"],[1,"tab","tab-settings"],["class","footer",3,"animate","top","panup","pandown","panend","pancancel",4,"ngIf"],["mat-button","","aria-label","Add indicators to the chart","wsTooltip","Add indicators to the chart",3,"click","color","disableRipple"],[1,"footer",3,"panup","pandown","panend","pancancel"],[3,"open","close","opened"]],template:function(i,e){i&1&&(h(0,"div",1),o(1,"section",2)(2,"mat-toolbar",3)(3,"section",4),h(4,"ws-mobile-navigation-toggle"),a(),o(5,"h2",5),h(6,"ws-stock",6),_(7,"async"),a(),h(8,"ws-mobile-watchlist-toggle"),a(),o(9,"mat-toolbar",7)(10,"h2",8),h(11,"ws-stock",9),_(12,"async"),a(),o(13,"h2",5),h(14,"ws-stock",9),_(15,"async"),c(16," \xA0 "),h(17,"ws-stock",10),_(18,"async"),a()(),o(19,"mat-toolbar",11)(20,"button",12),g("click",function(){return e.onChangeTab(e.tabs.Scan)}),o(21,"mat-icon"),c(22,"view_list"),a(),o(23,"span",13),c(24,"Scan"),a()(),o(25,"button",14),g("click",function(){return e.onChangeTab(e.tabs.Backtest)}),o(26,"mat-icon"),c(27,"build"),a(),o(28,"span",13),c(29,"Backtest"),a()(),o(30,"button",12),g("click",function(){return e.onChangeTab(e.tabs.
1Chart)}),o(31,"mat-icon"),c(32,"show_chart"),a(),o(33,"span",13),c(34,"Chart"),a()(),w(35,Cn,5,4,"button",15),o(36,"button",16),g("click",function(){return e.onChangeTab(e.tabs.Settings)}),o(37,"mat-icon"),c(38,"settings"),a(),o(39,"span",13),c(40,"Settings"),a()()()(),o(41,"div",17)(42,"div",18),h(43,"ws-chart-container",19),_(44,"async"),a(),o(45,"div",20)(46,"mat-drawer-container",21)(47,"mat-drawer",22),_(48,"async"),g("openedChange",function(T){return e.showStrategiesSidenav$.next(T)}),h(49,"ws-strategies-sidenav"),a(),o(50,"mat-drawer-content",23)(51,"ws-strategies",24),g("select",function(T){return e.onSelectStrategy(T)}),a()()(),o(52,"ws-strategies-toolbar",25),g("toggleSidenav",function(){return e.onToggleStrategiesSidenav()}),a()(),h(53,"ws-strategy-display",26)(54,"ws-strategy-backtest",27)(55,"ws-strategy-options",28)(56,"ws-strategy-settings",29),a(),w(57,yn,3,5,"div",30)),i&2&&(f("active",e.displayingOverlay),s(6),r("stock",x(7,57,e.stock$))("includeCompany",!1)("includeTicker",!1)("limitCompanyName",!1)("priceDisplay",e.StockPriceDisplay.price),s(5),r("stock",x(12,59,e.stock$))("includeTicker",!0)("includeStock",!1)("useOdometer",!0)("priceDisplay",e.StockPriceDisplay.price),s(3),r("stock",x(15,61,e.stock$))("includeTicker",!0)("includeStock",!1)("useOdometer",!0)("priceDisplay",e.StockPriceDisplay.priceChange),s(3),r("stock",x(18,63,e.stock$))("includeTicker",!0)("includeStock",!1)("useOdometer",!0)("priceDisplay",e.StockPriceDisplay.pricePctChange)("includePctChangeParentheses",!0),s(3),f("active",e.tab===e.tabs.Scan),r("color",e.tab===e.tabs.Scan?"accent":"primary")("disableRipple",!0),s(5),f("active",e.tab===e.tabs.Backtest),r("color",e.tab===e.tabs.Backtest?"accent":"primary")("disableRipple",!0),s(5),f("active",e.tab===e.tabs.Chart),r("color",e.tab===e.tabs.Chart?"accent":"primary")("disableRipple",!0),s(5),r("wsGate",P(69,un)),s(),f("active",e.tab===e.tabs.Settings),r("color",e.tab===e.tabs.Settings?"accent":"primary")("disableRipple",!0),s(6),f("active",e.tab===e.tabs.Chart),s(),r("stock",x(44,65,e.stock$)),s(2),f("active",e.tab===e.tabs.Scan),s(2),r("opened",x(48,67,e.showStrategiesSidenav$)),s(4),r("fetchAll",!0)("fetch",!0),s(2),f("active",e.tab===e.tabs.Display),s(),f("active",e.tab===e.tabs.Backtest),s(),f("active",e.tab===e.tabs.Options),s(),f("active",e.tab===e.tabs.Settings),s(),r("ngIf",e.tab===e.tabs.Chart||e.tab===e.tabs.Backtest))},dependencies:[tt,j,W,ht,Ct,yt,ut,ft,Ee,ot,Se,Ot,vt,Tt,Dt,Et,It,De,pi,xi,$t,D],styles:["[_nghost-%COMP%]{height:100%;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .overlay[_ngcontent-%COMP%]{inset:0;position:absolute;opacity:0;z-index:-1;-webkit-transition:opacity .35s ease-out,z-index 0 .35s;-moz-transition:opacity .35s ease-out,z-index 0 .35s;-ms-transition:opacity .35s ease-out,z-index 0 .35s;-o-transition:opacity .35s ease-out,z-index 0 .35s;transition:opacity .35s ease-out,z-index 0 .35s}[_nghost-%COMP%] .overlay.active[_ngcontent-%COMP%]{opacity:1;z-index:20;
1-webkit-transition:opacity .35s ease;-moz-transition:opacity .35s ease;-ms-transition:opacity .35s ease;-o-transition:opacity .35s ease;transition:opacity .35s ease}[_nghost-%COMP%] .header[_ngcontent-%COMP%]{z-index:2;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}[_nghost-%COMP%] .header[_ngcontent-%COMP%] .price[_ngcontent-%COMP%]{-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;-moz-justify-content:space-between;justify-content:space-between}[_nghost-%COMP%] .navigation[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .navigation[_ngcontent-%COMP%] .left[_ngcontent-%COMP%], [_nghost-%COMP%] .navigation[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] .navigation[_ngcontent-%COMP%] .center[_ngcontent-%COMP%]{-webkit-box-flex:3;-webkit-flex:3;-moz-box-flex:3;-moz-flex:3;-ms-flex:3;flex:3;text-align:center}[_nghost-%COMP%] .navigation[_ngcontent-%COMP%] .center[_ngcontent-%COMP%] ws-stock[_ngcontent-%COMP%]{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-justify-content:center;justify-content:center}[_nghost-%COMP%] .navigation[_ngcontent-%COMP%] ws-stock[_ngcontent-%COMP%]{-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center}[_nghost-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:54px;max-width:54px;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-transition:max-width .35s ease-in;-moz-transition:max-width .35s ease-in;-ms-transition:max-width .35s ease-in;-o-transition:max-width .35s ease-in;transition:max-width .35s ease-in}[_nghost-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .tabs[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{padding:0;max-width:100%;-webkit-box-flex:1;-webkit-flex:1 1 200%;-moz-box-flex:1;-moz-flex:1 1 200%;-ms-flex:1 1 200%;flex:1 1 200%;text-transform:uppercase}[_nghost-%COMP%] .tabs[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{opacity:1;margin-left:8px}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{height:calc(100% - 144px);-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;position:relative;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .tab[_ngcontent-%COMP%]{width:100%;height:100%;opacity:0;z-index:-1;position:absolute;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .tab.active[_ngcontent-%COMP%]{opacity:1;z-index:1}[_nghost-%COMP%] .footer[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;position:absolute;bottom:0;left:0;right:0;top:calc(100% - 56px);z-index:10000;touch-action:none;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .footer.animate[_ngcontent-%COMP%]{-webkit-transition:top .35s cubic-bezier(.06,.75,.37,.97);-moz-transition:top .35s cubic-bezier(.06,.75,.37,.97);-ms-transition:top .35s cubic-bezier(.06,.75,.37,.97);-o-transition:top .35s cubic-bezier(.06,.75,.37,.97);transition:top .35s cubic-bezier(.06,.75,.37,.97)}[_nghost-%COMP%] ws-chart-container[_ngcontent-%COMP%]{margin-bottom:56px;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;height:calc(100% - 48px)}[_nghost-%COMP%] ws-strategies[_ngcontent-%COMP%], [_nghost-%COMP%] mat-drawer-container[_ngcontent-%COMP%]{height:100%}@media(orientation:landscape)and (min-width:30em)and (max-width:50.865em){[_nghost-%COMP%] .header[_ngcontent-%COMP%], [_nghost-%COMP%] .footer[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] ws-chart-container[_ngcontent-%COMP%]{margin-bottom:0}}.light [_nghost-%COMP%] .overlay[_ngcontent-%COMP%]{background:#000000ab}.light [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%]{z-index:1;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background:#fff}.dark [_nghost-%COMP%] .overlay[_ngcontent-%COMP%]{background:#000000ab}.dark [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%]{z-index:1;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background:#424242}.black [_nghost-%COMP%] .overlay[_ngcontent-%COMP%]{background:#000000ab}.black [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%]{z-index:1;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background:#000}.charcoal [_nghost-%COMP%] .overlay[_ngcontent-%COMP%]{background:#000000ab}.charcoal [_nghost-%COMP%] ws-strategies-toolbar[_ngcontent-%COMP%]{z-index:1;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background:#201f27}"],changeDetection:0})}}return n})();function kn(n,u){n&1&&(o(0,"a",10),h(1,"img",11),a())}function Sn(n,u){n&1&&(o(0,"a",12),h(1,"img",13),a())}function Mn(n,u){if(n&1){let t=S();I(0),o(1,"mat-card")(2,"h2"),h(3,"img",3),c(4," Welcome to WallStreet.io! "),a(),o(5,"p",4),c(6," Thank y
1ou for signing up. We're thrilled to have you explore our world of features! Currently, you're accessing our app via a mobile browser, where we offer a snapshot of what's possible. For our expanded features, we recommend using our desktop version. "),a(),o(7,"p",4),c(8," Our native mobile apps for iPhone and Android are getting better by the day, bringing more features into your hands. They're perfect for on-the-go access, although they're still in development to match the desktop's full capabilities. "),a(),o(9,"p",4),c(10," The desktop remains your gateway to it all. We're working to bring all these experiences across all devices. "),a(),o(11,"p",4),c(12," Thank you for your membership and Trade Confidently. "),h(13,"br")(14,"br"),c(15," -\xA0WSIO Team "),a(),o(16,"div",5)(17,"div",6),w(18,kn,2,0,"a",7)(19,Sn,2,0,"a",8),o(20,"button",9),g("click",function(){m(t);let e=p();return d(e.setMessageSeen())}),c(21,"Continue in Browser"),a()()()(),$()}if(n&2){let t=p();s(18),r("ngIf",t.isiOS),s(),r("ngIf",t.isAndroid)}}function Pn(n,u){if(n&1){let t=S();o(0,"ws-mobile-watchlist-tab",17),g("stockSelected",function(e){m(t);let l=p(2);return d(l.onStockSelected(e))}),a()}}function On(n,u){if(n&1){let t=S();o(0,"ws-mobile-stock-tab",18),g("close",function(){m(t);let e=p(2);return d(e.state="watchlist")}),a()}}function vn(n,u){if(n&1&&(I(0,14),w(1,Pn,1,0,"ws-mobile-watchlist-tab",15)(2,On,1,0,"ws-mobile-stock-tab",16),$()),n&2){let t=p();r("ngSwitch",t.state),s(),r("ngSwitchCase","watchlist"),s(),r("ngSwitchCase","stock")}}var wi=(()=>{class n{constructor(t){this.stockService=t,this.state="stock",this.stock$=this.stockService.stock$,this.title$=this.stockService.title$,this.isAndroid=!1,this.isiOS=!1,this.hasSeenMessage=!1,this.subscriptions=[]}ngOnInit(){this.checkMessageStatus(),this.detectDevice()}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}onStockSelected(){this.state="stock"}checkMessageStatus(){localStorage.getItem("hasSeenMobileWelcomeMessage")?this.hasSeenMessage=!0:this.hasSeenMessage=!1}detectDevice(){let t=navigator.userAgent||navigator.vendor;this.isAndroid=/android/i.test(t),this.isiOS=/iPad|iPhone|iPod/.test(t)&&!("MSStream"in window)}setMessageSeen(){localStorage.setItem("hasSeenMobileWelcomeMessage","true"),this.hasSeenMessage=!0}static{this.\u0275fac=function(i){return new(i||n)(b(nt))}}static{this.\u0275cmp=z({type:n,selectors:[["ws-mobile-stock-page"]],standalone:!1,decls:4,vars:6,consts:[[3,"pageTitle","inverseTitle"],[4,"ngIf"],[3,"ngSwitch",4,"ngIf"],["src","assets/svg/brand/logo/bull/dark.svg",1,"brand"],[1,"mat-subtitle-1"],[1,"continue-buttons"],[1,"download-features"],["href","https://apps.apple.com/us/app/wallstreet.io/id1636517970","target","_blank",4,"ngIf"],["href","https://play.google.com/store/apps/details?id=io.wallstreet.app","target","_blank","class","d-flex",4,"ngIf"],["mat-button","",3,"click"],["href","https://apps.apple.com/us/app/wallstreet.io/id1636517970","target","_blank"],["src","https://wallstreet.io/assets/img/Download_on_the_App_Store_Badge.png","alt","Download on the Apple Store",2,"height","40px","margin-right","10px"],["href","https://play.google.com/store/apps/details?id=io.wallstreet.app","target","_blank",1,"d-flex"],["src","https://wallstreet.io/assets/img/google-play-badge.png","alt","Get it on Google Play",2,"height","40px"],[3,"ngSwitch"],[3,"stockSelected",4,"ngSwitchCase"],[3,"close",4,"ngSwitchCase"],[3,"stockSelected"],[3,"close"]],template:function(i,e){i&1&&(o(0,"ws-page",0),_(1,"async"),w(2,Mn,22,2,"ng-container",1)(3,vn,3,3,"ng-container",2),a()),i&2&&(r("pageTitle",x(1,4,e.title$))("inverseTitle",!0),s(2),r("ngIf",!e.hasSeenMessage),s(),r("ngIf",e.hasSeenMessage))},dependencies:[j,qt,Yt,se,ht,ct,Xe,Ci,D],styles:["[_nghost-%COMP%]{height:100%;display:block;overflow:hidden}[_nghost-%COMP%] img.brand[_ngcontent-%COMP%]{width:32px;margin-right:5px}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{margin:20px 0}[_nghost-%COMP%] mat-card[_ngcontent-%COMP%]{height:100%;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] mat-card[_ngcontent-%COMP%] .continue-buttons[_ngcontent-%COMP%]{margin-bottom:50px}[_nghost-%COMP%] mat-card[_ngcontent-%COMP%] .continue-buttons[_ngcontent-%COMP%] .download-features[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;
1-webkit-justify-content:center;-moz-justify-content:center;justify-content:center;margin-bottom:10px}"],changeDetection:0})}}return n})();var Dn=["matSidenavContent"],En=["strategyNameComponent"],In=["optionsStrategyNameComponent"],$n=["chartContainerComponent"],jn=["strategyContent"];function An(n,u){n&1&&h(0,"ws-mobile-stock-page")}function Vn(n,u){if(n&1&&(I(0),o(1,"div",15)(2,"span",16),c(3),a(),o(4,"span",17),c(5,"DAY TRIAL"),a()(),o(6,"div",18)(7,"span",19),c(8,"You're Eligible for a Free Trial!"),a(),o(9,"span",20),c(10),a()(),o(11,"a",21)(12,"mat-icon",22),c(13,"auto_awesome"),a(),c(14," Claim Free Trial "),a(),$()),n&2){let t=p(3);s(3),J(t.trialBannerDuration),s(7),Qt("Experience every premium feature of WallStreet.io 4.0 completely free for ",t.trialBannerDuration," days.")}}function Bn(n,u){if(n&1&&(I(0),o(1,"div",15)(2,"span",16),c(3),a(),o(4,"span",17),c(5,"DAYS LEFT"),a()(),o(6,"div",18)(7,"span",19),c(8,"Your Trial is Active"),a(),o(9,"span",20),c(10,"Upgrade now to keep full access to everything WallStreet.io 4.0 has to offer."),a()(),o(11,"a",23)(12,"mat-icon",22),c(13,"auto_awesome"),a(),c(14," Upgrade "),a(),$()),n&2){let t=p(3);s(3),J(t.trialDaysRemaining)}}function Rn(n,u){n&1&&(I(0),o(1,"div",15)(2,"mat-icon",24),c(3,"timer_off"),a()(),o(4,"div",18)(5,"span",19),c(6,"Your Trial Has Expired"),a(),o(7,"span",20),c(8,"Upgrade to recover your data and unlock every feature."),a()(),o(9,"a",23)(10,"mat-icon",22),c(11,"auto_awesome"),a(),c(12," Upgrade "),a(),$())}function Ln(n,u){if(n&1){let t=S();o(0,"div",9)(1,"div",10),w(2,Vn,15,2,"ng-container",2)(3,Bn,15,1,"ng-container",2)(4,Rn,13,0,"ng-container",2),a(),o(5,"button",11),g("click",function(){m(t);let e=p(2);return d(e.navigateToUpgrade())}),o(6,"mat-icon",12),c(7,"workspace_premium"),a()(),o(8,"button",13),g("click",function(){m(t);let e=p(2);return d(e.dismissTrialBanner())}),o(9,"mat-icon",14),c(10,"close"),a()()()}if(n&2){let t=p(2);s(2),r("ngIf",t.trialBannerType==="eligible"),s(),r("ngIf",t.trialBannerType==="onTrial"),s(),r("ngIf",t.trialBannerType==="expired")}}function Wn(n,u){if(n&1){let t=S();o(0,"ws-page")(1,"section",3)(2,"section",4,0),_(4,"async"),_(5,"async"),h(6,"ws-dock-toggle-button",5)(7,"ws-chart-container",6,1),_(9,"async"),w(10,Ln,11,3,"div",7),o(11,"ws-strategy-tabs",8),g("tabsResizeStart",function(){m(t);let e=p();return d(e.onResizeChart())})("tabsResized",function(){m(t);let e=p();return d(e.onResizeChart())}),a()()()()}if(n&2){let t=p();s(2),f("with-watchlists",x(4,8,t.watchlistsDock.active$))("with-strategy",x(5,10,t.strategyDock.active$)),s(4),r("dock",t.strategyDock)("wsTooltip",t.strategyDock.active?"Hide Strategy Results":"Show Strategy Results"),s(),r("stock",x(9,12,t.stock$)),s(3),r("ngIf",t.trialBannerActive&&!t.trialBannerDismissed)}}var ki=(()=>{class n{get isTrialUser(){return!!this.user?.trial?.isOnTrial}dismissTrialBanner(){this.trialBannerDismissed=!0}constructor(t,i,e,l,T,jt,F,Oi,vi,Ti,zi){this.router=t,this.dialog=i,this.appService=e,this.userService=l,this.localStorage=T,this.stockService=jt,this.chartService=F,this.strategyService=Oi,this.watchlistService=vi,this.userTrialsService=Ti,this.cdr=zi,this.watchlistsDock=this.watchlistService.dock,this.strategyDock=this.strategyService.dockSelected,this.stock$=this.stockService.stock$,this.title$=this.stockService.title$,this.strategy$=this.strategyService.strategy$,this.strategyLoading$=this.strategyService.strategyLoading$,this.strategyActive$=this.strategyService.isActive$,this.optionDataAvailable$=this.stockService.optionDataAvailable$,this.strategyColor$=this.strategyService.strategyColor$,this.strategyFollowed$=this.strategyService.followed$,this.strategyDisplayName$=this.strategyService.displayName$,this.canEditStrategyDisplayName$=this.strategyService.canEditDisplayName$,this.strategyTimespan$=this.strategyService.timespan$,this.strategyWorkspace$=this.strategyService.workspace$,this.strategyEditNote$=new at(null),this.overlayStock$=new at(null),this.strategySelectedTabIndex=0,this.mobile$=this.appService.mobile$,this.sidenavMode$=this.appService.sidenavMode$,this.sidenavDisableClose$=this.appService.disableSidenavClose$,this.startTour=!1,this.startFreeTour=!1,this.onboard$=this.userService.onboard$.pipe(A(y=>y&&!this.mobile),q(1),M(y=>
1{this.startTour=!0})),this.onboardFree$=this.userService.onboardFree$.pipe(A(y=>y&&!this.mobile),q(1),M(y=>{this.startFreeTour=!0})),this.shortcuts=[{shortcut:_e,handle:()=>{this.strategyService.previousStrategy$.pipe(st(),A(y=>!!y),M(y=>this.strategyService.navigateToSignal(y.signal,y.stock,y.short))).subscribe()}},{shortcut:xe,handle:()=>{this.strategyService.nextStrategy$.pipe(st(),A(y=>!!y),M(y=>this.strategyService.navigateToSignal(y.signal,y.stock,y.short))).subscribe()}},{shortcut:ue,handle:()=>{this.strategyService.visualizingTrades$.pipe(st(),M(y=>this.strategyService.visualizeTrades(!y))).subscribe()}},{shortcut:Ce,handle:()=>{this.strategyService.showSignals$.pipe(st(),M(y=>this.strategyService.showSignals(!y))).subscribe()}}],this.subscriptions=[this.mobile$.pipe(M(y=>this.mobile=y)).subscribe(),this.onboard$.subscribe(),this.onboardFree$.subscribe(),this.strategyService.trade$.pipe(A(y=>!!y),M(y=>this.onViewTrade(y))).subscribe()],this.trialBannerDismissed=!1,this.trialBannerActive=!1,this.trialBannerType=null,this.trialBannerDuration=7,this.trialDaysRemaining=0,this.user=this.userService.authenticated,this.TRIAL_NUDGE_DISMISSED_KEY="ws_trial_nudge_dismissed_at"}ngAfterViewInit(){Vt.append(this.shortcuts),this.subscriptions.push(Nt(1500).pipe(q(1),M(()=>this.fetchTrialBannerAndNudge())).subscribe())}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe()),Vt.disable()}onSelectStock(t){this.router.navigate([`/stocks/${t.slug}`],{queryParamsHandling:"preserve"})}onOpenStockDataFullDialog(){}onSelectStrategyTimespan(t){setTimeout(()=>{this.strategyService.selectStrategyTimespan(t)},100)}onResizeChart(){this.chartContainerComponent&&this.chartContainerComponent.chartComponent&&setTimeout(()=>{})}onOpenBacktestWorkspace(){this.strategyService.setWorkspace(C.Backtest)}onOpenOptionsWorkspace(){this.strategyService.setWorkspace(C.Options)}onViewStrategyStats(){this.strategyDock.toggle()}onShareStrategy(t){this.strategyService.setSharedStrategy(t),this.router.navigate(["community","posts","new"],{queryParamsHandling:"preserve"})}onViewTrade(t){if(this.chartContainerComponent&&this.chartContainerComponent.chartComponent&&this.chartContainerComponent.chartComponent.chart){this.strategyService.visualizeTrades(!0);let i=Math.round(t.duration/2);try{this.chartContainerComponent.chartComponent.chart.setRange((0,gt.default)(t.boughtOn).subtract(i,"days").toDate(),(0,gt.default)(t.soldOn).add(i,"days").toDate())}catch(e){}}}onSetChartRange(t,i){if(this.chartContainerComponent&&this.chartContainerComponent.chartComponent&&this.chartContainerComponent.chartComponent.chart)try{this.chartContainerComponent.chartComponent.chart.setRange((0,gt.default)(t).toDate(),(0,gt.default)(i).toDate())}catch(e){}}onEditNote(t){this.strategyEditNote$.next(t)}onOpenMoreStockInfo(t){this.overlayStock$.next(t)}onCloseMoreStockInfo(){this.overlayStock$.next(null)}onTagsSaved(t){this.strategyScrollbar.scrollToBottom(),this.strategySelectedTabIndex=1}onNoteSaved(t){this.strategyScrollbar.scrollToBottom(),this.strategySelectedTabIndex=2}fetchTrialBannerAndNudge(){this.subscriptions.push(this.userTrialsService.getBanner().pipe(q(1),M(t=>{if(t.active){if(this.trialBannerActive=!0,this.trialBannerType=t.bannerType,t.bannerType==="eligible")this.trialBannerDuration=t.bannerData?.trialDuration||7;else if(t.bannerType==="onTrial"&&t.bannerData?.trialExpires){let i=new Date(t.bannerData.trialExpires).getTime()-Date.now();this.trialDaysRemaining=Math.max(0,Math.ceil(i/(1e3*60*60*24)))}this.cdr.markForCheck(),t.bannerType==="eligible"&&this.maybeShowTrialNudge(t.bannerData?.trialDuration||7)}}),Ht(()=>Ft(null))).subscribe())}navigateToUpgrade(){this.router.navigate(["/upgrade"])}maybeShowTrialNudge(t){let i=this.userService.authenticated;if(i?.trial?.isOnTrial||i?.hasActiveSubscription)return;let e=this.localStorage.get(this.TRIAL_NUDGE_DISMISSED_KEY);if(e){let l=new Date(e).getTime(),T=1440*60*1e3;if(Date.now()-l<T)return}this.openTrialEligibleDialog(t)}openTrialEligibleDialog(t){let i=this.dialog.open(Le,{data:{trialDuration:t},panelClass:"trial-eligible-dialog-panel",hasBackdrop:!0,backdropClass:"trial-eligible-dialog-backdrop",disableClose:!0,autoFocus:!1,width:"580px",maxWidth:"95vw"});this.subscriptions.push(i.afterClosed().pipe(q(1),M(e=>{e==="claim"?this.router.navigate(["/upgrade"],{queryParams:{step:"phone"}}):e==="dismiss"&&this.localStorage.set(this.TRIAL_NUDGE_DISMISSED_KEY,new Date().toISOString())})).subscribe())}static{this.\u0275fac=function(i){return new(i||n)(b(ge),b(xt),b(U),b(it),b(dt),b(nt),b(St),b(E),b(Bt),b(We),b(K))}}static{this.\u0275cmp=z({type:n,selectors:[["ws-stocks-page"]],viewQuery:function(i,e){if(i&1&&Y(Dn,7)(En,5)(In,7)($n,5)(jn,5),i&2){let l;O(l=v())&&(e.matSidenavContent=l.first),O(l=v())&&(e.strategyNameComponent=l.first),O(l=v())&&(e.optionsStrategyNameComponent=l.first),O(l=v())&&(e.chartContainerComponent=l.first),O(l=v())&&(e.strategyScrollbar=l.first)}},hostVars:2,hostBindings:function(i,e){i&2&&f("mobile",e.mobile)},standalone:!1,decls:2,vars:2,consts:[["matSidenavContent",""],["chartContainerComponent",""],[4,"ngIf"],[1,"mat-drawer-container","ws-stock-page-container"],[1,"mat-drawer-content","ws-stock-page-content"],["direction","right","wsTooltipPosition","left",1,"ws-stock-page-strategy-toggle",3,"dock","wsTooltip"],[1,"init-welcome-tour-charts",3,"stock"],["class","trial-banner-strip",4,"ngIf"],[1,"init-welcome-tour-workspace",3,"tabsResizeStart","tabsResized"],[1,"trial-banner-strip"],[1,"trial-banner-content"],["
1wsTooltip","Upgrade","wsTooltipPosition","above",1,"trial-banner-upgrade-icon",3,"click"],["fontSet","material-symbols-outlined"],[1,"trial-banner-close",3,"click"],[1,"close-icon"],[1,"trial-days"],[1,"days-number"],[1,"days-label"],[1,"trial-message"],[1,"trial-title"],[1,"trial-subtitle"],["routerLink","/upgrade","queryParamsHandling","preserve",1,"trial-upgrade-btn"],["fontSet","material-symbols-outlined",1,"btn-icon"],["routerLink","/upgrade",1,"trial-upgrade-btn"],[1,"expired-icon"]],template:function(i,e){i&1&&w(0,An,1,0,"ws-mobile-stock-page",2)(1,Wn,12,14,"ws-page",2),i&2&&(r("ngIf",e.mobile),s(),r("ngIf",!e.mobile))},dependencies:[j,W,be,ct,ot,Dt,me,_i,wi,D],styles:["[_nghost-%COMP%]{overflow:hidden;height:100%;max-height:100%;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] mat-sidenav-content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{overflow:hidden;height:100%;max-height:100%;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] ws-page[_ngcontent-%COMP%] mat-sidenav-content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] .ws-stock-page-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 0 auto;-moz-box-flex:1;-moz-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}[_nghost-%COMP%] .ws-stock-page-header[_ngcontent-%COMP%] mat-toolbar[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] ws-stock-search[_ngcontent-%COMP%]{box-sizing:border-box;border:1px solid transparent;margin-right:1px;height:48px;width:239px}[_nghost-%COMP%] .ws-stock-page-sidenav[_ngcontent-%COMP%]{border:0;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex}[_nghost-%COMP%] .ws-stock-page-sidenav.left[_ngcontent-%COMP%]{background:transparent;padding-right:1px;min-width:240px;max-width:240px;overflow:hidden}[_nghost-%COMP%] .ws-stock-page-sidenav.left[_ngcontent-%COMP%] ws-watchlists[_ngcontent-%COMP%]{margin-top:1px}[_nghost-%COMP%] .ws-stock-page-sidenav.right[_ngcontent-%COMP%]{background:transparent;padding-left:1px;min-width:304px;max-width:304px}[_nghost-%COMP%] .ws-stock-page-sidenav.right[_ngcontent-%COMP%] ws-strategy-selected[_ngcontent-%COMP%]{height:100%;display:block;min-width:inherit;max-width:inherit;margin-top:1px}[_nghost-%COMP%] .ws-stock-page-watchlists-toggle[_ngcontent-%COMP%]{left:0;top:0;z-index:100;position:absolute}[_nghost-%COMP%] .ws-stock-page-strategy-toggle[_ngcontent-%COMP%]{right:0;top:128px;z-index:100;position:absolute}[_nghost-%COMP%] .ws-stock-page-strategy-toggle[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .mat-drawer-container[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .mat-drawer-content[_ngcontent-%COMP%]{margin-top:1px;overflow:hidden;height:100%;min-width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-transition:min-width 0ms;-moz-transition:min-width 0ms;-ms-transition:min-width 0ms;-o-transition:min-width 0ms;transition:min-width 0ms}[_nghost-%COMP%] .mat-drawer-content.with-watchlists[_ngcontent-%COMP%]{min-width:calc(100% - 240px)}[_nghost-%COMP%] .mat-drawer-content.with-strategy[_ngcontent-%COMP%]{min-width:calc(100% - 304px)}[_nghost-%COMP%] .mat-drawer-content.with-watchlists.with-strategy[_ngcontent-%COMP%]{min-width:calc(100% - 544px)}[_nghost-%COMP%] ws-chart-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-moz-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;height:40vh;min-height:25vh;max-height:calc(100% - 49px)}[_nghost-%COMP%] ws-strategy-tabs[_ngcontent-%COMP%]{overflow:hidden;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}[_nghost-%COMP%] .ws-stock-page-view-stats[_ngcontent-%COMP%]{border-color:currentColor}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;-webkit-box-pack:center;-ms-flex-pack:center;
1-webkit-justify-content:center;-moz-justify-content:center;justify-content:center;-webkit-box-flex:1;-webkit-flex:1 0 48px;-moz-box-flex:1;-moz-flex:1 0 48px;-ms-flex:1 0 48px;flex:1 0 48px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{max-width:inherit}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .left[_ngcontent-%COMP%]{max-width:400px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .left.ws-strategy-name-container[_ngcontent-%COMP%]{max-width:inherit}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .left[_ngcontent-%COMP%] ws-strategy-name[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .left[_ngcontent-%COMP%], [_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .right[_ngcontent-%COMP%]{-webkit-transition:opacity .35s ease;-moz-transition:opacity .35s ease;-ms-transition:opacity .35s ease;-o-transition:opacity .35s ease;transition:opacity .35s ease}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .left[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-of-type, [_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .left[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:nth-of-type(2), [_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .right[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-of-type, [_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type .right[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:nth-of-type(2){margin-right:16px}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type.loading .left[_ngcontent-%COMP%], [_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]:first-of-type.loading .right[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .ws-stock-page-footer[_ngcontent-%COMP%]{margin-top:1px}.mobile[_nghost-%COMP%] ws-chart-container[_ngcontent-%COMP%]{max-height:calc(100% - 100px)}.mobile[_nghost-%COMP%] .ws-stock-page-sidenav.right[_ngcontent-%COMP%]{min-width:100%;max-width:100%;padding-left:0}.mobile[_nghost-%COMP%] ws-mobile-navigation-toggle[_ngcontent-%COMP%]{margin-right:12px}.ws-stock-page-header[_ngcontent-%COMP%] mat-toolbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{-webkit-box-flex:2;-webkit-flex:2;-moz-box-flex:2;-moz-flex:2;-ms-flex:2;flex:2}.light [_nghost-%COMP%] .ws-strategy-selected-content[_ngcontent-%COMP%]{background:#fff;border-top:1px solid #e0e0e0}.dark [_nghost-%COMP%] .ws-strategy-selected-content[_ngcontent-%COMP%]{background:#424242;border-top:1px solid #303030}.black [_nghost-%COMP%] .ws-strategy-selected-content[_ngcontent-%COMP%]{background:#000;border-top:1px solid #212121}.charcoal [_nghost-%COMP%] .ws-strategy-selected-content[_ngcontent-%COMP%]{background:#201f27;border-top:1px solid #26252f}.trial-banner-strip[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;background:linear-gradient(135deg,#10b98114,#064e3b1f);border-top:1px solid rgba(16,185,129,.15);border-bottom:1px solid rgba(16,185,129,.15);flex-shrink:0;position:relative;animation:_ngcontent-%COMP%_trialBannerFadeIn .6s ease-out both}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:20px;flex:1}.trial-banner-strip[_ngcontent-%COMP%] .trial-days[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;min-width:60px}.trial-banner-strip[_ngcontent-%COMP%] .trial-days[_ngcontent-%COMP%] .days-number[_ngcontent-%COMP%]{font-size:28px;font-weight:700;line-height:1;color:var(--green)}.trial-banner-strip[_ngcontent-%COMP%] .trial-days[_ngcontent-%COMP%] .days-label[_ngcontent-%COMP%]{font-size:9px;font-weight:600;letter-spacing:1px;color:var(--green);opacity:.7;margin-top:2px}.trial-banner-strip[_ngcontent-%COMP%] .trial-days[_ngcontent-%COMP%] .expired-icon[_ngcontent-%COMP%]{font-size:28px;width:28px;height:28px;color:var(--green);opacity:.7}.trial-banner-strip[_ngcontent-%COMP%] .trial-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.trial-banner-strip[_ngcontent-%COMP%] .trial-message[_ngcontent-%COMP%] .trial-title[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:var(--title)}.trial-banner-strip[_ngcontent-%COMP%] .trial-message[_ngcontent-%COMP%] .trial-subtitle[_ngcontent-%COMP%]{font-size:12px;color:#ffffff80;line-height:1.4}.trial-banner-strip[_ngcontent-%COMP%] .trial-upgrade-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:8px 20px;border-radius:6px;border:1px solid rgba(16,185,129,.35);background:#10b98114;color:#10b981;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;animation:_ngcontent-%COMP%_bannerUpgradePulse 2.5s ease-in-out infinite}.trial-banner-strip[_ngcontent-%COMP%] .trial-upgrade-btn[_ngcontent-%COMP%] .btn-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px;color:#10b981}.trial-banner-strip[_ngcontent-%COMP%] .trial-upgrade-btn[_ngcontent-%COMP%]:hover{animation:none;background:#10b9812e;border-color:#10b9818c;transform:scale(1.04)}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-upgrade-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(16,185,129,.25);background:#10b9810f;cursor:pointer;border-radius:6px;margin-left:8px;flex-shrink:0;transition:all .2s ease}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-upgrade-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px;color:#10b981}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-upgrade-icon[_ngcontent-%COMP%]:hover{background:#10b9812e;border-color:#10b9818c;transform:scale(1.08)}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;cursor:pointer;border-radius:4px;margin-left:8px;flex-shrink:0}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-close[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#ffffff4d}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-close[_ngcontent-%COMP%]:hover{background:#ffffff0d}.trial-banner-strip[_ngcontent-%COMP%] .trial-banner-close[_ngcontent-%COMP%]:hover .close-icon[_ngcontent-%COMP%]{color:#fff9}@keyframes _ngcontent-%COMP%_trialBannerFadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_bannerUpgradePulse{0%,to{transform:scale(1);opacity:1;border-color:#10b98159}50%{transform:scale(1.05);opacity:.75;border-color:#10b9818c}}"],data:{animation:[Z("fadeOut",[H(":leave",G(ee,{params:{timing:1,delay:2}}))])]},changeDetection:0})}}return n})();var Fn=[{path:"",pathMatch:"full",resolve:{stock:zt},children:[]},{path:`:${Re.stock}`,component:ki,resolve:{stock:zt,watchlists:Rt}}],Si=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=L({type:n})}static{this.\u0275inj=B({providers:[zt,Rt],imports:[rt.forChild(Fn),rt]})}}return n})();var Mi=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=L({type:n})}static{this.\u0275inj=B({imports:[fe,_t,X,wt,Te,Ie,ze]})}}return n})();var Pi=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=L({type:n})}static{this.\u0275inj=B({imports:[X,wt,pe,kt,_t,de,Oe,rt,he]})}}return n})();var Ms=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=L({type:n})}static{this.\u0275inj=B({imports:[kt,X,Ye,Mi,Be,we,ti,ii,si,ei,Si,oi,Qe,Ge,ve,ci,li,$e,je,qe,gi,Fe,ni,Ze,Me,Pi,ri,Ke]})}}return n})();export{Ms as StockPageModule}; 2 3//# chunkId=01a0d02e-bd7e-75f1-9d73-4ab531769b75
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.