-
-
-
+
- changeSubSection(sectionKey)} - class="px-2 text-sm sm:text-[1rem] whitespace-nowrap font-medium text-gray-400 sm:hover:text-white {displaySubSection === sectionKey ? 'text-white' : 'bg-[#09090B]'}" + class="px-2 text-sm sm:text-[1rem] whitespace-nowrap font-medium text-gray-400 sm:hover:text-white {displaySubSection === + sectionKey + ? 'text-white' + : 'bg-[#09090B]'}" > {title} - + {/each}
+
@@ -28,54 +58,105 @@
{$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""}
{$displayCompanyName} ({$stockTicker}) Business Metric Overview · stocknear
-
-
-
+
+
+
-
-
+
+
-
+
-
{#each subsectionTitles as title}
- {@const sectionKey = title.toLowerCase().replace(/ & /g, '-').replace(/ /g, '-')}
+ {@const sectionKey = title
+ .toLowerCase()
+ .replace(/ & /g, "-")
+ .replace(/ /g, "-")}
-
+
{#if data?.getAnalystEstimate?.length !== 0}
+
+ {$displayCompanyName} Revenue Breakdown +
-{$displayCompanyName} Revenue Breakdown
- -
-
+
| Quarter | +Quarter | {#each xData as item} -{new Date(item ?? null)?.toLocaleString('en-US', { - month: 'short', - day: 'numeric', - year: 'numeric', - })} | +{new Date(item ?? null)?.toLocaleString("en-US", { + month: "short", + day: "numeric", + year: "numeric", + })} | {/each}
|---|---|---|---|
| {category} Revenue | ++ + {name} Revenue + | {#each categoryValues[index] as value} -+ | {abbreviateNumber(value)} | {/each}
| - {category} Revenue Growth + | + {name} Revenue Growth | {#each growthValues[index] as growthValue} -- {growthValue > 0 ? '+' : ''}{growthValue !== null ? growthValue?.toFixed(2) + '%' : '-'} + | + {growthValue > 0 ? "+" : ""}{growthValue !== null + ? growthValue?.toFixed(2) + "%" + : "-"} | {/each}
+ Revenue by Geography +
- - -Revenue by Geography
- -
-
+
| Quarter | +Quarter | {#each geographicXData as item} -{new Date(item ?? null)?.toLocaleString('en-US', { - month: 'short', - day: 'numeric', - year: 'numeric', - })} | +{new Date(item ?? null)?.toLocaleString("en-US", { + month: "short", + day: "numeric", + year: "numeric", + })} | {/each}
|---|---|---|---|
| {category} Revenue | +{name} Revenue | {#each geographiCategoryValues[index] as value} -+ | {abbreviateNumber(value)} | {/each}
| - {category} Revenue Growth + | + {name} Revenue Growth | {#each geographicGrowthValues[index] as growthValue} -- {growthValue > 0 ? '+' : ''}{growthValue !== null ? growthValue?.toFixed(2) + '%' : '-'} + | + {growthValue > 0 ? "+" : ""}{growthValue !== null + ? growthValue?.toFixed(2) + "%" + : "-"} | {/each}
-