1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[159],{88793:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/weekly-overview",function(){return r(77236)}])},96361:function(e,t,r){"use strict";function n(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}r.d(t,{Z:function(){return n}})},77236:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return eg}});var n,s,i,a=r(71210),l=r(85893),o=r(67294),c=r(11163),d=r(63161),u=r(58493),m=r(12650),x=r(29527),p=r(31629),h=r(79934),f=r(34148),y=r(76349),b=r(20027),j=r(38294),g=r(90748),v=r(30548),w=r(51458),N=r(24446),S=r(97082),k=r(28705),C=r(77368),D=r(1314),T=r(11728),P=r(42451),Z=r(19246),A=r(40742),O=r(82339),I=r(29854),_=r(59945),E=r(33589),L=r(83111),H=r(94135),K=r(1333),R=r(9072),W=r(74735),F=r(97343),Q=r(93300),z=r(85796),M=r(32994),B=r(58271),J=r(71602),U=r(84279),G=r(36575),$=r(62783),Y=r(65717),q=r(1861),V=r(16477);let X=[{name:"Date",sortKey:"date",columnType:R.QD.Date},{name:"Time",sortKey:"createdAt",columnType:R.QD.Date},{name:"Ticker",sortKey:"ticker",columnType:R.QD.Text},{name:"C/P",sortKey:"cp",columnType:R.QD.Text},{name:"Side",sortKey:"tradeDirection",columnType:R.QD.Text},{name:"Read",sortKey:"sideRead",columnType:R.QD.Text},{name:"Expiry",sortKey:"expiry",columnType:R.QD.Date},{name:"Spot",sortKey:"spot",columnType:R.QD.Number},{name:"Strike",sortKey:"strike",columnType:R.QD.Number},{name:"OTM",sortKey:"otmPercent",columnType:R.QD.Number},{name:"Price",sortKey:"price",columnType:R.QD.Number},{name:"Size",sortKey:"size",columnType:R.QD.Number},{name:"Open Interest",sortKey:"openInterest",columnType:R.QD.Number},{name:"Implied Vol",sortKey:"impliedVol",columnType:R.QD.Number},{name:"Type",sortKey:"type",columnType:R.QD.Text},{name:"Premium",sortKey:"premium",columnType:R.QD.Number},{name:"Sector",sortKey:"sector",columnType:R.QD.Text},{name:"Heat Score",sortKey:"heatScore",columnType:R.QD.Number}].filter(e=>A.I||"Read"!==e.name),ee=X[0].sortKey;var et=r(15437),er=r(42040),en=r(92916);let es=(0,et.ZP)(er.zx).withConfig({componentId:"sc-3c69914c-0"})(["display:flex;align-items:center;justify-content:center;height:24px;width:72px;padding:0;font-size:10px;line-height:1;border:1px solid ",";background-color:",";border-radius:0;&:not(:first-of-type){margin-left:-1px;}&:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px;}&:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px;}"," &:focus{outline:none;}"],e=>{let{theme:t,isActive:r}=e;return r?t.color.buttonPrimary:t.color.border},e=>{let{theme:t,isActive:r}=e;return r?t.color.buttonPrimary:"transparent"},e=>{let{isActive:t}=e;return t&&"z-index: 1;"}),ei=(0,et.ZP)(er.zx).withConfig({componentId:"sc-3c69914c-1"})(["padding:0;height:30px;width:30px;display:flex;align-items:center;justify-content:center;font-size:16px;border-width:1px;border-color:",";background-color:",";&:focus{outline:none;}"],e=>{let{theme:t,isActive:r}=e;return r?t.color.buttonPrimary:t.color.border},e=>{let{theme:t,isActive:r}=e;return r?t.color.buttonPrimary:t.color.border}),ea=(0,et.ZP)(F.SC).withConfig({componentId:"sc-3c69914c-2"})(["grid-template-columns:minmax(68px,1.15fr) minmax(56px,0.9fr) minmax(56px,1fr) minmax(32px,0.7fr) minmax( 42px,0.65fr ) "," minmax(72px,1.2fr) minmax(56px,1fr) minmax(48px,0.8fr) minmax(44px,0.7fr) minmax(56px,1fr) minmax(44px,0.7fr) repeat(2,minmax(56px,0.9fr)) minmax(48px,0.8fr) minmax(56px,1fr) minmax(56px,1fr) minmax(48px,0.8fr);background:",";"],A.I?"minmax(88px, 1fr)":"",e=>{let{isUnusual:t,isGoldenSweep:r,theme:n}=e;return r?"linear-gradient(\n -90deg,\n rgba(0, 0, 0, 0) 2%,\n ".concat((0,en.m4)(n.color.mixedSentiment,.19)," 32%,\n ").concat((0,en.m4)(n.color.mixedSentiment,.14)," 74%,\n rgba(0, 0, 0, 0) 98%);"):t?"linear-gradient(\n -90deg,\n rgba(0, 0, 0, 0) 2%,\n ".concat((0,en.m4)(n.color.unusualTrade,.19)," 32%,\n ").concat((0,en.m4)(n.color.unusualTrade,.14)," 74%,\n rgba(0, 0, 0, 0) 98%\n )"):"transparent"});(n=s||(s={})).Flow="FLOW",n.Chain="CHAIN",n.Graph="GRAPH";let el=o.memo(e=>{let{data:t,hasAccess:r,flowSortKey:n,setFlowSortKey:s,flowSortDirection:i,setFlowSortDirection:a,isWatchListOnly:o,setIsWatchListOnly:c,hasWatchListItems:d,isSoundEnabled:u,setIsSoundEnabled:m,mobileLayout:x,setMobileLayout:p,setIsWatchListModalOpen:h,viewType:f,setViewType:y,onExpandAll:b,onCollapseAll:D,allChainExpanded:T,hasChainRows:P,chainSortState:Z,metricMode:A="total"}=e,I=e=>{let t=(0,q.e)(e),r=(0,B.A)(t);(0,B.E)(r,"Weekly Option Flow")},_=()=>{(0,z.L9)(M.ko,{hasAccess:r}),t&&I(t)},E=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?{width:52}:void 0;return(0,l.jsxs)("div",{className:e?"ml-2 flex shrink-0 items-center":"ml-4 flex items-center",children:[(0,l.jsx)(es,{isActive:"FLOW"===f,onClick:()=>y("FLOW"),style:t,children:"FLOW"}),(0,l.jsx)(es,{isActive:"CHAIN"===f,onClick:()=>y("CHAIN"),style:t,children:"CHAIN"}),(0,l.jsx)(es,{isActive:"GRAPH"===f,onClick:()=>y("GRAPH"),style:t,children:"GRAPH"})]})},L=(0,l.jsx)("button",{className:"flex h-6 w-6 items-center justify-center rounded border border-gray-600 text-gray-400 hover:border-gray-400 hover:text-gray-200",onClick:T?D:b,"aria-label":T?"Collapse all chains":"Expand all chains",children:T?(0,l.jsx)(j.An5,{className:"text-xs"}):(0,l.jsx)(j.T$w,{className:"text-xs"})});return(0,l.jsxs)(F.xD,{children:[(0,l.jsxs)("div",{className:"mb-2 hidden items-center justify-between sm:flex",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(O.Z,{Icon:j.rrH,title:"Weekly Option Flow",style:{marginBottom:0}}),E(),"CHAIN"===f&&P&&(0,l.jsx)(Q.Z,{title:T?"Collapse all chains":"Expand all chains",position:"bottom",children:(0,l.jsx)("div",{className:"ml-3",children:L})}),(0,l.jsxs)(k.r.Group,{as:"div",className:"ml-4 flex items-center",children:[(0,l.jsxs)(k.r,{checked:o,onChange:c,className:"group relative inline-flex h-3 w-6 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none",children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"".concat(o?"bg-yellow-400":"bg-gray-600","\n pointer-events-none absolute mx-auto h-2 w-5 rounded-full transition-colors duration-200 ease-in-out\n ")}),(0,l.jsx)("span",{"aria-hidden":"true",className:"".concat(o?"translate-x-3":"translate-x-0"," ").concat(o?"bg-white":"bg-gray-300"," pointer-events-none absolute left-0 inline-block h-3 w-3 transform rounded-full border border-gray-400 shadow ring-0 transition-transform duration-200 ease-in-out")})]}),(0,l.jsx)("div",{className:"ml-2 text-xs",children:(0,l.jsx)(Q.Z,{title:"Update your watchlist",position:"right",children:(0,l.jsx)("button",{type:"button",onClick:()=>null==h?void 0:h(!0),className:"flex cursor-pointer items-center whitespace-nowrap rounded-[4px] border border-gray-300 bg-gray-50 px-0.5 py-0.5 text-xs font-semibold text-yellow-500 shadow-sm transition-colors hover:bg-gray-100 active:bg-gray-200 sm:px-1 sm:py-1",children:(0,l.jsx)(w.pHD,{"aria-hidden":"true",className:"h-3 w-3 sm:h-auto sm:w-auto ".concat(o?"text-yellow-400":"text-gray-600")})})})}),o&&!d&&(0,l.jsx)(k.r.Label,{as:"span",className:"ml-2 leading-none",style:{lineHeight:0},children:(0,l.jsx)("span",{className:"text-xs font-medium leading-none text-yellow-400",children:"Add items to your watchlist to appear in the feed"})})]})]}),(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(H.Z,{className:"shadow-sm",isSoundEnabled:u,setIsSoundEnabled:m}),(0,l.jsxs)("button",{className:"flex h-6 items-center justify-center rounded-[4px] bg-palette-border px-2 text-[.65rem] shadow-sm",onClick:_,children:[(0,l.jsx)(v.aBF,{}),(0,l.jsx)("span",{className:"ml-2 text-[.6rem] font-semibold",children:"Download"})]})]})]}),(0,l.jsxs)("div",{className:"mb-2 flex items-center justify-between gap-2 sm:hidden",children:[(0,l.jsxs)("div",{className:"flex min-w-0 items-center",children:[(0,l.jsx)(O.Z,{Icon:j.rrH,title:"Weekly",className:"shrink-0",style:{marginBottom:0}}),E(!0)]}),(0,l.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:["CHAIN"===f&&P&&L,(0,l.jsxs)(C.J,{className:"relative",children:[(0,l.jsxs)(C.J.Button,{className:"flex items-center gap-1 rounded bg-brand-primary px-2 py-1.5 text-white hover:bg-brand-primary/80 focus:outline-none","aria-label":"Open table settings",children:[(0,l.jsx)(g.zfW,{className:"h-3.5 w-3.5"}),(0,l.jsx)(g.CgR,{className:"h-2.5 w-2.5"})]}),(0,l.jsx)(C.J.Panel,{className:"absolute right-0 z-50 mt-1 w-48 rounded-lg border border-gray-700 bg-palette-black-1 p-2 shadow-lg",children:(0,l.jsxs)("div",{className:"flex flex-col space-y-3",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("span",{className:"text-xs text-gray-400",children:"Watchlist"}),(0,l.jsxs)(k.r.Group,{as:"div",className:"flex items-center",children:[(0,l.jsxs)(k.r,{checked:o,onChange:c,className:"group relative inline-flex h-3 w-6 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none",children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"".concat(o?"bg-yellow-400":"bg-gray-600","\n pointer-events-none absolute mx-auto h-2 w-5 rounded-full transition-colors duration-200 ease-in-out\n ")}),(0,l.jsx)("span",{"aria-hidden":"true",className:"".concat(o?"translate-x-3":"translate-x-0"," ").concat(o?"bg-white":"bg-gray-300"," pointer-events-none absolute left-0 inline-block h-3 w-3 transform rounded-full border border-gray-400 shadow ring-0 transition-transform duration-200 ease-in-out")})]}),(0,l.jsx)("button",{type:"button",onClick:()=>null==h?void 0:h(!0),className:"ml-1 flex cursor-pointer items-center","aria-label":"Update your watchlist",children:(0,l.jsx)(w.pHD,{"aria-hidden":"true",className:"h-3.5 w-3.5 ".concat(o?"text-yellow-400":"text-gray-600")})})]})]}),void 0!==x&&p&&(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("span",{className:"text-xs text-gray-400",children:"Layout"}),(0,l.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,l.jsx)(ei,{type:"button",isActive:x===R.nb.Cards,onClick:()=>p(R.nb.Cards),"aria-label":"Show option flow cards",children:(0,l.jsx)(N.o29,{})}),(0,l.jsx)(ei,{type:"button",isActive:x===R.nb.Table,onClick:()=>p(R.nb.Table),"aria-label":"Show option flow table",children:(0,l.jsx)(S.kjw,{})})]})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("span",{className:"text-xs text-gray-400",children:"Sound"}),(0,l.jsx)(H.Z,{className:"shadow-sm",isSoundEnabled:u,setIsSoundEnabled:m})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("span",{className:"text-xs text-gray-400",children:"Download"}),(0,l.jsx)("button",{className:"flex h-6 items-center justify-center rounded-[4px] bg-palette-border px-2 text-[.65rem] shadow-sm",onClick:_,children:(0,l.jsx)(v.aBF,{})})]})]})})]})]})]}),"FLOW"===f&&x!==R.nb.Cards&&(0,l.jsx)(ea,{removePad:!0,children:X.map((e,t)=>
1{let r=e.sortKey===n&&i!==R.Sr.None;return(0,l.jsx)(F.Je,{removePad:t+1===X.length,isActiveSort:r,onClick:()=>{n!==e.sortKey?(s(e.sortKey),a(R.Sr.Desc)):i===R.Sr.None?a(R.Sr.Desc):i===R.Sr.Desc?a(R.Sr.Asc):i===R.Sr.Asc&&(s(ee),a(R.Sr.None))},children:(0,l.jsxs)(F.qN,{children:[(0,l.jsx)("span",{className:"cell-name",children:e.name}),r&&i===R.Sr.Desc&&(0,l.jsx)(F.N9,{children:(0,l.jsx)(F.lg,{})}),r&&i===R.Sr.Asc&&(0,l.jsx)(F.N9,{children:(0,l.jsx)(F.Qb,{})})]})},e.name)})}),"CHAIN"===f&&Z&&x!==R.nb.Cards&&(0,l.jsx)(U.Z,{headers:J.Jd,columns:G.MI,chainSortState:Z,metricMode:A})]})}),eo=e=>{var t,r,n,s;let{trade:i,watchListTickers:a}=e,o=(0,Y.$o)(i),c=!!i.ticker&&a.includes(i.ticker);return(0,l.jsxs)(ea,{tableBodyRow:!0,isAnimated:!1,isUnusual:i.isUnusual,isGoldenSweep:i.isGoldenSweep,children:[(0,l.jsx)(F.pj,{children:(0,l.jsx)(F.k$,{children:i.date})}),(0,l.jsx)(F.pj,{children:(0,l.jsxs)(F.k$,{children:[i.time," ",i.timeSubscript]})}),(0,l.jsxs)(F.pj,{className:"relative",children:[c&&(0,l.jsx)(F.Yq,{className:"absolute text-yellow-400",children:(0,l.jsx)(w.pHD,{})}),(0,l.jsx)(b.Z,{href:"".concat(f.c9,"/").concat(i.ticker),children:(0,l.jsx)(I.Z,{name:(null==i?void 0:null===(t=i.tickerDetails)||void 0===t?void 0:t.name)||"",children:(0,l.jsx)(F._n,{type:i.cp||"",children:i.ticker})})})]}),(0,l.jsx)(F.pj,{children:(0,l.jsx)(F.Pn,{type:i.cp||"",children:i.cp})}),(0,l.jsx)(F.pj,{children:(0,l.jsx)(E.Z,{trade:i})}),A.I&&(0,l.jsx)(F.pj,{className:"items-center",children:(0,l.jsx)(L.Z,{trade:i})}),(0,l.jsx)(F.pj,{children:i.expiryString}),(0,l.jsx)(F.pj,{children:(0,W.HR)(i.spot,2)}),(0,l.jsx)(F.pj,{children:(0,W.HR)(i.strike)}),(0,l.jsx)(F.pj,{children:(0,W.Wj)(i.otmPercent)}),(0,l.jsx)(F.pj,{children:(0,W.HR)(i.price,2)}),(0,l.jsx)(F.pj,{children:(0,l.jsx)(F.nm,{isTopPosition:i.isTopPosition,children:null===(r=i.size)||void 0===r?void 0:r.toLocaleString()})}),(0,l.jsx)(F.pj,{children:null===(n=i.openInterest)||void 0===n?void 0:n.toLocaleString()}),(0,l.jsx)(F.pj,{children:(0,W.DY)(i.impliedVol)}),(0,l.jsx)(F.XC,{children:i.orderType}),(0,l.jsx)(F.pj,{children:(0,l.jsx)(F.Pn,{type:o,children:null!=i.premium?"$".concat((0,P.Z)(i.premium)):"-"})}),(0,l.jsx)(F.pj,{children:(0,Z.Pz)((null==i?void 0:null===(s=i.tickerDetails)||void 0===s?void 0:s.sector)||"")}),(0,l.jsx)(F.fJ,{children:(0,l.jsx)(_.R4,{scoreWidth:i.scoreWidth})})]})};var ec=o.memo(e=>{let{trades:t,referenceTrades:r,flowSortKey:n,setFlowSortKey:s,flowSortDirection:i,setFlowSortDirection:a,isWatchListOnly:c,setIsWatchListOnly:d,hasWatchListItems:u,isSoundEnabled:m,setIsSoundEnabled:x,watchListTickers:p,setIsWatchListModalOpen:h,hasAccess:f,metricMode:y="total",defaultMobileLayout:b=R.nb.Cards,onOpenPopover:j,earningsMap:g,isMobile:v=!1}=e,[w,N]=o.useState(b),[S,k]=o.useState("FLOW"),[C,P]=o.useState(null),[Z,A]=o.useState(0),[O,I]=o.useState(0),[_,E]=o.useState({allExpanded:!1,hasRows:!1}),L=!!window.injectedPageData,H=o.useCallback((e,t)=>{E({allExpanded:e,hasRows:t})},[]),W=o.useCallback(()=>{A(e=>e+1)},[]),Q=o.useCallback(()=>{I(e=>e+1)},[]),z=o.useMemo(()=>"CHAIN"===S&&t&&0!==t.length?(0,$.Z)(t,{includeTicker:!0,metricMode:y}):[],[t,S,y]),M=o.useCallback(e=>{let{index:r,style:n}=e,s=t[r];return(0,l.jsx)("div",{style:n,children:(0,l.jsx)(eo,{trade:s,watchListTickers:p},s.id)})},[t,p]),B=o.useCallback(e=>{let{index:r,style:n}=e,s=t[r];return(0,l.jsx)("div",{style:n,children:(0,l.jsx)(K.Z,{trade:s,watchListTickers:p,earningsMap:g,onOpenPopover:j},s.id)})},[t,p,g,j]);return(0,l.jsxs)(F.y6,{className:v&&w===R.nb.Cards?"overflow-x-hidden":"",children:[(0,l.jsx)(el,{flowSortKey:n,setFlowSortKey:s,flowSortDirection:i,setFlowSortDirection:a,isWatchListOnly:c,setIsWatchListOnly:d,hasWatchListItems:u,isSoundEnabled:m,setIsSoundEnabled:x,mobileLayout:v?w:void 0,setMobileLayout:v?N:void 0,setIsWatchListModalOpen:h,data:t,hasAccess:f,viewType:S,setViewType:k,onExpandAll:W,onCollapseAll:Q,allChainExpanded:_.allExpanded,hasChainRows:_.hasRows,chainSortState:C,metricMode:y}),"FLOW"===S&&(!v||w===R.nb.Table)&&(0,l.jsx)(F.RM,{animateRows:!0,className:"h-full w-full",children:L?(0,l.jsx)("div",{className:"h-full w-full overflow-y-auto overflow-x-hidden",children:t.slice(0,100).map(e=>(0,l.jsx)(eo,{trade:e,watchListTickers:p},e.id))}):(0,l.jsx)("div",{className:"h-full w-full overflow-hidden",children:(0,l.jsx)(T.Z,{children:e=>{let{width:r,height:n}=e;return(0,l.jsx)(D.t7,{height:n,itemCount:t.length,itemSize:36.2,width:r,children:M})}})})}),"FLOW"===S&&v&&w===R.nb.Cards&&(0,l.jsx)(F.RM,{animateRows:!0,className:"h-full w-full overflow-hidden",children:(0,l.jsx)(T.Z,{children:e=>{let{width:r,height:n}=e;return(0,l.jsx)(D.t7,{height:n,itemCount:t.length,itemSize:K.R,width:r,children:B})}})}),"CHAIN"===S&&(0,l.jsx)(J.ZP,{chainRows:z,includeTicker:!0,headerless:!0,isMobile:v&&w===R.nb.Cards,expandAllTrigger:Z,collapseAllTrigger:O,onExpandStateChange:H,onSortStateChange:P,metricMode:y}),"GRAPH"===S&&(0,l.jsx)(V.Z,{trades:t,referenceTrades:r})]})}),ed=r(72300),eu=r(32786),em=r(34558),ex=r(22736);let ep="Weekly Overview",eh="Summary of the tickers traded from the prior 5 trading days",ef=(0,ed.DB)((0,eu.PZ)()),ey=null===(i=window)||void 0===i?void 0:i.injectedPageData,eb=()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.Z,{title:ep,description:eh,useCurrentUrl:!0}),(0,l.jsx)("div",{})]}),ej=()=>{var e,t,r;let n=(0,d.Z)(),s=(0,c.useRouter)(),[i,{data:a,called:b,loading:j,refetch:g}]=(0,m.JYB)({fetchPolicy:"no-cache"}),[v,{data:w,loading:N}]=(0,m.JYB)({fetchPolicy:"no-cache"}),[S,k]=o.useState(ef),[C,{data:D,refetch:T}]=(0,m.bsd)(),P=null==D?void 0:null===(t=D.weekly_option_flow_aggregate)||void 0===t?void 0:null===(e=t.aggregate)||void 0===e?void 0:e.count,[Z,{data:A,called:O,loading:I}]=(0,m.u6q)(),[_,E]=o.useState(void 0),L=n.status===x.tD.User&&(0,h.Kr)(n),H=O&&!I,[K,R]=o.use
1State(!1),W=o.useRef(!1);o.useEffect(()=>{var e;if(W.current||!H)return;W.current=!0;let{tradeSides:t}=(0,em.J)(null==A?void 0:null===(e=A.users_by_pk)||void 0===e?void 0:e.optionFlowFilters);k(e=>(0,ed.Wb)(e,t)?e:t),R(!0)},[H,A]);let F=!ex.It||K;o.useEffect(()=>{ey&&E(ey)},[]),o.useEffect(()=>{let e;return L&&F&&(T?T({tradeSides:S}):C({variables:{tradeSides:S}}),e=setInterval(()=>{T?(0,p.J$)()&&T({tradeSides:S}):C({variables:{tradeSides:S}})},3e5)),()=>clearInterval(e)},[C,L,F,T,S]),o.useEffect(()=>{L&&F&&(g?g({tradeSides:S}):i({variables:{tradeSides:S}}))},[i,L,F,g,P,S]),o.useEffect(()=>{var e;(null===(e=n.viewer)||void 0===e?void 0:e.uid)&&Z({variables:{id:n.viewer.uid}})},[null===(r=n.viewer)||void 0===r?void 0:r.uid]);let Q=o.useCallback(e=>{let t=(0,ed.DB)(e);k(e=>(0,ed.Wb)(e,t)?e:t),L&&b&&(g?g({tradeSides:t}):i({variables:{tradeSides:t}}),T?T({tradeSides:t}):C({variables:{tradeSides:t}}))},[b,C,i,L,g,T]),z=o.useCallback(e=>{L&&v({variables:{tradeSides:e}})},[v,L]);return _||n.status!==x.tD.Loading?_||n.status!==x.tD.Anonymous&&(n.status!==x.tD.User||(0,h.Kr)(n))?_||n.status!==x.tD.User||(0,h.De)(n)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.Z,{title:ep,description:eh,useCurrentUrl:!0}),(0,l.jsx)(y.Z,{isWeekly:!0,viewer:n,title:"Weekly Overview",Icon:f.Ss.WeeklyOverview,trades:null==a?void 0:a.weekly_option_flow,dailyVolume:null==a?void 0:a.daily_volume,loading:j,called:b,userDetails:null==A?void 0:A.users_by_pk,OptionFlowTable:ec,shouldShowDatePicker:!1,injectedPageData:_,pageHref:f.X6,onFlowSideBasisChange:Q,previewTrades:null==w?void 0:w.weekly_option_flow,isPreviewLoading:N,onFlowSidePreviewRequest:z})]}):(s.push(f.zY),(0,l.jsx)(eb,{})):(s.push(f.hD),(0,l.jsx)(eb,{})):(0,l.jsx)(eb,{})};ej.getLayout=(0,a.ud)(a.I5);var eg=ej},31629:function(e,t,r){"use strict";r.d(t,{J$:function(){return o},Li:function(){return i},XP:function(){return c},mg:function(){return l}});let n={locale:"en-US",zoneObject:{timeZone:"America/New_York"}},s=e=>e?new Date(e).toLocaleString(n.locale,n.zoneObject):new Date().toLocaleString(n.locale,n.zoneObject),i=()=>new Date(s()),a=null,l=e=>(a||(a=new Intl.DateTimeFormat("en-CA",{timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit"})),a.format(null!=e?e:Date.now())),o=e=>{let t=new Date(s(e)),r=t.getDay(),n=t.getHours();return r>=1&&r<=5&&n>=9&&n<=17},c=(e,t)=>{let r=new Date(s(t)),n=r.getDay();if(n<1||n>5)return!1;let i=60*r.getHours()+r.getMinutes();return i>=570-e&&i<=960+e}},30907:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:function(){return n}})},15671:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}r.d(t,{Z:function(){return n}})},43144:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(83997);function s(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,(0,n.Z)(s.key),s)}}function i(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(83997);function s(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},61120:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,{Z:function(){return n}})},60136:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(89611);function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,n.Z)(e,t)}},82963:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(71002),s=r(97326);function i(e,t){if(t&&("object"===(0,n.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,s.Z)(e)}},83997:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(71002);function s(e){var t=function(e,t){if("object"!=(0,n.Z)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var s=r.call(e,t||"default");if("object"!=(0,n.Z)(s))return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,n.Z)(t)?t:t+""}},40181:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(30907);function s(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.Z)(e,t)}}}},function(e){e.O(0,[1827,994,6152,9866,2563,1778,4885,6342,8698,3609,3777,9570,955,3288,1664,4320,4531,4149,1247,9430,7733,1407,7487,1638,4635,6400,6019,8841,6834,8102,1028,6501,7841,7169,8210,1879,8809,9249,2241,2888,9774,179],function(){return e(e.s=88793)}),_N_E=e.O()}]); 2//# sourceMappingURL=weekly-overview-0099b9dd44818520.js.map
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.