@realminc/ui 0.10.1 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -11095,8 +11095,8 @@ function oa_suggest_download_filename(filename, language, override) {
11095
11095
  return base;
11096
11096
  return `${base}.${oa_extension_for_language(language)}`;
11097
11097
  }
11098
- var oa_terminal_chrome_icon_class = "h-4 w-4 shrink-0";
11099
- var oa_terminal_chrome_icon_size = 16;
11098
+ var oa_terminal_chrome_icon_class = "h-5 w-5 shrink-0";
11099
+ var oa_terminal_chrome_icon_size = 20;
11100
11100
  function OaCodeBlock({
11101
11101
  code = "",
11102
11102
  language = "text",
@@ -11125,7 +11125,7 @@ function OaCodeBlock({
11125
11125
  const is_dark = variant === "dark" || variant === "dev-dark";
11126
11126
  const is_dev = variant === "dev-dark" || variant === "dev-light";
11127
11127
  const uses_terminal_log_colors = terminal && oa_terminal_languages.has(active_language.toLowerCase());
11128
- const terminal_chrome_button_class = clsx("shrink-0 rounded-md border border-transparent bg-transparent p-1.5 transition-colors", "focus-visible:outline-none focus-visible:ring-2", is_dark ? "text-white/70 hover:bg-white/10 hover:text-white active:bg-white/[0.16] focus-visible:ring-white/25" : "text-black/55 hover:bg-black/[0.06] hover:text-black active:bg-black/10 focus-visible:ring-black/20");
11128
+ const terminal_chrome_button_class = clsx("inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-transparent bg-transparent p-[5px] transition-colors first:-translate-x-1", "focus-visible:outline-none focus-visible:ring-2", is_dark ? "text-white/70 hover:bg-white/10 hover:text-white active:bg-white/[0.16] focus-visible:ring-white/25" : "text-black/55 hover:bg-black/[0.06] hover:text-black active:bg-black/10 focus-visible:ring-black/20");
11129
11129
  const handle_copy = async () => {
11130
11130
  await navigator.clipboard.writeText(active_code);
11131
11131
  set_copied(true);
@@ -11183,7 +11183,7 @@ function OaCodeBlock({
11183
11183
  children: [
11184
11184
  terminal && /* @__PURE__ */ jsxs7("div", {
11185
11185
  "data-oa-codeblock-terminal": "",
11186
- className: clsx("relative flex min-h-[2.75rem] shrink-0 items-center justify-between px-3 py-2.5 sm:px-4", is_dev && (is_dark ? "border-b-2 border-white/15" : "border-b-2 border-black/10"), !is_dev && !is_dark && "border-b border-black/[0.06]"),
11186
+ className: clsx("relative flex min-h-[3.25rem] shrink-0 items-center justify-between pl-3 pr-5 py-2.5 sm:pl-4", is_dev && (is_dark ? "border-b-2 border-white/15" : "border-b-2 border-black/10"), !is_dev && !is_dark && "border-b border-black/[0.06]"),
11187
11187
  children: [
11188
11188
  /* @__PURE__ */ jsxs7("div", {
11189
11189
  className: clsx(terminal_side_base, "justify-start gap-0.5"),
@@ -11232,7 +11232,7 @@ function OaCodeBlock({
11232
11232
  on_tab_change?.(tab.id);
11233
11233
  set_copied(false);
11234
11234
  },
11235
- className: clsx("rounded px-2.5 py-1 font-sans text-[11px] font-medium transition-colors", is_dark ? is_active ? "bg-white/10 text-white" : "text-white/45 hover:text-white/75" : is_active ? "bg-black/[0.07] text-black" : "text-black/45 hover:text-black/75"),
11235
+ className: clsx("rounded px-2.5 py-1 font-sans text-base leading-6 font-medium transition-colors", is_dark ? is_active ? "bg-white/10 text-white" : "text-white/45 hover:text-white/75" : is_active ? "bg-black/[0.07] text-black" : "text-black/45 hover:text-black/75"),
11236
11236
  children: tab.label
11237
11237
  }, tab.id);
11238
11238
  })
@@ -11241,16 +11241,17 @@ function OaCodeBlock({
11241
11241
  children: title_text
11242
11242
  }) : null,
11243
11243
  /* @__PURE__ */ jsxs7("div", {
11244
- className: clsx(terminal_side_base, "justify-end gap-1.5"),
11244
+ "aria-hidden": "true",
11245
+ className: clsx(terminal_side_base, "justify-end gap-1.5", is_dark ? "text-white/70" : "text-black/55"),
11245
11246
  children: [
11246
11247
  /* @__PURE__ */ jsx13("div", {
11247
- className: "h-3 w-3 shrink-0 rounded-full bg-[#ff5f57]"
11248
+ className: "h-3 w-3 shrink-0 rounded-full bg-current"
11248
11249
  }),
11249
11250
  /* @__PURE__ */ jsx13("div", {
11250
- className: "h-3 w-3 shrink-0 rounded-full bg-[#febc2e]"
11251
+ className: "h-3 w-3 shrink-0 rounded-full bg-current"
11251
11252
  }),
11252
11253
  /* @__PURE__ */ jsx13("div", {
11253
- className: "h-3 w-3 shrink-0 rounded-full bg-[#28c840]"
11254
+ className: "h-3 w-3 shrink-0 rounded-full bg-current"
11254
11255
  })
11255
11256
  ]
11256
11257
  })
@@ -11543,8 +11544,51 @@ function OaLabel({
11543
11544
  children
11544
11545
  });
11545
11546
  }
11546
- // src/components/display/side_indicator.tsx
11547
+ // src/components/display/footnotes.tsx
11547
11548
  import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
11549
+
11550
+ function OaFootnotes({ items, variant = "dark", on_marker_click, className }) {
11551
+ const is_dark = variant === "dark";
11552
+ return /* @__PURE__ */ jsx21("ul", {
11553
+ className: clsx("space-y-4 text-base leading-relaxed", is_dark ? "text-realm-text-tertiary" : "text-light-text-muted", className),
11554
+ children: items.map((item, index) => {
11555
+ const marker = typeof item === "string" ? "*" : item.marker ?? "*";
11556
+ const children = typeof item === "string" ? item : item.children;
11557
+ const id = typeof item === "string" ? undefined : item.id;
11558
+ const href = typeof item === "string" ? undefined : item.href;
11559
+ const marker_class = clsx("w-8 shrink-0 transition-colors", href && (is_dark ? "hover:text-white" : "hover:text-light-text-primary"));
11560
+ return /* @__PURE__ */ jsxs13("li", {
11561
+ id,
11562
+ className: "flex",
11563
+ children: [
11564
+ href ? /* @__PURE__ */ jsxs13("a", {
11565
+ href,
11566
+ onClick: on_marker_click,
11567
+ className: marker_class,
11568
+ children: [
11569
+ "[",
11570
+ marker,
11571
+ "]"
11572
+ ]
11573
+ }) : /* @__PURE__ */ jsxs13("span", {
11574
+ className: marker_class,
11575
+ children: [
11576
+ "[",
11577
+ marker,
11578
+ "]"
11579
+ ]
11580
+ }),
11581
+ /* @__PURE__ */ jsx21("p", {
11582
+ className: "min-w-0",
11583
+ children
11584
+ })
11585
+ ]
11586
+ }, index);
11587
+ })
11588
+ });
11589
+ }
11590
+ // src/components/display/side_indicator.tsx
11591
+ import { jsx as jsx22, jsxs as jsxs14 } from "react/jsx-runtime";
11548
11592
  var is_bullish = (side) => side === "buy" || side === "long";
11549
11593
  var size_styles2 = {
11550
11594
  xs: "text-[10px]",
@@ -11581,13 +11625,13 @@ function OaSideIndicator({
11581
11625
  const dot_class = bullish ? "bg-realm-buy" : "bg-realm-sell";
11582
11626
  const display_label = label || default_labels[side] || side;
11583
11627
  if (variant === "dot") {
11584
- return /* @__PURE__ */ jsxs13("span", {
11628
+ return /* @__PURE__ */ jsxs14("span", {
11585
11629
  className: clsx("inline-flex items-center gap-1.5", className),
11586
11630
  children: [
11587
- /* @__PURE__ */ jsx21("span", {
11631
+ /* @__PURE__ */ jsx22("span", {
11588
11632
  className: clsx("rounded-full", dot_sizes[size], dot_class)
11589
11633
  }),
11590
- show_label && /* @__PURE__ */ jsx21("span", {
11634
+ show_label && /* @__PURE__ */ jsx22("span", {
11591
11635
  className: clsx(size_styles2[size], color_class),
11592
11636
  children: display_label
11593
11637
  })
@@ -11595,19 +11639,19 @@ function OaSideIndicator({
11595
11639
  });
11596
11640
  }
11597
11641
  if (variant === "badge") {
11598
- return /* @__PURE__ */ jsx21("span", {
11642
+ return /* @__PURE__ */ jsx22("span", {
11599
11643
  className: clsx("inline-flex items-center rounded font-medium uppercase", size_styles2[size], badge_padding[size], color_class, bg_class, className),
11600
11644
  children: display_label
11601
11645
  });
11602
11646
  }
11603
- return /* @__PURE__ */ jsx21("span", {
11647
+ return /* @__PURE__ */ jsx22("span", {
11604
11648
  className: clsx(size_styles2[size], color_class, className),
11605
11649
  children: display_label
11606
11650
  });
11607
11651
  }
11608
11652
  // src/components/display/price_display.tsx
11609
11653
  import { useMemo as useMemo9 } from "react";
11610
- import { jsx as jsx22, jsxs as jsxs14 } from "react/jsx-runtime";
11654
+ import { jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
11611
11655
  var size_styles3 = {
11612
11656
  xs: "text-[10px]",
11613
11657
  sm: "text-[11px]",
@@ -11667,13 +11711,13 @@ function OaPriceDisplay({
11667
11711
  return { formatted, sign };
11668
11712
  }, [value, decimals, locale, show_sign]);
11669
11713
  const color_class = get_color_class(color, value, reference_value);
11670
- return /* @__PURE__ */ jsxs14("span", {
11714
+ return /* @__PURE__ */ jsxs15("span", {
11671
11715
  className: clsx("tabular-nums", size_styles3[size], color_class, className),
11672
11716
  children: [
11673
11717
  formattedValue.sign,
11674
11718
  currency,
11675
11719
  formattedValue.formatted,
11676
- token && /* @__PURE__ */ jsx22("span", {
11720
+ token && /* @__PURE__ */ jsx23("span", {
11677
11721
  className: "text-realm-text-tertiary ml-1",
11678
11722
  children: token
11679
11723
  })
@@ -11682,7 +11726,7 @@ function OaPriceDisplay({
11682
11726
  }
11683
11727
  // src/components/display/number_display.tsx
11684
11728
  import { useMemo as useMemo10 } from "react";
11685
- import { jsxs as jsxs15 } from "react/jsx-runtime";
11729
+ import { jsxs as jsxs16 } from "react/jsx-runtime";
11686
11730
  var size_styles4 = {
11687
11731
  xs: "text-[10px]",
11688
11732
  sm: "text-[11px]",
@@ -11731,7 +11775,7 @@ function OaNumberDisplay({
11731
11775
  const sign = show_sign && value > 0 ? "+" : value < 0 ? "-" : "";
11732
11776
  return sign + formatted;
11733
11777
  }, [value, decimals, locale, show_sign]);
11734
- return /* @__PURE__ */ jsxs15("span", {
11778
+ return /* @__PURE__ */ jsxs16("span", {
11735
11779
  className: clsx("tabular-nums", size_styles4[size], variant_styles2[variant], className),
11736
11780
  children: [
11737
11781
  prefix,
@@ -11741,7 +11785,7 @@ function OaNumberDisplay({
11741
11785
  });
11742
11786
  }
11743
11787
  // src/components/display/benchmark_table.tsx
11744
- import { jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
11788
+ import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
11745
11789
 
11746
11790
  function OaBenchmarkTable({
11747
11791
  title,
@@ -11769,44 +11813,44 @@ function OaBenchmarkTable({
11769
11813
  }
11770
11814
  }
11771
11815
  }
11772
- return /* @__PURE__ */ jsxs16("div", {
11816
+ return /* @__PURE__ */ jsxs17("div", {
11773
11817
  className: clsx("my-4 sm:my-6 overflow-hidden rounded-lg sm:rounded-xl", is_dark ? "bg-[#0a0a0a]" : "bg-white border border-black/[0.08]", className),
11774
11818
  children: [
11775
- (title || subtitle) && /* @__PURE__ */ jsxs16("div", {
11819
+ (title || subtitle) && /* @__PURE__ */ jsxs17("div", {
11776
11820
  className: "px-4 sm:px-5 pt-4 sm:pt-5 pb-2",
11777
11821
  children: [
11778
- title && /* @__PURE__ */ jsx23("h3", {
11822
+ title && /* @__PURE__ */ jsx24("h3", {
11779
11823
  className: clsx("text-[11px] font-semibold uppercase tracking-[0.15em]", is_dark ? "text-white/60" : "text-black/50"),
11780
11824
  children: title
11781
11825
  }),
11782
- subtitle && /* @__PURE__ */ jsx23("p", {
11826
+ subtitle && /* @__PURE__ */ jsx24("p", {
11783
11827
  className: clsx("text-xs mt-1", is_dark ? "text-white/40" : "text-black/40"),
11784
11828
  children: subtitle
11785
11829
  })
11786
11830
  ]
11787
11831
  }),
11788
- /* @__PURE__ */ jsx23("div", {
11832
+ /* @__PURE__ */ jsx24("div", {
11789
11833
  className: "overflow-x-auto",
11790
- children: /* @__PURE__ */ jsxs16("table", {
11834
+ children: /* @__PURE__ */ jsxs17("table", {
11791
11835
  className: "w-full text-[13px]",
11792
11836
  children: [
11793
- /* @__PURE__ */ jsx23("thead", {
11794
- children: /* @__PURE__ */ jsx23("tr", {
11837
+ /* @__PURE__ */ jsx24("thead", {
11838
+ children: /* @__PURE__ */ jsx24("tr", {
11795
11839
  className: clsx("border-b", is_dark ? "border-white/[0.06]" : "border-black/[0.06]"),
11796
- children: columns.map((col) => /* @__PURE__ */ jsx23("th", {
11840
+ children: columns.map((col) => /* @__PURE__ */ jsx24("th", {
11797
11841
  className: clsx("px-4 sm:px-5 py-2.5 font-medium", "text-[10px] uppercase tracking-[0.15em]", is_dark ? "text-white/40" : "text-black/40", col.align === "right" ? "text-right" : col.align === "center" ? "text-center" : "text-left"),
11798
11842
  children: col.label
11799
11843
  }, col.key))
11800
11844
  })
11801
11845
  }),
11802
- /* @__PURE__ */ jsx23("tbody", {
11803
- children: rows.map((row, i) => /* @__PURE__ */ jsx23("tr", {
11846
+ /* @__PURE__ */ jsx24("tbody", {
11847
+ children: rows.map((row, i) => /* @__PURE__ */ jsx24("tr", {
11804
11848
  className: clsx("border-b last:border-b-0", is_dark ? "border-white/[0.04]" : "border-black/[0.04]"),
11805
11849
  children: columns.map((col) => {
11806
11850
  const val = row[col.key];
11807
11851
  const num_val = Number(val);
11808
11852
  const is_best = highlight_best && best_values[col.key] !== undefined && num_val === best_values[col.key];
11809
- return /* @__PURE__ */ jsx23("td", {
11853
+ return /* @__PURE__ */ jsx24("td", {
11810
11854
  className: clsx("px-4 sm:px-5 py-2.5 whitespace-nowrap", col.align === "right" ? "text-right tabular-nums" : col.align === "center" ? "text-center" : "text-left", is_dark ? "text-white/80" : "text-black/80", is_best && "font-semibold text-[#28c840]"),
11811
11855
  children: val ?? "—"
11812
11856
  }, col.key);
@@ -11816,20 +11860,20 @@ function OaBenchmarkTable({
11816
11860
  ]
11817
11861
  })
11818
11862
  }),
11819
- comparisons && comparisons.length > 0 && /* @__PURE__ */ jsx23("div", {
11863
+ comparisons && comparisons.length > 0 && /* @__PURE__ */ jsx24("div", {
11820
11864
  className: clsx("px-4 sm:px-5 py-3 sm:py-4 border-t flex flex-wrap gap-x-6 gap-y-2", is_dark ? "border-white/[0.06]" : "border-black/[0.06]"),
11821
- children: comparisons.map((cmp, i) => /* @__PURE__ */ jsxs16("div", {
11865
+ children: comparisons.map((cmp, i) => /* @__PURE__ */ jsxs17("div", {
11822
11866
  className: "flex items-baseline gap-2",
11823
11867
  children: [
11824
- /* @__PURE__ */ jsx23("span", {
11868
+ /* @__PURE__ */ jsx24("span", {
11825
11869
  className: clsx("text-[10px] uppercase tracking-[0.15em]", is_dark ? "text-white/40" : "text-black/40"),
11826
11870
  children: cmp.label
11827
11871
  }),
11828
- /* @__PURE__ */ jsx23("span", {
11872
+ /* @__PURE__ */ jsx24("span", {
11829
11873
  className: clsx("text-sm font-semibold tabular-nums", is_dark ? "text-white/90" : "text-black/90"),
11830
11874
  children: cmp.value
11831
11875
  }),
11832
- cmp.delta && /* @__PURE__ */ jsx23("span", {
11876
+ cmp.delta && /* @__PURE__ */ jsx24("span", {
11833
11877
  className: clsx("text-xs font-medium tabular-nums", cmp.positive ? "text-[#28c840]" : "text-[#ff453a]"),
11834
11878
  children: cmp.delta
11835
11879
  })
@@ -11840,7 +11884,7 @@ function OaBenchmarkTable({
11840
11884
  });
11841
11885
  }
11842
11886
  // src/components/display/line_table.tsx
11843
- import { jsx as jsx24, jsxs as jsxs17, Fragment as Fragment4 } from "react/jsx-runtime";
11887
+ import { jsx as jsx25, jsxs as jsxs18, Fragment as Fragment4 } from "react/jsx-runtime";
11844
11888
 
11845
11889
  function surface_classes(variant) {
11846
11890
  return variant === "dark" ? "border-white/15 bg-realm-bg-line" : "border-black/10 bg-light-bg-widget";
@@ -11857,25 +11901,25 @@ function OaLineTableGrid({
11857
11901
  }) {
11858
11902
  const is_dark = variant === "dark";
11859
11903
  const has_two_columns = columns === 2;
11860
- return /* @__PURE__ */ jsx24("div", {
11904
+ return /* @__PURE__ */ jsx25("div", {
11861
11905
  className: clsx("not-prose grid overflow-hidden rounded-xl border-2", has_two_columns && "md:grid-cols-2", surface_classes(variant), className),
11862
11906
  children: items.map((item, index) => {
11863
11907
  const number = item.number ?? String(index + 1).padStart(2, "0");
11864
11908
  const itemClassName = clsx("grid grid-cols-[2rem_minmax(0,1fr)] gap-4 px-5 py-7 sm:px-6 md:gap-6 md:px-8 md:py-9 lg:px-10", rule_classes(variant), index < items.length - 1 && "border-b-2", has_two_columns && index >= items.length - 2 && "md:border-b-0", has_two_columns && index % 2 === 0 && "md:border-r-2");
11865
- const content = /* @__PURE__ */ jsxs17(Fragment4, {
11909
+ const content = /* @__PURE__ */ jsxs18(Fragment4, {
11866
11910
  children: [
11867
- /* @__PURE__ */ jsx24("span", {
11911
+ /* @__PURE__ */ jsx25("span", {
11868
11912
  className: clsx("text-center font-mono text-[11px]", is_dark ? "text-white/35" : "text-light-text-muted"),
11869
11913
  children: number
11870
11914
  }),
11871
- /* @__PURE__ */ jsxs17("div", {
11915
+ /* @__PURE__ */ jsxs18("div", {
11872
11916
  className: "min-w-0",
11873
11917
  children: [
11874
- /* @__PURE__ */ jsx24("h3", {
11918
+ /* @__PURE__ */ jsx25("h3", {
11875
11919
  className: clsx("text-base font-medium md:text-lg", is_dark ? "text-white" : "text-light-text-primary"),
11876
11920
  children: item.title
11877
11921
  }),
11878
- /* @__PURE__ */ jsx24("div", {
11922
+ /* @__PURE__ */ jsx25("div", {
11879
11923
  className: clsx("mt-3 max-w-lg text-sm leading-relaxed [overflow-wrap:anywhere]", is_dark ? "text-white/55" : "text-light-text-tertiary"),
11880
11924
  children: item.description
11881
11925
  })
@@ -11883,14 +11927,14 @@ function OaLineTableGrid({
11883
11927
  })
11884
11928
  ]
11885
11929
  });
11886
- return animated ? /* @__PURE__ */ jsx24(motion.article, {
11930
+ return animated ? /* @__PURE__ */ jsx25(motion.article, {
11887
11931
  initial: { opacity: 0, y: 18 },
11888
11932
  whileInView: { opacity: 1, y: 0 },
11889
11933
  viewport: { once: true },
11890
11934
  transition: { duration: 0.5, delay: index * 0.06 },
11891
11935
  className: itemClassName,
11892
11936
  children: content
11893
- }, index) : /* @__PURE__ */ jsx24("article", {
11937
+ }, index) : /* @__PURE__ */ jsx25("article", {
11894
11938
  className: itemClassName,
11895
11939
  children: content
11896
11940
  }, index);
@@ -11910,37 +11954,37 @@ function OaLineTableContract({
11910
11954
  className
11911
11955
  }) {
11912
11956
  const is_dark = variant === "dark";
11913
- return /* @__PURE__ */ jsxs17("article", {
11957
+ return /* @__PURE__ */ jsxs18("article", {
11914
11958
  id,
11915
11959
  className: clsx("not-prose scroll-mt-24 overflow-hidden rounded-xl border-2 font-sans text-sm leading-relaxed md:text-base [&_code]:!rounded-none [&_code]:!border-0 [&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!font-sans [&_code]:!text-[1em] [&_code]:!leading-[inherit] [&_code]:!shadow-none", surface_classes(variant), className),
11916
11960
  children: [
11917
- /* @__PURE__ */ jsxs17("header", {
11961
+ /* @__PURE__ */ jsxs18("header", {
11918
11962
  className: clsx("border-b-2 px-5 py-5 sm:px-6 md:px-8 md:py-6", rule_classes(variant)),
11919
11963
  children: [
11920
- title || meta ? /* @__PURE__ */ jsxs17("div", {
11964
+ title || meta ? /* @__PURE__ */ jsxs18("div", {
11921
11965
  className: "mb-3 flex flex-wrap items-center justify-between gap-3",
11922
11966
  children: [
11923
- title ? /* @__PURE__ */ jsx24("h3", {
11967
+ title ? /* @__PURE__ */ jsx25("h3", {
11924
11968
  className: clsx("m-0 font-mono text-sm font-medium md:text-base", is_dark ? "text-white" : "text-light-text-primary"),
11925
11969
  children: title
11926
11970
  }) : null,
11927
- meta ? /* @__PURE__ */ jsx24("div", {
11971
+ meta ? /* @__PURE__ */ jsx25("div", {
11928
11972
  className: clsx("font-mono text-[10px] uppercase tracking-wider", is_dark ? "text-white/35" : "text-light-text-muted"),
11929
11973
  children: meta
11930
11974
  }) : null
11931
11975
  ]
11932
11976
  }) : null,
11933
- /* @__PURE__ */ jsxs17("div", {
11977
+ /* @__PURE__ */ jsxs18("div", {
11934
11978
  className: "flex items-start justify-between gap-5",
11935
11979
  children: [
11936
- /* @__PURE__ */ jsx24("div", {
11980
+ /* @__PURE__ */ jsx25("div", {
11937
11981
  className: "min-w-0 flex-1 overflow-x-auto",
11938
- children: /* @__PURE__ */ jsx24("code", {
11982
+ children: /* @__PURE__ */ jsx25("code", {
11939
11983
  className: clsx("block min-w-max whitespace-pre-wrap [overflow-wrap:anywhere]", is_dark ? "text-white/70" : "text-light-text-secondary"),
11940
11984
  children: signature
11941
11985
  })
11942
11986
  }),
11943
- headerAction ? /* @__PURE__ */ jsx24("div", {
11987
+ headerAction ? /* @__PURE__ */ jsx25("div", {
11944
11988
  className: "shrink-0",
11945
11989
  children: headerAction
11946
11990
  }) : null
@@ -11948,15 +11992,15 @@ function OaLineTableContract({
11948
11992
  })
11949
11993
  ]
11950
11994
  }),
11951
- /* @__PURE__ */ jsxs17("div", {
11995
+ /* @__PURE__ */ jsxs18("div", {
11952
11996
  className: "px-5 py-6 sm:px-6 md:px-8 md:py-7",
11953
11997
  children: [
11954
- /* @__PURE__ */ jsx24("div", {
11998
+ /* @__PURE__ */ jsx25("div", {
11955
11999
  className: clsx("max-w-3xl", is_dark ? "text-white/70" : "text-light-text-secondary"),
11956
12000
  children: description
11957
12001
  }),
11958
12002
  children,
11959
- footer ? /* @__PURE__ */ jsx24("div", {
12003
+ footer ? /* @__PURE__ */ jsx25("div", {
11960
12004
  className: "mt-6 flex flex-wrap items-center gap-x-6 gap-y-3",
11961
12005
  children: footer
11962
12006
  }) : null
@@ -11966,15 +12010,15 @@ function OaLineTableContract({
11966
12010
  });
11967
12011
  }
11968
12012
  function OaLineTable(props) {
11969
- return props.layout === "contract" ? /* @__PURE__ */ jsx24(OaLineTableContract, {
12013
+ return props.layout === "contract" ? /* @__PURE__ */ jsx25(OaLineTableContract, {
11970
12014
  ...props
11971
- }) : /* @__PURE__ */ jsx24(OaLineTableGrid, {
12015
+ }) : /* @__PURE__ */ jsx25(OaLineTableGrid, {
11972
12016
  ...props
11973
12017
  });
11974
12018
  }
11975
12019
  // src/components/display/hero.tsx
11976
12020
  import { useState as useState5, useEffect as useEffect5, useCallback as useCallback6 } from "react";
11977
- import { jsx as jsx25, jsxs as jsxs18, Fragment as Fragment5 } from "react/jsx-runtime";
12021
+ import { jsx as jsx26, jsxs as jsxs19, Fragment as Fragment5 } from "react/jsx-runtime";
11978
12022
 
11979
12023
  var preset_aspects = {
11980
12024
  hero: "aspect-[4/3] md:aspect-[16/9]",
@@ -11988,9 +12032,9 @@ function OaHeroIndicators({
11988
12032
  }) {
11989
12033
  if (count <= 1)
11990
12034
  return null;
11991
- return /* @__PURE__ */ jsx25("div", {
12035
+ return /* @__PURE__ */ jsx26("div", {
11992
12036
  className: "hidden md:flex absolute bottom-8 lg:bottom-12 left-1/2 -translate-x-1/2 gap-2.5 z-20",
11993
- children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ jsx25("button", {
12037
+ children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ jsx26("button", {
11994
12038
  onClick: () => on_select(i),
11995
12039
  className: clsx("h-3 rounded-md transition-all duration-300 cursor-pointer", i === current ? "bg-white w-12" : "bg-white/30 w-3 hover:bg-white/50"),
11996
12040
  "aria-label": `View image ${i + 1}`
@@ -12003,11 +12047,11 @@ function OaHeroArrow({
12003
12047
  }) {
12004
12048
  const Icon = direction === "left" ? ChevronLeft : ChevronRight;
12005
12049
  const pos_class = direction === "left" ? "left-4 lg:left-6" : "right-4 lg:right-6";
12006
- return /* @__PURE__ */ jsx25("button", {
12050
+ return /* @__PURE__ */ jsx26("button", {
12007
12051
  onClick,
12008
12052
  className: clsx("hidden md:flex absolute top-1/2 -translate-y-1/2 z-20", "w-10 h-10 rounded-full items-center justify-center", "bg-black/30 backdrop-blur-sm border border-white/10", "opacity-0 group-hover:opacity-100 transition-opacity duration-300", "cursor-pointer hover:bg-black/50", pos_class),
12009
12053
  "aria-label": direction === "left" ? "Previous image" : "Next image",
12010
- children: /* @__PURE__ */ jsx25(Icon, {
12054
+ children: /* @__PURE__ */ jsx26(Icon, {
12011
12055
  size: 20,
12012
12056
  className: "text-white"
12013
12057
  })
@@ -12044,25 +12088,25 @@ function OaHero({
12044
12088
  right: clsx("flex items-end justify-end text-right px-6 pt-6 lg:px-10 lg:pt-10", is_carousel ? "pb-16 lg:pb-24" : "pb-6 lg:pb-10")
12045
12089
  };
12046
12090
  const content_width_class = preset === "hero" ? "w-full" : align !== "left" ? "w-full lg:max-w-[50%]" : "max-w-lg lg:max-w-[50%]";
12047
- return /* @__PURE__ */ jsxs18("div", {
12091
+ return /* @__PURE__ */ jsxs19("div", {
12048
12092
  className: clsx("relative w-full rounded-2xl overflow-hidden bg-black font-sans group", preset_aspects[preset], className),
12049
12093
  children: [
12050
- mode === "video" && video_src ? /* @__PURE__ */ jsx25("video", {
12094
+ mode === "video" && video_src ? /* @__PURE__ */ jsx26("video", {
12051
12095
  autoPlay: true,
12052
12096
  muted: true,
12053
12097
  loop: true,
12054
12098
  playsInline: true,
12055
12099
  className: "absolute inset-0 w-full h-full object-cover",
12056
- children: /* @__PURE__ */ jsx25("source", {
12100
+ children: /* @__PURE__ */ jsx26("source", {
12057
12101
  src: video_src
12058
12102
  })
12059
- }) : images.map((img, index) => /* @__PURE__ */ jsx25(motion.div, {
12103
+ }) : images.map((img, index) => /* @__PURE__ */ jsx26(motion.div, {
12060
12104
  initial: false,
12061
12105
  animate: { opacity: is_carousel ? index === current ? 1 : 0 : 1 },
12062
12106
  transition: { duration: 0.8 },
12063
12107
  className: "absolute inset-0",
12064
12108
  "aria-hidden": is_carousel && index !== current,
12065
- children: /* @__PURE__ */ jsx25("img", {
12109
+ children: /* @__PURE__ */ jsx26("img", {
12066
12110
  src: img.src,
12067
12111
  alt: img.alt ?? "",
12068
12112
  loading: index === 0 ? "eager" : "lazy",
@@ -12070,31 +12114,31 @@ function OaHero({
12070
12114
  style: { objectPosition: img.position ?? "center" }
12071
12115
  })
12072
12116
  }, img.src)),
12073
- film_grain && /* @__PURE__ */ jsx25("div", {
12117
+ film_grain && /* @__PURE__ */ jsx26("div", {
12074
12118
  className: "absolute inset-0 film-grain pointer-events-none"
12075
12119
  }),
12076
- /* @__PURE__ */ jsx25("div", {
12120
+ /* @__PURE__ */ jsx26("div", {
12077
12121
  className: clsx("absolute inset-0 z-10", align_classes[align]),
12078
- children: /* @__PURE__ */ jsx25("div", {
12122
+ children: /* @__PURE__ */ jsx26("div", {
12079
12123
  className: clsx(content_width_class, "text-white"),
12080
12124
  children
12081
12125
  })
12082
12126
  }),
12083
- is_carousel && /* @__PURE__ */ jsxs18(Fragment5, {
12127
+ is_carousel && /* @__PURE__ */ jsxs19(Fragment5, {
12084
12128
  children: [
12085
- show_arrows && /* @__PURE__ */ jsxs18(Fragment5, {
12129
+ show_arrows && /* @__PURE__ */ jsxs19(Fragment5, {
12086
12130
  children: [
12087
- /* @__PURE__ */ jsx25(OaHeroArrow, {
12131
+ /* @__PURE__ */ jsx26(OaHeroArrow, {
12088
12132
  direction: "left",
12089
12133
  onClick: prev
12090
12134
  }),
12091
- /* @__PURE__ */ jsx25(OaHeroArrow, {
12135
+ /* @__PURE__ */ jsx26(OaHeroArrow, {
12092
12136
  direction: "right",
12093
12137
  onClick: next
12094
12138
  })
12095
12139
  ]
12096
12140
  }),
12097
- /* @__PURE__ */ jsx25(OaHeroIndicators, {
12141
+ /* @__PURE__ */ jsx26(OaHeroIndicators, {
12098
12142
  count: images.length,
12099
12143
  current,
12100
12144
  on_select: goTo
@@ -12106,7 +12150,7 @@ function OaHero({
12106
12150
  }
12107
12151
  // src/components/form/button.tsx
12108
12152
  import { forwardRef as forwardRef4 } from "react";
12109
- import { jsx as jsx26, jsxs as jsxs19, Fragment as Fragment6 } from "react/jsx-runtime";
12153
+ import { jsx as jsx27, jsxs as jsxs20, Fragment as Fragment6 } from "react/jsx-runtime";
12110
12154
  var variant_styles3 = {
12111
12155
  primary: "bg-white text-[#0a0a0a] hover:bg-white/90",
12112
12156
  secondary: "bg-realm-bg-widget text-realm-text-primary hover:bg-realm-bg-hover border border-white/10",
@@ -12133,16 +12177,16 @@ var OaButton = forwardRef4(({
12133
12177
  ...props
12134
12178
  }, ref) => {
12135
12179
  const base_styles = "inline-flex items-center justify-center font-medium rounded-lg transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed";
12136
- return /* @__PURE__ */ jsx26("button", {
12180
+ return /* @__PURE__ */ jsx27("button", {
12137
12181
  ref,
12138
12182
  className: clsx(base_styles, variant_styles3[variant], size_styles5[size], full_width && "w-full", className),
12139
12183
  disabled: disabled || loading,
12140
12184
  ...props,
12141
- children: loading ? /* @__PURE__ */ jsxs19("svg", {
12185
+ children: loading ? /* @__PURE__ */ jsxs20("svg", {
12142
12186
  className: "animate-spin h-4 w-4",
12143
12187
  viewBox: "0 0 24 24",
12144
12188
  children: [
12145
- /* @__PURE__ */ jsx26("circle", {
12189
+ /* @__PURE__ */ jsx27("circle", {
12146
12190
  className: "opacity-25",
12147
12191
  cx: "12",
12148
12192
  cy: "12",
@@ -12151,13 +12195,13 @@ var OaButton = forwardRef4(({
12151
12195
  strokeWidth: "4",
12152
12196
  fill: "none"
12153
12197
  }),
12154
- /* @__PURE__ */ jsx26("path", {
12198
+ /* @__PURE__ */ jsx27("path", {
12155
12199
  className: "opacity-75",
12156
12200
  fill: "currentColor",
12157
12201
  d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"
12158
12202
  })
12159
12203
  ]
12160
- }) : /* @__PURE__ */ jsxs19(Fragment6, {
12204
+ }) : /* @__PURE__ */ jsxs20(Fragment6, {
12161
12205
  children: [
12162
12206
  left_icon,
12163
12207
  children,
@@ -12178,7 +12222,7 @@ var OaButtonLink = forwardRef4(({
12178
12222
  ...props
12179
12223
  }, ref) => {
12180
12224
  const base_styles = "inline-flex items-center justify-center font-medium rounded-lg transition-all duration-200";
12181
- return /* @__PURE__ */ jsxs19("a", {
12225
+ return /* @__PURE__ */ jsxs20("a", {
12182
12226
  ref,
12183
12227
  className: clsx(base_styles, variant_styles3[variant], size_styles5[size], full_width && "w-full", className),
12184
12228
  ...props,
@@ -12197,7 +12241,7 @@ var oa_button_styles = {
12197
12241
  };
12198
12242
  // src/components/form/input.tsx
12199
12243
  import { forwardRef as forwardRef5 } from "react";
12200
- import { jsx as jsx27, jsxs as jsxs20 } from "react/jsx-runtime";
12244
+ import { jsx as jsx28, jsxs as jsxs21 } from "react/jsx-runtime";
12201
12245
  var OaInput = forwardRef5(({
12202
12246
  label,
12203
12247
  error,
@@ -12208,32 +12252,32 @@ var OaInput = forwardRef5(({
12208
12252
  className,
12209
12253
  ...props
12210
12254
  }, ref) => {
12211
- return /* @__PURE__ */ jsxs20("div", {
12255
+ return /* @__PURE__ */ jsxs21("div", {
12212
12256
  className: clsx(full_width && "w-full"),
12213
12257
  children: [
12214
- label && /* @__PURE__ */ jsx27("label", {
12258
+ label && /* @__PURE__ */ jsx28("label", {
12215
12259
  className: "block text-[11px] uppercase tracking-wider text-realm-text-tertiary mb-1.5",
12216
12260
  children: label
12217
12261
  }),
12218
- /* @__PURE__ */ jsxs20("div", {
12262
+ /* @__PURE__ */ jsxs21("div", {
12219
12263
  className: "relative",
12220
12264
  children: [
12221
- left_addon && /* @__PURE__ */ jsx27("div", {
12265
+ left_addon && /* @__PURE__ */ jsx28("div", {
12222
12266
  className: "absolute left-3 top-1/2 -translate-y-1/2 text-realm-text-muted",
12223
12267
  children: left_addon
12224
12268
  }),
12225
- /* @__PURE__ */ jsx27("input", {
12269
+ /* @__PURE__ */ jsx28("input", {
12226
12270
  ref,
12227
12271
  className: clsx("w-full bg-realm-bg-input border rounded-lg", "text-[13px] text-realm-text-primary placeholder:text-realm-text-muted", "transition-colors duration-200", "focus:outline-none focus:ring-1", error ? "border-realm-sell focus:ring-realm-sell/50" : "border-white/10 focus:border-white/20 focus:ring-white/10", left_addon ? "pl-10" : "pl-3", right_addon ? "pr-10" : "pr-3", "py-2.5", className),
12228
12272
  ...props
12229
12273
  }),
12230
- right_addon && /* @__PURE__ */ jsx27("div", {
12274
+ right_addon && /* @__PURE__ */ jsx28("div", {
12231
12275
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-realm-text-muted",
12232
12276
  children: right_addon
12233
12277
  })
12234
12278
  ]
12235
12279
  }),
12236
- (error || helper) && /* @__PURE__ */ jsx27("p", {
12280
+ (error || helper) && /* @__PURE__ */ jsx28("p", {
12237
12281
  className: clsx("text-[11px] mt-1.5", error ? "text-realm-sell" : "text-realm-text-muted"),
12238
12282
  children: error || helper
12239
12283
  })
@@ -12243,7 +12287,7 @@ var OaInput = forwardRef5(({
12243
12287
  OaInput.displayName = "OaInput";
12244
12288
  // src/components/form/number_input.tsx
12245
12289
  import { forwardRef as forwardRef6, useState as useState6, useCallback as useCallback7 } from "react";
12246
- import { jsx as jsx28, jsxs as jsxs21 } from "react/jsx-runtime";
12290
+ import { jsx as jsx29, jsxs as jsxs22 } from "react/jsx-runtime";
12247
12291
  var OaNumberInput = forwardRef6(({
12248
12292
  value,
12249
12293
  onChange,
@@ -12336,33 +12380,33 @@ var OaNumberInput = forwardRef6(({
12336
12380
  onChange(decimals !== undefined ? new_val.toFixed(decimals) : String(new_val));
12337
12381
  }, [value, step, min, decimals, onChange]);
12338
12382
  const display_value = is_focused ? value : formatValue(value);
12339
- return /* @__PURE__ */ jsxs21("div", {
12383
+ return /* @__PURE__ */ jsxs22("div", {
12340
12384
  className: clsx(full_width && "w-full", className),
12341
12385
  children: [
12342
- label && /* @__PURE__ */ jsx28("label", {
12386
+ label && /* @__PURE__ */ jsx29("label", {
12343
12387
  className: "block text-[11px] uppercase tracking-wider text-realm-text-tertiary mb-1.5",
12344
12388
  children: label
12345
12389
  }),
12346
- /* @__PURE__ */ jsxs21("div", {
12390
+ /* @__PURE__ */ jsxs22("div", {
12347
12391
  className: "relative",
12348
12392
  children: [
12349
- show_buttons && /* @__PURE__ */ jsx28("button", {
12393
+ show_buttons && /* @__PURE__ */ jsx29("button", {
12350
12394
  type: "button",
12351
12395
  onClick: handleDecrement,
12352
12396
  disabled: disabled || min !== undefined && parseFloat(value) <= min,
12353
12397
  className: clsx("absolute left-0 top-0 bottom-0 flex items-center justify-center", "text-realm-text-tertiary hover:text-realm-text-primary transition-colors", "disabled:opacity-30 disabled:cursor-not-allowed", size === "sm" ? "w-8" : size === "md" ? "w-10" : "w-12"),
12354
- children: /* @__PURE__ */ jsx28(Minus, {
12398
+ children: /* @__PURE__ */ jsx29(Minus, {
12355
12399
  className: size === "sm" ? "w-3 h-3" : "w-4 h-4"
12356
12400
  })
12357
12401
  }),
12358
- /* @__PURE__ */ jsxs21("div", {
12402
+ /* @__PURE__ */ jsxs22("div", {
12359
12403
  className: "relative flex items-center",
12360
12404
  children: [
12361
- prefix && /* @__PURE__ */ jsx28("span", {
12405
+ prefix && /* @__PURE__ */ jsx29("span", {
12362
12406
  className: clsx("absolute text-realm-text-muted pointer-events-none", show_buttons ? size === "sm" ? "left-9" : size === "md" ? "left-11" : "left-13" : "left-3"),
12363
12407
  children: prefix
12364
12408
  }),
12365
- /* @__PURE__ */ jsx28("input", {
12409
+ /* @__PURE__ */ jsx29("input", {
12366
12410
  ref,
12367
12411
  type: "text",
12368
12412
  inputMode: "decimal",
@@ -12374,24 +12418,24 @@ var OaNumberInput = forwardRef6(({
12374
12418
  disabled,
12375
12419
  className: clsx("w-full bg-realm-bg-input border rounded-lg tabular-nums text-center", "text-realm-text-primary placeholder:text-realm-text-muted", "transition-colors duration-200", "focus:outline-none focus:ring-1", error ? "border-realm-sell focus:ring-realm-sell/50" : "border-white/10 focus:border-white/20 focus:ring-white/10", size_classes[size], padding_classes[size], prefix && "pl-8", suffix && "pr-12", disabled && "opacity-50 cursor-not-allowed")
12376
12420
  }),
12377
- suffix && /* @__PURE__ */ jsx28("span", {
12421
+ suffix && /* @__PURE__ */ jsx29("span", {
12378
12422
  className: clsx("absolute right-0 text-realm-text-muted pointer-events-none", show_buttons ? size === "sm" ? "right-9" : size === "md" ? "right-11" : "right-13" : "right-3"),
12379
12423
  children: suffix
12380
12424
  })
12381
12425
  ]
12382
12426
  }),
12383
- show_buttons && /* @__PURE__ */ jsx28("button", {
12427
+ show_buttons && /* @__PURE__ */ jsx29("button", {
12384
12428
  type: "button",
12385
12429
  onClick: handleIncrement,
12386
12430
  disabled: disabled || max !== undefined && parseFloat(value) >= max,
12387
12431
  className: clsx("absolute right-0 top-0 bottom-0 flex items-center justify-center", "text-realm-text-tertiary hover:text-realm-text-primary transition-colors", "disabled:opacity-30 disabled:cursor-not-allowed", size === "sm" ? "w-8" : size === "md" ? "w-10" : "w-12"),
12388
- children: /* @__PURE__ */ jsx28(Plus, {
12432
+ children: /* @__PURE__ */ jsx29(Plus, {
12389
12433
  className: size === "sm" ? "w-3 h-3" : "w-4 h-4"
12390
12434
  })
12391
12435
  })
12392
12436
  ]
12393
12437
  }),
12394
- error && /* @__PURE__ */ jsx28("p", {
12438
+ error && /* @__PURE__ */ jsx29("p", {
12395
12439
  className: "text-[11px] mt-1.5 text-realm-sell",
12396
12440
  children: error
12397
12441
  })
@@ -12402,7 +12446,7 @@ OaNumberInput.displayName = "OaNumberInput";
12402
12446
  // src/components/form/select.tsx
12403
12447
  import { useState as useState7, useRef as useRef5, useEffect as useEffect6, useCallback as useCallback8, useMemo as useMemo11 } from "react";
12404
12448
  import { createPortal } from "react-dom";
12405
- import { jsx as jsx29, jsxs as jsxs22 } from "react/jsx-runtime";
12449
+ import { jsx as jsx30, jsxs as jsxs23 } from "react/jsx-runtime";
12406
12450
  function OaSelect({
12407
12451
  options,
12408
12452
  value,
@@ -12503,7 +12547,7 @@ function OaSelect({
12503
12547
  const render_dropdown = () => {
12504
12548
  if (!is_open)
12505
12549
  return null;
12506
- return createPortal(/* @__PURE__ */ jsxs22("div", {
12550
+ return createPortal(/* @__PURE__ */ jsxs23("div", {
12507
12551
  ref: dropdownRef,
12508
12552
  className: "fixed z-[200] bg-realm-bg-widget border border-white/10 rounded-xl shadow-2xl overflow-hidden animate-in fade-in slide-in-from-top-1 duration-150",
12509
12553
  style: {
@@ -12513,15 +12557,15 @@ function OaSelect({
12513
12557
  maxHeight: 320
12514
12558
  },
12515
12559
  children: [
12516
- searchable && /* @__PURE__ */ jsx29("div", {
12560
+ searchable && /* @__PURE__ */ jsx30("div", {
12517
12561
  className: "p-2 border-b border-white/5",
12518
- children: /* @__PURE__ */ jsxs22("div", {
12562
+ children: /* @__PURE__ */ jsxs23("div", {
12519
12563
  className: "relative",
12520
12564
  children: [
12521
- /* @__PURE__ */ jsx29(Search, {
12565
+ /* @__PURE__ */ jsx30(Search, {
12522
12566
  className: "absolute left-2.5 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-realm-text-muted pointer-events-none"
12523
12567
  }),
12524
- /* @__PURE__ */ jsx29("input", {
12568
+ /* @__PURE__ */ jsx30("input", {
12525
12569
  ref: searchInputRef,
12526
12570
  type: "text",
12527
12571
  value: search,
@@ -12532,37 +12576,37 @@ function OaSelect({
12532
12576
  ]
12533
12577
  })
12534
12578
  }),
12535
- /* @__PURE__ */ jsx29("div", {
12579
+ /* @__PURE__ */ jsx30("div", {
12536
12580
  className: "overflow-y-auto py-1",
12537
12581
  style: { maxHeight: searchable ? 260 : 304 },
12538
- children: filtered_options.length === 0 ? /* @__PURE__ */ jsx29("div", {
12582
+ children: filtered_options.length === 0 ? /* @__PURE__ */ jsx30("div", {
12539
12583
  className: "px-3 py-4 text-center text-[12px] text-realm-text-tertiary",
12540
12584
  children: "No options found"
12541
12585
  }) : filtered_options.map((option) => {
12542
12586
  const is_selected = option.value === value;
12543
- return /* @__PURE__ */ jsxs22("button", {
12587
+ return /* @__PURE__ */ jsxs23("button", {
12544
12588
  onClick: () => !option.disabled && handleSelect(option.value),
12545
12589
  disabled: option.disabled,
12546
12590
  className: clsx("w-full px-3 py-2.5 flex items-center gap-3 text-left transition-colors", option.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-realm-bg-hover cursor-pointer", is_selected && "bg-realm-bg-active"),
12547
12591
  children: [
12548
- option.icon && /* @__PURE__ */ jsx29("div", {
12592
+ option.icon && /* @__PURE__ */ jsx30("div", {
12549
12593
  className: "flex-shrink-0 w-5 h-5 flex items-center justify-center",
12550
12594
  children: option.icon
12551
12595
  }),
12552
- /* @__PURE__ */ jsxs22("div", {
12596
+ /* @__PURE__ */ jsxs23("div", {
12553
12597
  className: "flex-1 min-w-0",
12554
12598
  children: [
12555
- /* @__PURE__ */ jsx29("div", {
12599
+ /* @__PURE__ */ jsx30("div", {
12556
12600
  className: clsx("text-[13px] truncate", is_selected ? "text-realm-text-primary font-medium" : "text-realm-text-secondary"),
12557
12601
  children: option.label
12558
12602
  }),
12559
- option.description && /* @__PURE__ */ jsx29("div", {
12603
+ option.description && /* @__PURE__ */ jsx30("div", {
12560
12604
  className: "text-[11px] text-realm-text-tertiary truncate",
12561
12605
  children: option.description
12562
12606
  })
12563
12607
  ]
12564
12608
  }),
12565
- is_selected && /* @__PURE__ */ jsx29(Check, {
12609
+ is_selected && /* @__PURE__ */ jsx30(Check, {
12566
12610
  className: "flex-shrink-0 w-4 h-4 text-realm-buy"
12567
12611
  })
12568
12612
  ]
@@ -12572,34 +12616,34 @@ function OaSelect({
12572
12616
  ]
12573
12617
  }), document.body);
12574
12618
  };
12575
- return /* @__PURE__ */ jsxs22("div", {
12619
+ return /* @__PURE__ */ jsxs23("div", {
12576
12620
  className: clsx(full_width && "w-full"),
12577
12621
  children: [
12578
- label && /* @__PURE__ */ jsx29("label", {
12622
+ label && /* @__PURE__ */ jsx30("label", {
12579
12623
  className: "block text-[10px] uppercase tracking-wider text-realm-text-muted mb-1.5",
12580
12624
  children: label
12581
12625
  }),
12582
- /* @__PURE__ */ jsxs22("button", {
12626
+ /* @__PURE__ */ jsxs23("button", {
12583
12627
  ref: trigger_ref,
12584
12628
  type: "button",
12585
12629
  onClick: () => is_open ? handleClose() : handleOpen(),
12586
12630
  disabled,
12587
12631
  className: clsx("w-full bg-realm-bg-input border rounded-lg", "text-left transition-colors duration-200", "focus:outline-none focus:ring-1", error ? "border-realm-sell focus:ring-realm-sell/50" : "border-white/5 hover:border-white/10 focus:border-white/20 focus:ring-white/10", disabled && "opacity-50 cursor-not-allowed", compact ? "px-3 py-2" : "px-4 py-2.5", "flex items-center gap-2", className),
12588
12632
  children: [
12589
- selected_option?.icon && /* @__PURE__ */ jsx29("div", {
12633
+ selected_option?.icon && /* @__PURE__ */ jsx30("div", {
12590
12634
  className: "flex-shrink-0 w-5 h-5 flex items-center justify-center",
12591
12635
  children: selected_option.icon
12592
12636
  }),
12593
- /* @__PURE__ */ jsx29("span", {
12637
+ /* @__PURE__ */ jsx30("span", {
12594
12638
  className: clsx("flex-1 min-w-0 truncate text-[13px]", selected_option ? "text-realm-text-primary" : "text-realm-text-muted"),
12595
12639
  children: selected_option?.label || placeholder
12596
12640
  }),
12597
- /* @__PURE__ */ jsx29(ChevronDown, {
12641
+ /* @__PURE__ */ jsx30(ChevronDown, {
12598
12642
  className: clsx("flex-shrink-0 w-4 h-4 text-realm-text-tertiary transition-transform", is_open && "rotate-180")
12599
12643
  })
12600
12644
  ]
12601
12645
  }),
12602
- (error || helper) && /* @__PURE__ */ jsx29("p", {
12646
+ (error || helper) && /* @__PURE__ */ jsx30("p", {
12603
12647
  className: clsx("text-[11px] mt-1.5", error ? "text-realm-sell" : "text-realm-text-muted"),
12604
12648
  children: error || helper
12605
12649
  }),
@@ -12608,7 +12652,7 @@ function OaSelect({
12608
12652
  });
12609
12653
  }
12610
12654
  // src/components/feedback/loading.tsx
12611
- import { jsx as jsx30, jsxs as jsxs23 } from "react/jsx-runtime";
12655
+ import { jsx as jsx31, jsxs as jsxs24 } from "react/jsx-runtime";
12612
12656
  function OaSpinner({ size = "md", color = "default", className }) {
12613
12657
  const size_classes = {
12614
12658
  xs: "h-3 w-3",
@@ -12623,12 +12667,12 @@ function OaSpinner({ size = "md", color = "default", className }) {
12623
12667
  sell: "text-realm-sell",
12624
12668
  muted: "text-realm-text-muted"
12625
12669
  };
12626
- return /* @__PURE__ */ jsxs23("svg", {
12670
+ return /* @__PURE__ */ jsxs24("svg", {
12627
12671
  className: clsx("animate-spin", size_classes[size], color_classes[color], className),
12628
12672
  viewBox: "0 0 24 24",
12629
12673
  fill: "none",
12630
12674
  children: [
12631
- /* @__PURE__ */ jsx30("circle", {
12675
+ /* @__PURE__ */ jsx31("circle", {
12632
12676
  className: "opacity-25",
12633
12677
  cx: "12",
12634
12678
  cy: "12",
@@ -12636,7 +12680,7 @@ function OaSpinner({ size = "md", color = "default", className }) {
12636
12680
  stroke: "currentColor",
12637
12681
  strokeWidth: "4"
12638
12682
  }),
12639
- /* @__PURE__ */ jsx30("path", {
12683
+ /* @__PURE__ */ jsx31("path", {
12640
12684
  className: "opacity-75",
12641
12685
  fill: "currentColor",
12642
12686
  d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"
@@ -12645,9 +12689,9 @@ function OaSpinner({ size = "md", color = "default", className }) {
12645
12689
  });
12646
12690
  }
12647
12691
  function OaLoadingDots({ className }) {
12648
- return /* @__PURE__ */ jsx30("div", {
12692
+ return /* @__PURE__ */ jsx31("div", {
12649
12693
  className: clsx("flex items-center gap-1", className),
12650
- children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx30("div", {
12694
+ children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx31("div", {
12651
12695
  className: "w-1.5 h-1.5 bg-realm-text-tertiary rounded-full animate-pulse",
12652
12696
  style: { animationDelay: `${i * 150}ms` }
12653
12697
  }, i))
@@ -12665,19 +12709,19 @@ function OaSkeleton({
12665
12709
  lg: "rounded-lg",
12666
12710
  full: "rounded-full"
12667
12711
  };
12668
- return /* @__PURE__ */ jsx30("div", {
12712
+ return /* @__PURE__ */ jsx31("div", {
12669
12713
  className: clsx("bg-realm-bg-hover animate-pulse", rounded_classes[rounded], className),
12670
12714
  style: { width, height }
12671
12715
  });
12672
12716
  }
12673
12717
  function OaLoadingOverlay({ loading, children, className }) {
12674
- return /* @__PURE__ */ jsxs23("div", {
12718
+ return /* @__PURE__ */ jsxs24("div", {
12675
12719
  className: clsx("relative", className),
12676
12720
  children: [
12677
12721
  children,
12678
- loading && /* @__PURE__ */ jsx30("div", {
12722
+ loading && /* @__PURE__ */ jsx31("div", {
12679
12723
  className: "absolute inset-0 bg-realm-bg-base/80 backdrop-blur-sm flex items-center justify-center z-50",
12680
- children: /* @__PURE__ */ jsx30(OaSpinner, {
12724
+ children: /* @__PURE__ */ jsx31(OaSpinner, {
12681
12725
  size: "lg"
12682
12726
  })
12683
12727
  })
@@ -12687,7 +12731,7 @@ function OaLoadingOverlay({ loading, children, className }) {
12687
12731
  // src/components/feedback/modal.tsx
12688
12732
  import { useEffect as useEffect7, useRef as useRef6 } from "react";
12689
12733
  import { createPortal as createPortal2 } from "react-dom";
12690
- import { jsx as jsx31, jsxs as jsxs24 } from "react/jsx-runtime";
12734
+ import { jsx as jsx32, jsxs as jsxs25 } from "react/jsx-runtime";
12691
12735
 
12692
12736
  var size_classes4 = {
12693
12737
  sm: "max-w-sm",
@@ -12752,44 +12796,44 @@ function OaModal({
12752
12796
  }, [is_open]);
12753
12797
  if (!is_open)
12754
12798
  return null;
12755
- const modal_content = /* @__PURE__ */ jsxs24("div", {
12799
+ const modal_content = /* @__PURE__ */ jsxs25("div", {
12756
12800
  className: "fixed inset-0 z-[60] flex items-center justify-center p-4",
12757
12801
  role: "dialog",
12758
12802
  "aria-modal": "true",
12759
12803
  "aria-labelledby": title ? "modal-title" : undefined,
12760
12804
  children: [
12761
- /* @__PURE__ */ jsx31("div", {
12805
+ /* @__PURE__ */ jsx32("div", {
12762
12806
  className: "absolute inset-0 bg-black/60 backdrop-blur-sm",
12763
12807
  onClick: close_on_backdrop ? on_close : undefined,
12764
12808
  "aria-hidden": "true"
12765
12809
  }),
12766
- /* @__PURE__ */ jsxs24("div", {
12810
+ /* @__PURE__ */ jsxs25("div", {
12767
12811
  ref: modal_ref,
12768
12812
  className: clsx("relative w-full", size_classes4[size], "bg-realm-bg-widget rounded-xl", "shadow-2xl shadow-black/50", "animate-in fade-in zoom-in-95 duration-200", className),
12769
12813
  children: [
12770
- (title || show_close) && /* @__PURE__ */ jsxs24("div", {
12814
+ (title || show_close) && /* @__PURE__ */ jsxs25("div", {
12771
12815
  className: "flex items-center justify-between px-5 py-4 border-b border-white/5",
12772
12816
  children: [
12773
- title && /* @__PURE__ */ jsx31("h2", {
12817
+ title && /* @__PURE__ */ jsx32("h2", {
12774
12818
  id: "modal-title",
12775
12819
  className: "text-[15px] font-medium text-realm-text-primary",
12776
12820
  children: title
12777
12821
  }),
12778
- show_close && /* @__PURE__ */ jsx31("button", {
12822
+ show_close && /* @__PURE__ */ jsx32("button", {
12779
12823
  onClick: on_close,
12780
12824
  className: "p-1 rounded hover:bg-realm-bg-hover transition-colors -mr-1",
12781
12825
  "aria-label": "Close modal",
12782
- children: /* @__PURE__ */ jsx31(X, {
12826
+ children: /* @__PURE__ */ jsx32(X, {
12783
12827
  className: "w-5 h-5 text-realm-text-tertiary hover:text-realm-text-primary"
12784
12828
  })
12785
12829
  })
12786
12830
  ]
12787
12831
  }),
12788
- /* @__PURE__ */ jsx31("div", {
12832
+ /* @__PURE__ */ jsx32("div", {
12789
12833
  className: "px-5 py-4",
12790
12834
  children
12791
12835
  }),
12792
- footer && /* @__PURE__ */ jsx31("div", {
12836
+ footer && /* @__PURE__ */ jsx32("div", {
12793
12837
  className: "px-5 py-4 border-t border-white/5 flex items-center justify-end gap-3",
12794
12838
  children: footer
12795
12839
  })
@@ -12800,7 +12844,7 @@ function OaModal({
12800
12844
  return createPortal2(modal_content, document.body);
12801
12845
  }
12802
12846
  // src/components/feedback/callout.tsx
12803
- import { jsx as jsx32, jsxs as jsxs25 } from "react/jsx-runtime";
12847
+ import { jsx as jsx33, jsxs as jsxs26 } from "react/jsx-runtime";
12804
12848
  var type_config = {
12805
12849
  info: { accent: "border-l-white/30", label: "Note" },
12806
12850
  note: { accent: "border-l-white/30", label: "Note" },
@@ -12816,14 +12860,14 @@ function OaCallout({
12816
12860
  className
12817
12861
  }) {
12818
12862
  const config = type_config[type];
12819
- return /* @__PURE__ */ jsxs25("div", {
12863
+ return /* @__PURE__ */ jsxs26("div", {
12820
12864
  className: clsx("border-l-2 pl-6 py-3 transition-colors", config.accent, "hover:border-l-white/60", className),
12821
12865
  children: [
12822
- title && /* @__PURE__ */ jsx32("p", {
12866
+ title && /* @__PURE__ */ jsx33("p", {
12823
12867
  className: "text-[13px] font-medium text-realm-text-primary mb-1",
12824
12868
  children: title
12825
12869
  }),
12826
- /* @__PURE__ */ jsx32("div", {
12870
+ /* @__PURE__ */ jsx33("div", {
12827
12871
  className: "text-[13px] text-realm-text-secondary leading-relaxed",
12828
12872
  children
12829
12873
  })
@@ -12832,7 +12876,7 @@ function OaCallout({
12832
12876
  }
12833
12877
  // src/components/transition/page_transition.tsx
12834
12878
  import { useState as useState8 } from "react";
12835
- import { jsx as jsx33 } from "react/jsx-runtime";
12879
+ import { jsx as jsx34 } from "react/jsx-runtime";
12836
12880
 
12837
12881
  function OaPageTransition({
12838
12882
  is_active,
@@ -12845,8 +12889,8 @@ function OaPageTransition({
12845
12889
  }) {
12846
12890
  const initial_x = direction === "left" ? "-100%" : "100%";
12847
12891
  const easing = [0.76, 0, 0.24, 1];
12848
- return /* @__PURE__ */ jsx33(AnimatePresence, {
12849
- children: is_active && /* @__PURE__ */ jsx33(motion.div, {
12892
+ return /* @__PURE__ */ jsx34(AnimatePresence, {
12893
+ children: is_active && /* @__PURE__ */ jsx34(motion.div, {
12850
12894
  initial: { x: initial_x },
12851
12895
  animate: { x: 0 },
12852
12896
  exit: { x: direction === "left" ? "100%" : "-100%" },
@@ -12854,12 +12898,12 @@ function OaPageTransition({
12854
12898
  onAnimationComplete: on_complete,
12855
12899
  className: "fixed inset-0 bg-[#0a0a0a] flex items-center justify-center",
12856
12900
  style: { zIndex },
12857
- children: children ? children : show_logo ? /* @__PURE__ */ jsx33(motion.div, {
12901
+ children: children ? children : show_logo ? /* @__PURE__ */ jsx34(motion.div, {
12858
12902
  initial: { opacity: 0, scale: 0.95 },
12859
12903
  animate: { opacity: 1, scale: 1 },
12860
12904
  transition: { delay: duration * 0.4, duration: duration * 0.4 },
12861
12905
  className: "flex items-center justify-center",
12862
- children: /* @__PURE__ */ jsx33(OaLogo, {
12906
+ children: /* @__PURE__ */ jsx34(OaLogo, {
12863
12907
  variant: "dark",
12864
12908
  type: "icon",
12865
12909
  size: "lg",
@@ -12892,7 +12936,7 @@ function use_page_transition(delay = 700) {
12892
12936
  }
12893
12937
  // src/components/transition/page_entrance.tsx
12894
12938
  import { useState as useState9, useEffect as useEffect8 } from "react";
12895
- import { jsx as jsx34, jsxs as jsxs26, Fragment as Fragment7 } from "react/jsx-runtime";
12939
+ import { jsx as jsx35, jsxs as jsxs27, Fragment as Fragment7 } from "react/jsx-runtime";
12896
12940
 
12897
12941
  var TRANSITION_EASING = "cubic-bezier(0.76, 0, 0.24, 1)";
12898
12942
  function OaPageEntrance({
@@ -12920,29 +12964,29 @@ function OaPageEntrance({
12920
12964
  };
12921
12965
  }, [delay, duration, on_complete]);
12922
12966
  if (phase === "hidden") {
12923
- return /* @__PURE__ */ jsx34(Fragment7, {
12967
+ return /* @__PURE__ */ jsx35(Fragment7, {
12924
12968
  children
12925
12969
  });
12926
12970
  }
12927
12971
  const exit_transform = exit_direction === "right" ? "translateX(100%)" : "translateX(-100%)";
12928
- return /* @__PURE__ */ jsxs26(Fragment7, {
12972
+ return /* @__PURE__ */ jsxs27(Fragment7, {
12929
12973
  children: [
12930
12974
  children,
12931
- /* @__PURE__ */ jsx34("div", {
12975
+ /* @__PURE__ */ jsx35("div", {
12932
12976
  style: {
12933
12977
  transform: phase === "exiting" ? exit_transform : "translateX(0)",
12934
12978
  transition: `transform ${duration}ms ${TRANSITION_EASING}`,
12935
12979
  zIndex
12936
12980
  },
12937
12981
  className: "fixed inset-0 bg-[#0a0a0a] flex items-center justify-center",
12938
- children: entrance_content ? entrance_content : show_logo ? /* @__PURE__ */ jsx34("div", {
12982
+ children: entrance_content ? entrance_content : show_logo ? /* @__PURE__ */ jsx35("div", {
12939
12983
  className: "flex items-center justify-center",
12940
12984
  style: {
12941
12985
  opacity: phase === "exiting" ? 0 : 1,
12942
12986
  transform: phase === "visible" ? "scale(1)" : "scale(0.95)",
12943
12987
  transition: "opacity 200ms, transform 200ms"
12944
12988
  },
12945
- children: /* @__PURE__ */ jsx34(OaLogo, {
12989
+ children: /* @__PURE__ */ jsx35(OaLogo, {
12946
12990
  variant: "dark",
12947
12991
  type: "icon",
12948
12992
  size: "lg",
@@ -12955,7 +12999,7 @@ function OaPageEntrance({
12955
12999
  }
12956
13000
  // src/components/fx/scramble_text.tsx
12957
13001
  import { forwardRef as forwardRef7, useCallback as useCallback9, useEffect as useEffect9, useImperativeHandle, useRef as useRef7, useState as useState10 } from "react";
12958
- import { jsx as jsx35, jsxs as jsxs27 } from "react/jsx-runtime";
13002
+ import { jsx as jsx36, jsxs as jsxs28 } from "react/jsx-runtime";
12959
13003
 
12960
13004
  var SCRAMBLE_GLYPHS = "abcdefghijklmnopqrstuvwxyz!@#$%&*+-=?/<>[]{}";
12961
13005
  var EXTERNAL_ICON_SENTINEL = "\x00";
@@ -13036,7 +13080,7 @@ var OaScrambleText = forwardRef7(function OaScrambleText({
13036
13080
  }, [finish, resolved_icon, target, trigger]);
13037
13081
  useEffect9(() => () => settleAnimationRef.current?.cancel(), []);
13038
13082
  const Icon = resolved_icon === "external" ? ExternalLink : ArrowRight;
13039
- return /* @__PURE__ */ jsxs27("span", {
13083
+ return /* @__PURE__ */ jsxs28("span", {
13040
13084
  className: "oa-scramble-text",
13041
13085
  "aria-hidden": true,
13042
13086
  style: {
@@ -13047,27 +13091,27 @@ var OaScrambleText = forwardRef7(function OaScrambleText({
13047
13091
  textTransform: "none"
13048
13092
  },
13049
13093
  children: [
13050
- /* @__PURE__ */ jsxs27("span", {
13094
+ /* @__PURE__ */ jsxs28("span", {
13051
13095
  style: { visibility: "hidden", display: "inline-flex", alignItems: "center", gap: "0.375rem" },
13052
13096
  children: [
13053
- /* @__PURE__ */ jsx35("span", {
13097
+ /* @__PURE__ */ jsx36("span", {
13054
13098
  children: target
13055
13099
  }),
13056
- resolved_icon && /* @__PURE__ */ jsx35(Icon, {
13100
+ resolved_icon && /* @__PURE__ */ jsx36(Icon, {
13057
13101
  className: `${icon_class_name} shrink-0`
13058
13102
  })
13059
13103
  ]
13060
13104
  }),
13061
- /* @__PURE__ */ jsxs27("span", {
13105
+ /* @__PURE__ */ jsxs28("span", {
13062
13106
  ref: visibleRef,
13063
13107
  style: { position: "absolute", inset: 0, display: "inline-flex", alignItems: "center", gap: "0.375rem" },
13064
13108
  children: [
13065
- /* @__PURE__ */ jsx35("span", {
13109
+ /* @__PURE__ */ jsx36("span", {
13066
13110
  children: display.text
13067
13111
  }),
13068
- resolved_icon && /* @__PURE__ */ jsx35("span", {
13112
+ resolved_icon && /* @__PURE__ */ jsx36("span", {
13069
13113
  className: `inline-flex ${icon_class_name} shrink-0 items-center justify-center text-[0.8em] leading-none`,
13070
- children: display.icon === EXTERNAL_ICON_SENTINEL ? /* @__PURE__ */ jsx35(Icon, {
13114
+ children: display.icon === EXTERNAL_ICON_SENTINEL ? /* @__PURE__ */ jsx36(Icon, {
13071
13115
  className: "h-full w-full"
13072
13116
  }) : display.icon
13073
13117
  })
@@ -13144,7 +13188,7 @@ function use_oa_scramble_control() {
13144
13188
  }
13145
13189
 
13146
13190
  // src/components/fx/scramble_link.tsx
13147
- import { jsx as jsx36 } from "react/jsx-runtime";
13191
+ import { jsx as jsx37 } from "react/jsx-runtime";
13148
13192
 
13149
13193
  function OaScrambleLink({
13150
13194
  children,
@@ -13163,7 +13207,7 @@ function OaScrambleLink({
13163
13207
  }) {
13164
13208
  const scramble = use_oa_scramble_control();
13165
13209
  const Component = as ?? "a";
13166
- return /* @__PURE__ */ jsx36(Component, {
13210
+ return /* @__PURE__ */ jsx37(Component, {
13167
13211
  ...props,
13168
13212
  "aria-label": props["aria-label"] ?? children,
13169
13213
  onMouseEnter: (event) => {
@@ -13194,7 +13238,7 @@ function OaScrambleLink({
13194
13238
  scramble.keyDown(event.key);
13195
13239
  onKeyDown?.(event);
13196
13240
  },
13197
- children: /* @__PURE__ */ jsx36(OaScrambleText, {
13241
+ children: /* @__PURE__ */ jsx37(OaScrambleText, {
13198
13242
  ref: scramble.text_ref,
13199
13243
  trigger: scramble.cycle,
13200
13244
  uppercase,
@@ -13206,7 +13250,7 @@ function OaScrambleLink({
13206
13250
  }
13207
13251
  // src/components/fx/scramble_button.tsx
13208
13252
  import { forwardRef as forwardRef8 } from "react";
13209
- import { jsx as jsx37 } from "react/jsx-runtime";
13253
+ import { jsx as jsx38 } from "react/jsx-runtime";
13210
13254
 
13211
13255
  var OaScrambleButton = forwardRef8(function OaScrambleButton({
13212
13256
  children,
@@ -13224,7 +13268,7 @@ var OaScrambleButton = forwardRef8(function OaScrambleButton({
13224
13268
  ...props
13225
13269
  }, ref) {
13226
13270
  const scramble = use_oa_scramble_control();
13227
- return /* @__PURE__ */ jsx37("button", {
13271
+ return /* @__PURE__ */ jsx38("button", {
13228
13272
  ref,
13229
13273
  ...props,
13230
13274
  type,
@@ -13257,7 +13301,7 @@ var OaScrambleButton = forwardRef8(function OaScrambleButton({
13257
13301
  scramble.keyDown(event.key);
13258
13302
  onKeyDown?.(event);
13259
13303
  },
13260
- children: /* @__PURE__ */ jsx37(OaScrambleText, {
13304
+ children: /* @__PURE__ */ jsx38(OaScrambleText, {
13261
13305
  ref: scramble.text_ref,
13262
13306
  trigger: scramble.cycle,
13263
13307
  uppercase,
@@ -20262,7 +20306,7 @@ function calculate_macd(candles, fast_period = 12, slow_period = 26, signal_peri
20262
20306
  }
20263
20307
 
20264
20308
  // src/components/chart/chart.tsx
20265
- import { jsx as jsx38, jsxs as jsxs28 } from "react/jsx-runtime";
20309
+ import { jsx as jsx39, jsxs as jsxs29 } from "react/jsx-runtime";
20266
20310
 
20267
20311
  function OaChart({
20268
20312
  data,
@@ -20519,15 +20563,15 @@ function OaChart({
20519
20563
  useEffect10(() => {
20520
20564
  updateChart();
20521
20565
  }, [updateChart]);
20522
- return /* @__PURE__ */ jsx38("div", {
20566
+ return /* @__PURE__ */ jsx39("div", {
20523
20567
  ref: container_ref,
20524
20568
  className: clsx("relative w-full h-full", className),
20525
- children: loading && /* @__PURE__ */ jsx38("div", {
20569
+ children: loading && /* @__PURE__ */ jsx39("div", {
20526
20570
  className: "absolute inset-0 flex items-center justify-center bg-black/50 z-10",
20527
- children: /* @__PURE__ */ jsxs28("div", {
20571
+ children: /* @__PURE__ */ jsxs29("div", {
20528
20572
  className: "flex items-center gap-2 text-sm text-white/70",
20529
20573
  children: [
20530
- /* @__PURE__ */ jsx38("div", {
20574
+ /* @__PURE__ */ jsx39("div", {
20531
20575
  className: "w-4 h-4 border-2 border-white/20 border-t-white rounded-full animate-spin"
20532
20576
  }),
20533
20577
  "Loading..."
@@ -20538,7 +20582,7 @@ function OaChart({
20538
20582
  }
20539
20583
  // src/components/chart/chart_pane.tsx
20540
20584
  import { useEffect as useEffect11, useRef as useRef10 } from "react";
20541
- import { jsx as jsx39, jsxs as jsxs29 } from "react/jsx-runtime";
20585
+ import { jsx as jsx40, jsxs as jsxs30 } from "react/jsx-runtime";
20542
20586
 
20543
20587
  function OaRsiPane({
20544
20588
  data,
@@ -20633,26 +20677,26 @@ function OaRsiPane({
20633
20677
  series_ref.current.setData(data);
20634
20678
  }
20635
20679
  }, [data]);
20636
- return /* @__PURE__ */ jsxs29("div", {
20680
+ return /* @__PURE__ */ jsxs30("div", {
20637
20681
  className: clsx("w-full border-t", theme === "dark" ? "border-white/5" : "border-black/5"),
20638
20682
  children: [
20639
- /* @__PURE__ */ jsxs29("div", {
20683
+ /* @__PURE__ */ jsxs30("div", {
20640
20684
  className: "flex items-center justify-between px-3 py-1.5",
20641
20685
  style: { backgroundColor: chart_theme.background },
20642
20686
  children: [
20643
- /* @__PURE__ */ jsx39("span", {
20687
+ /* @__PURE__ */ jsx40("span", {
20644
20688
  className: "text-[10px] uppercase tracking-wider",
20645
20689
  style: { color: line_color },
20646
20690
  children: "RSI (14)"
20647
20691
  }),
20648
- /* @__PURE__ */ jsx39("span", {
20692
+ /* @__PURE__ */ jsx40("span", {
20649
20693
  className: "text-[10px] tabular-nums",
20650
20694
  style: { color: chart_theme.textSecondary },
20651
20695
  children: data.length > 0 ? data[data.length - 1].value.toFixed(2) : "—"
20652
20696
  })
20653
20697
  ]
20654
20698
  }),
20655
- /* @__PURE__ */ jsx39("div", {
20699
+ /* @__PURE__ */ jsx40("div", {
20656
20700
  ref: container_ref,
20657
20701
  style: { height }
20658
20702
  })
@@ -20741,29 +20785,29 @@ function OaMacdPane({
20741
20785
  };
20742
20786
  }, [theme, height, data, macd_color, signal_color, hist_positive, hist_negative]);
20743
20787
  const last_data = data[data.length - 1];
20744
- return /* @__PURE__ */ jsxs29("div", {
20788
+ return /* @__PURE__ */ jsxs30("div", {
20745
20789
  className: clsx("w-full border-t", theme === "dark" ? "border-white/5" : "border-black/5"),
20746
20790
  children: [
20747
- /* @__PURE__ */ jsxs29("div", {
20791
+ /* @__PURE__ */ jsxs30("div", {
20748
20792
  className: "flex items-center justify-between px-3 py-1.5",
20749
20793
  style: { backgroundColor: chart_theme.background },
20750
20794
  children: [
20751
- /* @__PURE__ */ jsx39("span", {
20795
+ /* @__PURE__ */ jsx40("span", {
20752
20796
  className: "text-[10px] uppercase tracking-wider",
20753
20797
  style: { color: macd_color },
20754
20798
  children: "MACD (12, 26, 9)"
20755
20799
  }),
20756
- /* @__PURE__ */ jsxs29("div", {
20800
+ /* @__PURE__ */ jsxs30("div", {
20757
20801
  className: "flex items-center gap-3 text-[10px] tabular-nums",
20758
20802
  children: [
20759
- /* @__PURE__ */ jsxs29("span", {
20803
+ /* @__PURE__ */ jsxs30("span", {
20760
20804
  style: { color: macd_color },
20761
20805
  children: [
20762
20806
  "MACD: ",
20763
20807
  last_data ? last_data.macd.toFixed(4) : "—"
20764
20808
  ]
20765
20809
  }),
20766
- /* @__PURE__ */ jsxs29("span", {
20810
+ /* @__PURE__ */ jsxs30("span", {
20767
20811
  style: { color: signal_color },
20768
20812
  children: [
20769
20813
  "Signal: ",
@@ -20774,7 +20818,7 @@ function OaMacdPane({
20774
20818
  })
20775
20819
  ]
20776
20820
  }),
20777
- /* @__PURE__ */ jsx39("div", {
20821
+ /* @__PURE__ */ jsx40("div", {
20778
20822
  ref: container_ref,
20779
20823
  style: { height }
20780
20824
  })
@@ -20948,6 +20992,7 @@ export {
20948
20992
  OaContainer,
20949
20993
  OaFeatureCard,
20950
20994
  OaFooter,
20995
+ OaFootnotes,
20951
20996
  OaHero,
20952
20997
  OaImageCard,
20953
20998
  OaInput,