PageSourceSearch

https://app.termina.ai/_next/static/chunks/3458.cb5f1c08417c70c0.js

js termina.ai collected 2026-09-28 10:17:20 UTC 2,252 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3458],{83458:function(e,t,a){a.r(t),a.d(t,{BalanceSheetOverviewGraph:function(){return L}});var i=a(44825),s=a(87961),r=a(97148),n=a(66516),o=a(71100),l=a(79477),u=a(72430),p=a(48739),y=a(9255),c=a(79634),d=a(94439),m=a(28411),h=a(78689);let L=o.memo(e=>{var t;let{balanceSheet:a,derivedMetrics:L,isLoading:C=!1,freq:f}=e,{isDarkMode:N}=(0,r._)(),{start:b,end:k}=(0,u.w_)(),g=(0,y.qR)(f,null==a?void 0:a.freq),M=(0,o.useMemo)(()=>a?(0,h.YO)(a,L,g):null,[a,L,g]);(0,u.xO)(null!==(t=null==M?void 0:M.periods)&&void 0!==t?t:[]);let A=(0,o.useMemo)(()=>{if(!M)return null;let{currentAssets:e,nonCurrentAssets:t,currentLiabilities:a,nonCurrentLiabilities:i,equity:r,workingCapital:n,cash:o,totalDebt:l}=M,u=(0,m.g)(N),c=e=>(0,d._z)(e,b,k),h=a.map(e=>({...e,y:-e.y})),L=i.map(e=>({...e,y:-e.y})),C=l.map(e=>({...e,y:-e.y})),f=[{name:"Current Assets",type:s.oX.COLUMN,data:c(e),color:u.currentAssets,stack:"assets"},{name:"Non-Current Assets",type:s.oX.COLUMN,data:c(t),color:u.nonCurrentAssets,stack:"assets"},{name:"Current Liabilities",type:s.oX.COLUMN,data:c(h),color:u.currentLiabilities,stack:"liabilities"},{name:"Non-Current Liabilities",type:s.oX.COLUMN,data:c(L),color:u.nonCurrentLiabilities,stack:"liabilities"},{name:"Equity",type:s.oX.LINE,data:c(r),color:u.equityLine}],A=e=>e.some(e=>Math.abs(e.y)>1e-9);A(n)&&f.push({name:"Working Capital",type:s.oX.LINE,data:c(n),color:u.workingCapitalLine,dashStyle:s.g6.DOT}),A(o)&&f.push({name:"Cash",type:s.oX.LINE,data:c(o),color:u.cashLine,dashStyle:s.g6.DASH}),A(l)&&f.push({name:"Total Debt",type:s.oX.LINE,data:c(C),color:u.totalDebtLine,dashStyle:s.g6.DASHDOT});let O=f.filter(e=>"column"===e.type).flatMap(e=>e.data.map(e=>e.y)),{tickAmount:X}=(0,p.PK)(Math.min(...O,0),Math.max(...O,0),12);return{series:f,tickAmount:X,periodTitle:(0,y.CN)(g)}},[M,N,g,b,k]);if(!A)return(0,i.jsx)(l.Z,{compact:!0});let{series:O,tickAmount:X,periodTitle:v}=A;return(0,i.jsx)(s.ZP,{type:"bar",width:"100%",height:c.d4,series:O,isLoading:C,xAxis:{type:"category",title:v,formatter:(0,p.$q)(g)},yAxis:{title:"Amount ($)",formatter:n.h1,tickAmount:X},style:{stacked:!0},legend:{offsetY:0}})})}}]);
2//# sourceMappingURL=3458.cb5f1c08417c70c0.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.