{removeCompanyStrings($displayCompanyName)} Revenue

{#if rawData?.length !== 0}
Revenue (ttm)
{abbreviateNumber(rawData?.revenue, true)}
Revenue Growth
{rawData?.growthRevenue}%
Price / Sales Ratio
{rawData?.priceToSalesRatio}
Revenue / Employee
{abbreviateNumber( rawData?.revenuePerEmployee, true, )}
Employees
{rawData?.employees?.toLocaleString("en-US")}
Market Cap
{abbreviateNumber(data?.getStockQuote?.marketCap)}

Revenue Chart

{#each plotTabs as item, i} {/each}

Revenue History

{#each tabs as item, i} {#if !["Pro", "Plus"]?.includes(data?.user?.tier) && i > 0} {:else} {/if} {/each}
{#each tableList as item, index} {/each}
{activeIdx === 0 ? "Fiscal Year End" : "Quarter Ended"} Revenue % Change
{new Date(item?.date)?.toLocaleDateString("en-US", { day: "2-digit", // Include day number month: "short", // Display short month name year: "numeric", // Include year })} {abbreviateNumber(item?.revenue)} {#if index === tableList?.length - 1} n/a {:else if item?.revenue > tableList[index + 1]?.revenue} +{( ((item?.revenue - tableList[index + 1]?.revenue) / tableList[index + 1]?.revenue) * 100 )?.toFixed(2)}% {:else if item?.revenue < tableList[index + 1]?.revenue} -{( Math.abs( (item?.revenue - tableList[index + 1]?.revenue) / tableList[index + 1]?.revenue, ) * 100 )?.toFixed(2)}% {:else} n/a {/if}
{:else} {/if}