@hyperbridge/ui 0.0.35 → 0.0.37

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.mjs CHANGED
@@ -198,10 +198,9 @@ function BadgeIcon(props) {
198
198
  src,
199
199
  layout: "constrained",
200
200
  width: 400,
201
- aspectRatio: 1,
201
+ height: 400,
202
202
  alt,
203
203
  draggable: false,
204
- objectFit: "cover",
205
204
  className: cn(
206
205
  "absolute inset-0 aspect-square h-full w-full rounded-full bg-transparent shrink-0",
207
206
  className,
@@ -226,9 +225,8 @@ function BadgeIcon(props) {
226
225
  src: badgeSrc,
227
226
  layout: "constrained",
228
227
  width: 24,
229
- aspectRatio: 1,
228
+ height: 24,
230
229
  draggable: false,
231
- objectFit: "cover",
232
230
  className: "w-full h-full",
233
231
  alt: badgeAlt
234
232
  }
@@ -486,7 +484,7 @@ function TagButton(props) {
486
484
  layout: "constrained",
487
485
  className: "w-5 h-5 shrink-0 rounded-full",
488
486
  width: 20,
489
- aspectRatio: 1
487
+ height: 20
490
488
  }
491
489
  ),
492
490
  /* @__PURE__ */ jsx7("span", { className: "text-[14px] w-max shrink-0 overflow-hidden", children: props.symbol }),
@@ -528,7 +526,7 @@ function BridgeTokenButton(props) {
528
526
  layout: "constrained",
529
527
  className: "w-[1.75rem] h-[1.75rem] shrink-0 rounded-full",
530
528
  width: 20,
531
- aspectRatio: 1
529
+ height: 20
532
530
  }
533
531
  ),
534
532
  /* @__PURE__ */ jsx7("span", { className: "flex flex-col font-medium shrink-0 text-start max-w-[10ch]", children: /* @__PURE__ */ jsx7("span", { className: "text-sm uppercase text-brand-white-500", children: token.symbol.toLowerCase() }) }),
@@ -571,39 +569,72 @@ var GradientButton = React.forwardRef((props, ref) => {
571
569
  ) });
572
570
  });
573
571
 
574
- // src/@/ui/input.tsx
575
- import { jsx as jsx9 } from "react/jsx-runtime";
576
- function Input(_a) {
577
- var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
578
- return /* @__PURE__ */ jsx9(
579
- "input",
580
- __spreadValues({
581
- type,
582
- "data-slot": "input",
583
- className: cn(
584
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
585
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
586
- "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
587
- className
588
- )
589
- }, props)
590
- );
591
- }
572
+ // src/components/form/swap-form.tsx
573
+ import { useState } from "react";
592
574
 
593
- // src/lib/form-utils.ts
594
- var createKeyDownHandler = () => {
595
- return (e) => {
596
- if (e.ctrlKey || e.metaKey || e.altKey) {
597
- return;
598
- }
599
- if (["e", "E", "+", "-"].includes(e.key) || /^[a-zA-Z]$/.test(e.key)) {
600
- e.preventDefault();
601
- }
602
- };
603
- };
575
+ // src/components/input/numeric-input.tsx
576
+ import * as React2 from "react";
577
+ import CurrencyInput from "react-currency-input-field";
578
+ import { jsx as jsx9 } from "react/jsx-runtime";
579
+ var NumericInput = React2.forwardRef(
580
+ ({
581
+ className,
582
+ decimalsLimit = 18,
583
+ value = "",
584
+ onValueChange,
585
+ allowDecimals = true,
586
+ allowNegativeValue = false,
587
+ decimalSeparator = ".",
588
+ groupSeparator = ",",
589
+ prefix = "",
590
+ suffix = "",
591
+ disableGroupSeparators = true,
592
+ disabled,
593
+ placeholder = "0",
594
+ id,
595
+ name,
596
+ onFocus,
597
+ onBlur,
598
+ "data-testid": dataTestId,
599
+ autoFocus,
600
+ autoComplete,
601
+ maxLength
602
+ }, ref) => {
603
+ return /* @__PURE__ */ jsx9(
604
+ CurrencyInput,
605
+ {
606
+ ref,
607
+ id,
608
+ name,
609
+ value,
610
+ onValueChange,
611
+ decimalsLimit,
612
+ allowDecimals,
613
+ allowNegativeValue,
614
+ decimalSeparator,
615
+ groupSeparator,
616
+ prefix,
617
+ suffix,
618
+ disableGroupSeparators,
619
+ disabled,
620
+ placeholder,
621
+ onFocus,
622
+ onBlur,
623
+ "data-testid": dataTestId,
624
+ autoFocus,
625
+ autoComplete,
626
+ maxLength,
627
+ className: cn(
628
+ "border-none ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 text-[48px] leading-[1.2] h-[58px] p-0 text-white placeholder:text-brand-black-100 disabled:opacity-50 bg-transparent outline-none",
629
+ className
630
+ )
631
+ }
632
+ );
633
+ }
634
+ );
635
+ NumericInput.displayName = "NumericInput";
604
636
 
605
637
  // src/components/form/swap-form.tsx
606
- import { useState } from "react";
607
638
  import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
608
639
  function SwapForm({
609
640
  sender,
@@ -617,10 +648,10 @@ function SwapForm({
617
648
  estimatedTime = "",
618
649
  isLoading = false,
619
650
  className,
620
- error = false
651
+ error = false,
652
+ decimalsLimit = 18
621
653
  }) {
622
654
  var _a;
623
- const handleKeyDown = createKeyDownHandler();
624
655
  const [focusedSection, setFocusedSection] = useState("sender");
625
656
  const handleInvert = () => {
626
657
  onInvert == null ? void 0 : onInvert();
@@ -670,23 +701,24 @@ function SwapForm({
670
701
  ] }),
671
702
  /* @__PURE__ */ jsxs7("div", { className: "flex mt-3", children: [
672
703
  /* @__PURE__ */ jsx10(
673
- Input,
704
+ NumericInput,
674
705
  {
675
- min: 0,
676
- type: "number",
677
706
  placeholder: "0",
678
707
  value: sender.amount,
679
- onChange: (event) => {
708
+ onValueChange: (value) => {
680
709
  var _a2;
681
- (_a2 = sender.onAmountChange) == null ? void 0 : _a2.call(sender, event.target.value, event);
710
+ const syntheticEvent = {
711
+ target: { value: value || "" }
712
+ };
713
+ (_a2 = sender.onAmountChange) == null ? void 0 : _a2.call(sender, value || "", syntheticEvent);
682
714
  onPercentageChange == null ? void 0 : onPercentageChange(null);
683
715
  },
684
- onKeyDown: handleKeyDown,
685
716
  onFocus: () => setFocusedSection("sender"),
686
717
  onBlur: () => setFocusedSection(null),
687
718
  disabled: isLoading,
688
719
  "data-testid": "sender-amount-input",
689
- className: "border-none ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 text-[48px] leading-[1.2] h-[58px] p-0 text-white placeholder:text-brand-black-100 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:opacity-50 !rounded-none"
720
+ decimalsLimit,
721
+ className: "!rounded-none"
690
722
  }
691
723
  ),
692
724
  /* @__PURE__ */ jsx10("div", { className: "w-[170px] pl-0 py-[13px]", children: /* @__PURE__ */ jsx10(
@@ -790,23 +822,24 @@ function SwapForm({
790
822
  ] }),
791
823
  /* @__PURE__ */ jsxs7("div", { className: "flex mt-3", children: [
792
824
  /* @__PURE__ */ jsx10(
793
- Input,
825
+ NumericInput,
794
826
  {
795
- min: 0,
796
- type: "number",
797
827
  placeholder: "0",
798
828
  value: receiver.amount,
799
- onChange: (event) => {
829
+ onValueChange: (value) => {
800
830
  var _a2;
801
- (_a2 = receiver.onAmountChange) == null ? void 0 : _a2.call(receiver, event.target.value, event);
831
+ const syntheticEvent = {
832
+ target: { value: value || "" }
833
+ };
834
+ (_a2 = receiver.onAmountChange) == null ? void 0 : _a2.call(receiver, value || "", syntheticEvent);
802
835
  onPercentageChange == null ? void 0 : onPercentageChange(null);
803
836
  },
804
- onKeyDown: handleKeyDown,
805
837
  onFocus: () => setFocusedSection("receiver"),
806
838
  onBlur: () => setFocusedSection(null),
807
839
  disabled: isLoading,
808
840
  "data-testid": "receiver-amount-input",
809
- className: "border-none ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 text-[48px] leading-[1.2] h-[58px] p-0 text-white placeholder:text-brand-black-100 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none disabled:opacity-50 !rounded-none"
841
+ decimalsLimit,
842
+ className: "!rounded-none"
810
843
  }
811
844
  ),
812
845
  /* @__PURE__ */ jsx10("div", { className: "w-[170px] pl-0 py-[13px]", children: /* @__PURE__ */ jsx10(
@@ -851,7 +884,7 @@ import * as DialogPrimitive from "@radix-ui/react-dialog";
851
884
 
852
885
  // src/components/atoms/smooth-corners.tsx
853
886
  import { Slot as Slot5 } from "@radix-ui/react-slot";
854
- import React2 from "react";
887
+ import React3 from "react";
855
888
  import { cva as cva5 } from "class-variance-authority";
856
889
  import { jsx as jsx11 } from "react/jsx-runtime";
857
890
  var SmoothCornersSingleton = {
@@ -885,8 +918,8 @@ var smoothCornersVariants = cva5("superellipse", {
885
918
  });
886
919
  function SmoothCorners(props) {
887
920
  const { size } = props;
888
- const [isLoaded, setIsLoaded] = React2.useState(false);
889
- React2.useEffect(() => {
921
+ const [isLoaded, setIsLoaded] = React3.useState(false);
922
+ React3.useEffect(() => {
890
923
  SmoothCornersSingleton.init().then(() => setIsLoaded(true)).catch(() => {
891
924
  console.error(
892
925
  "SmoothCorners/SuperEllipsePainter: Error Loading Necessary Worklet"
@@ -1050,7 +1083,7 @@ function TokenImage(props) {
1050
1083
  layout: "constrained",
1051
1084
  className: cn("shrink-0 object-cover rounded-full", props.className),
1052
1085
  width: 20,
1053
- aspectRatio: 1
1086
+ height: 20
1054
1087
  }
1055
1088
  );
1056
1089
  }
@@ -1115,7 +1148,7 @@ function NetworkSwitcherButton(props) {
1115
1148
 
1116
1149
  // src/components/network/network-selector.tsx
1117
1150
  import { useMemo } from "react";
1118
- import React5 from "react";
1151
+ import React6 from "react";
1119
1152
 
1120
1153
  // src/hooks/selector-hooks.ts
1121
1154
  import { useState as useState2, useRef, useEffect } from "react";
@@ -1159,17 +1192,17 @@ var sortItems = (items, sortFn) => {
1159
1192
  };
1160
1193
 
1161
1194
  // src/components/molecules/empty-state.tsx
1162
- import React3 from "react";
1195
+ import React4 from "react";
1163
1196
  import { Fragment, jsx as jsx15 } from "react/jsx-runtime";
1164
1197
  var ContextDefault = {
1165
1198
  isEmpty: true
1166
1199
  };
1167
- var EmptyStateCtx = isSSR() ? {} : React3.createContext(ContextDefault);
1200
+ var EmptyStateCtx = isSSR() ? {} : React4.createContext(ContextDefault);
1168
1201
  function useContext() {
1169
- const context = React3.useContext(EmptyStateCtx);
1202
+ const context = React4.useContext(EmptyStateCtx);
1170
1203
  return isSSR() ? ContextDefault : context;
1171
1204
  }
1172
- var EmptyStateContent = React3.forwardRef(function Content2(props, ref) {
1205
+ var EmptyStateContent = React4.forwardRef(function Content2(props, ref) {
1173
1206
  const { isEmpty } = useContext();
1174
1207
  if (!isEmpty) return null;
1175
1208
  return /* @__PURE__ */ jsx15(
@@ -1180,7 +1213,7 @@ var EmptyStateContent = React3.forwardRef(function Content2(props, ref) {
1180
1213
  })
1181
1214
  );
1182
1215
  });
1183
- var EmptyStateTitle = React3.forwardRef(function ESTitle(props, ref) {
1216
+ var EmptyStateTitle = React4.forwardRef(function ESTitle(props, ref) {
1184
1217
  return /* @__PURE__ */ jsx15(
1185
1218
  "h6",
1186
1219
  __spreadProps(__spreadValues({
@@ -1190,7 +1223,7 @@ var EmptyStateTitle = React3.forwardRef(function ESTitle(props, ref) {
1190
1223
  })
1191
1224
  );
1192
1225
  });
1193
- var EmptyStateDescription = React3.forwardRef(function ESDescription(props, ref) {
1226
+ var EmptyStateDescription = React4.forwardRef(function ESDescription(props, ref) {
1194
1227
  return /* @__PURE__ */ jsx15(
1195
1228
  "div",
1196
1229
  __spreadProps(__spreadValues({
@@ -1486,12 +1519,12 @@ function DestkopModal(props) {
1486
1519
  }
1487
1520
 
1488
1521
  // src/components/molecules/scroll-aware-area.tsx
1489
- import React4 from "react";
1522
+ import React5 from "react";
1490
1523
  import { jsx as jsx18 } from "react/jsx-runtime";
1491
1524
  function ScrollAwareSeparator(props) {
1492
1525
  const _a = props, { scrollRef } = _a, props_ = __objRest(_a, ["scrollRef"]);
1493
- const [showHeaderBorder, setShowHeaderBorder] = React4.useState(false);
1494
- React4.useEffect(() => {
1526
+ const [showHeaderBorder, setShowHeaderBorder] = React5.useState(false);
1527
+ React5.useEffect(() => {
1495
1528
  let scrollableElement = scrollRef.current;
1496
1529
  if (!scrollableElement) return;
1497
1530
  const radixScrollArea = scrollableElement == null ? void 0 : scrollableElement.querySelector(
@@ -1537,7 +1570,7 @@ var NetworkSelector = ({
1537
1570
  onClose
1538
1571
  }) => {
1539
1572
  const { searchQuery, setSearchQuery } = useSearch();
1540
- const scrollableRef = React5.useRef(null);
1573
+ const scrollableRef = React6.useRef(null);
1541
1574
  const filteredAvailableNetworks = useMemo(() => {
1542
1575
  return filterItems(availableNetworks, searchQuery, (network) => [
1543
1576
  network.name
@@ -1616,11 +1649,11 @@ var NetworkSelector = ({
1616
1649
  children: [
1617
1650
  filteredAvailableNetworks.length > 0 && /* @__PURE__ */ jsxs11("div", { children: [
1618
1651
  /* @__PURE__ */ jsx19("p", { className: "text-caption text-brand-black-100", children: "Available" }),
1619
- /* @__PURE__ */ jsx19("div", { className: "mt-[6px] space-y-2", children: filteredAvailableNetworks.map((network) => /* @__PURE__ */ jsx19(React5.Fragment, { children: renderNetworkItem(network, true) }, network.name)) })
1652
+ /* @__PURE__ */ jsx19("div", { className: "mt-[6px] space-y-2", children: filteredAvailableNetworks.map((network) => /* @__PURE__ */ jsx19(React6.Fragment, { children: renderNetworkItem(network, true) }, network.name)) })
1620
1653
  ] }),
1621
1654
  filteredUnavailableNetworks.length > 0 && /* @__PURE__ */ jsxs11("div", { children: [
1622
1655
  /* @__PURE__ */ jsx19("p", { className: "text-caption text-brand-black-100", children: "Not available" }),
1623
- /* @__PURE__ */ jsx19("div", { className: "mt-[6px] space-y-2", children: filteredUnavailableNetworks.map((network) => /* @__PURE__ */ jsx19(React5.Fragment, { children: "renderNetworkItem(network, false)," }, network.name)) })
1656
+ /* @__PURE__ */ jsx19("div", { className: "mt-[6px] space-y-2", children: filteredUnavailableNetworks.map((network) => /* @__PURE__ */ jsx19(React6.Fragment, { children: "renderNetworkItem(network, false)," }, network.name)) })
1624
1657
  ] }),
1625
1658
  hasNoResults && /* @__PURE__ */ jsx19("div", { className: "text-center py-8 h-full flex items-center justify-center", children: /* @__PURE__ */ jsxs11("p", { className: "text-caption text-brand-black-100", children: [
1626
1659
  "No results found for",
@@ -1652,7 +1685,7 @@ function NetworkSelectionItem(props) {
1652
1685
  "isActive",
1653
1686
  "SecondaryContent"
1654
1687
  ]);
1655
- const buttonRef = React5.useRef(null);
1688
+ const buttonRef = React6.useRef(null);
1656
1689
  const is_default_mode = variant === "default";
1657
1690
  const buttonContent = /* @__PURE__ */ jsxs11(
1658
1691
  "div",
@@ -1708,7 +1741,7 @@ function NetworkSelectionItem(props) {
1708
1741
  }
1709
1742
 
1710
1743
  // src/components/tokens/token-selector.tsx
1711
- import React6 from "react";
1744
+ import React7 from "react";
1712
1745
 
1713
1746
  // src/@/ui/scroll-area.tsx
1714
1747
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
@@ -1938,7 +1971,7 @@ function TokenSelectionItem(props) {
1938
1971
  "isActive",
1939
1972
  "AddWalletButton"
1940
1973
  ]);
1941
- const buttonRef = React6.useRef(null);
1974
+ const buttonRef = React7.useRef(null);
1942
1975
  const buttonContent = /* @__PURE__ */ jsxs13(
1943
1976
  "div",
1944
1977
  {
@@ -1994,49 +2027,7 @@ function TokenSelectionItem(props) {
1994
2027
 
1995
2028
  // src/components/form/bridge-input.tsx
1996
2029
  import React8 from "react";
1997
-
1998
- // src/components/input/input.tsx
1999
- import * as React7 from "react";
2000
2030
  import { jsx as jsx22, jsxs as jsxs14 } from "react/jsx-runtime";
2001
- var Input2 = React7.forwardRef((_a, ref) => {
2002
- var _b = _a, { className, label, error, helperText, id } = _b, props = __objRest(_b, ["className", "label", "error", "helperText", "id"]);
2003
- const inputId = id || React7.useId();
2004
- return /* @__PURE__ */ jsxs14("div", { className: "space-y-2", children: [
2005
- label && /* @__PURE__ */ jsx22(
2006
- "label",
2007
- {
2008
- htmlFor: inputId,
2009
- className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
2010
- children: label
2011
- }
2012
- ),
2013
- /* @__PURE__ */ jsx22(
2014
- Input,
2015
- __spreadValues({
2016
- ref,
2017
- id: inputId,
2018
- className: cn(
2019
- error && "border-destructive focus-visible:border-destructive",
2020
- className
2021
- )
2022
- }, props)
2023
- ),
2024
- (error || helperText) && /* @__PURE__ */ jsx22(
2025
- "p",
2026
- {
2027
- className: cn(
2028
- "text-sm",
2029
- error ? "text-destructive" : "text-muted-foreground"
2030
- ),
2031
- children: error || helperText
2032
- }
2033
- )
2034
- ] });
2035
- });
2036
- Input2.displayName = "Input";
2037
-
2038
- // src/components/form/bridge-input.tsx
2039
- import { jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
2040
2031
  function BridgeInput(props) {
2041
2032
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
2042
2033
  const {
@@ -2048,15 +2039,15 @@ function BridgeInput(props) {
2048
2039
  },
2049
2040
  presentation = "default",
2050
2041
  mode = "ready",
2051
- hasError: error
2042
+ hasError: error,
2043
+ decimalsLimit = 18
2052
2044
  } = props;
2053
2045
  const isConnected = mode === "ready";
2054
2046
  const isLoading = presentation === "loading";
2055
- const handleKeyDown = createKeyDownHandler();
2056
2047
  const formatPercentageLabel = (percentage2) => {
2057
2048
  return percentage2 === 100 ? "Max" : `${percentage2}%`;
2058
2049
  };
2059
- return /* @__PURE__ */ jsxs15(
2050
+ return /* @__PURE__ */ jsxs14(
2060
2051
  "div",
2061
2052
  {
2062
2053
  className: cn(
@@ -2064,7 +2055,7 @@ function BridgeInput(props) {
2064
2055
  isConnected && "border-dashed-wide"
2065
2056
  ),
2066
2057
  children: [
2067
- /* @__PURE__ */ jsx23(
2058
+ /* @__PURE__ */ jsx22(
2068
2059
  "section",
2069
2060
  {
2070
2061
  "data-testid": "send-section",
@@ -2073,23 +2064,23 @@ function BridgeInput(props) {
2073
2064
  isConnected && "bg-brand-black-200",
2074
2065
  error ? "bg-brand-danger-500" : "bridge-form-border"
2075
2066
  ),
2076
- children: /* @__PURE__ */ jsxs15("div", { className: "bg-brand-black-500 rounded-[14.5px] h-full relative px-3", children: [
2077
- /* @__PURE__ */ jsxs15("div", { className: "w-full flex justify-between h-10 items-center", children: [
2078
- /* @__PURE__ */ jsx23("div", { className: "w-1/2", children: /* @__PURE__ */ jsx23("p", { className: "text-caption text-brand-black-100 font-medium", children: "Send" }) }),
2079
- /* @__PURE__ */ jsx23("div", { className: "w-1/2", children: /* @__PURE__ */ jsxs15("div", { className: "text-caption text-brand-black-100 font-medium text-right flex items-center gap-1 justify-end", children: [
2080
- /* @__PURE__ */ jsx23("span", { className: "max-w-[100px] truncate", children: sender.address ? sender.address : "Balance" }),
2067
+ children: /* @__PURE__ */ jsxs14("div", { className: "bg-brand-black-500 rounded-[14.5px] h-full relative px-3", children: [
2068
+ /* @__PURE__ */ jsxs14("div", { className: "w-full flex justify-between h-10 items-center", children: [
2069
+ /* @__PURE__ */ jsx22("div", { className: "w-1/2", children: /* @__PURE__ */ jsx22("p", { className: "text-caption text-brand-black-100 font-medium", children: "Send" }) }),
2070
+ /* @__PURE__ */ jsx22("div", { className: "w-1/2", children: /* @__PURE__ */ jsxs14("div", { className: "text-caption text-brand-black-100 font-medium text-right flex items-center gap-1 justify-end", children: [
2071
+ /* @__PURE__ */ jsx22("span", { className: "max-w-[100px] truncate", children: sender.address ? sender.address : "Balance" }),
2081
2072
  " ",
2082
- /* @__PURE__ */ jsx23(
2073
+ /* @__PURE__ */ jsx22(
2083
2074
  "span",
2084
2075
  {
2085
2076
  className: cn(
2086
2077
  "max-w-[100px] truncate",
2087
2078
  props.hasError ? "text-brand-danger-500" : "text-white"
2088
2079
  ),
2089
- children: /* @__PURE__ */ jsx23(
2080
+ children: /* @__PURE__ */ jsx22(
2090
2081
  React8.Suspense,
2091
2082
  {
2092
- fallback: /* @__PURE__ */ jsx23(
2083
+ fallback: /* @__PURE__ */ jsx22(
2093
2084
  "div",
2094
2085
  {
2095
2086
  className: cn(
@@ -2105,36 +2096,37 @@ function BridgeInput(props) {
2105
2096
  )
2106
2097
  ] }) })
2107
2098
  ] }),
2108
- /* @__PURE__ */ jsxs15("div", { className: "flex h-[70px] items-center", children: [
2109
- /* @__PURE__ */ jsx23(
2110
- Input2,
2099
+ /* @__PURE__ */ jsxs14("div", { className: "flex h-[70px] items-center", children: [
2100
+ /* @__PURE__ */ jsx22(
2101
+ NumericInput,
2111
2102
  {
2112
- min: 0,
2113
- type: "number",
2114
2103
  placeholder: "0",
2115
2104
  value: sender.amount,
2116
2105
  disabled: isLoading,
2117
- onKeyDown: handleKeyDown,
2118
2106
  "data-testid": "sender-amount-input",
2119
- className: "border-none ring-0 rounded-none focus-visible:ring-0 focus-visible:ring-offset-0 text-[48px] leading-[1.2] h-[58px] p-0 text-white placeholder:text-brand-black-100 disabled:opacity-50",
2120
- onChange: (event) => {
2107
+ decimalsLimit,
2108
+ className: "!rounded-none",
2109
+ onValueChange: (value) => {
2121
2110
  var _a2;
2122
- (_a2 = props.onValueChange) == null ? void 0 : _a2.call(props, event.target.value, event);
2111
+ const syntheticEvent = {
2112
+ target: { value: value || "" }
2113
+ };
2114
+ (_a2 = props.onValueChange) == null ? void 0 : _a2.call(props, value || "", syntheticEvent);
2123
2115
  }
2124
2116
  }
2125
2117
  ),
2126
- /* @__PURE__ */ jsx23("div", { className: "w-[170px] pl-3 py-[13px] flex justify-end", children: props.TokenChangeButton })
2118
+ /* @__PURE__ */ jsx22("div", { className: "w-[170px] pl-3 py-[13px] flex justify-end", children: props.TokenChangeButton })
2127
2119
  ] }),
2128
- /* @__PURE__ */ jsxs15("div", { className: "flex justify-between h-10", children: [
2129
- /* @__PURE__ */ jsx23(
2120
+ /* @__PURE__ */ jsxs14("div", { className: "flex justify-between h-10", children: [
2121
+ /* @__PURE__ */ jsx22(
2130
2122
  "div",
2131
2123
  {
2132
2124
  "data-testid": "sender-usd-value",
2133
2125
  className: "flex items-center text-caption text-brand-black-100 font-medium min-h-6 hover:text-white duration-200 transition-colors",
2134
- children: isLoading ? /* @__PURE__ */ jsx23("div", { className: "w-8 h-3 bg-brand-black-200 animate-pulse rounded ml-1" }) : sender.secondaryAmount
2126
+ children: isLoading ? /* @__PURE__ */ jsx22("div", { className: "w-8 h-3 bg-brand-black-200 animate-pulse rounded ml-1" }) : sender.secondaryAmount
2135
2127
  }
2136
2128
  ),
2137
- isConnected && /* @__PURE__ */ jsx23("div", { className: "flex gap-[6px] pt-1", children: percentage.options.map((percent_value) => /* @__PURE__ */ jsx23(
2129
+ isConnected && /* @__PURE__ */ jsx22("div", { className: "flex gap-[6px] pt-1", children: percentage.options.map((percent_value) => /* @__PURE__ */ jsx22(
2138
2130
  Button2,
2139
2131
  {
2140
2132
  type: "button",
@@ -2154,17 +2146,17 @@ function BridgeInput(props) {
2154
2146
  ] })
2155
2147
  }
2156
2148
  ),
2157
- /* @__PURE__ */ jsx23(
2149
+ /* @__PURE__ */ jsx22(
2158
2150
  "section",
2159
2151
  {
2160
2152
  className: cn(
2161
2153
  "grid transition-all duration-200 ease-out",
2162
2154
  isConnected ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
2163
2155
  ),
2164
- children: /* @__PURE__ */ jsx23("div", { className: "overflow-hidden min-h-0", children: /* @__PURE__ */ jsxs15("div", { className: "p-3", children: [
2165
- /* @__PURE__ */ jsxs15("div", { className: "flex justify-between", children: [
2166
- /* @__PURE__ */ jsx23("p", { className: "text-caption text-brand-black-100 font-medium w-1/2", children: "Receive" }),
2167
- !props.EditDestAddressTrigger ? /* @__PURE__ */ jsx23("span", { className: "text-caption text-brand-black-100 font-medium text-right flex items-center justify-end w-1/2", children: /* @__PURE__ */ jsx23("span", { className: "max-w-[100px] truncate", children: receiver.address }) }) : /* @__PURE__ */ jsx23(props.EditDestAddressTrigger, { asChild: true, children: /* @__PURE__ */ jsxs15(
2156
+ children: /* @__PURE__ */ jsx22("div", { className: "overflow-hidden min-h-0", children: /* @__PURE__ */ jsxs14("div", { className: "p-3", children: [
2157
+ /* @__PURE__ */ jsxs14("div", { className: "flex justify-between", children: [
2158
+ /* @__PURE__ */ jsx22("p", { className: "text-caption text-brand-black-100 font-medium w-1/2", children: "Receive" }),
2159
+ !props.EditDestAddressTrigger ? /* @__PURE__ */ jsx22("span", { className: "text-caption text-brand-black-100 font-medium text-right flex items-center justify-end w-1/2", children: /* @__PURE__ */ jsx22("span", { className: "max-w-[100px] truncate", children: receiver.address }) }) : /* @__PURE__ */ jsx22(props.EditDestAddressTrigger, { asChild: true, children: /* @__PURE__ */ jsxs14(
2168
2160
  "button",
2169
2161
  {
2170
2162
  type: "button",
@@ -2172,29 +2164,29 @@ function BridgeInput(props) {
2172
2164
  "aria-label": "Edit receiver address",
2173
2165
  className: "cursor-pointer flex !gap-1.5 !text-caption text-brand-black-100 font-medium text-right items-center justify-end w-1/2",
2174
2166
  children: [
2175
- /* @__PURE__ */ jsx23("span", { className: "max-w-[100px] truncate", children: receiver.address }),
2176
- /* @__PURE__ */ jsx23(
2167
+ /* @__PURE__ */ jsx22("span", { className: "max-w-[100px] truncate", children: receiver.address }),
2168
+ /* @__PURE__ */ jsx22(
2177
2169
  "span",
2178
2170
  {
2179
2171
  "aria-label": "Edit address",
2180
2172
  className: "cursor-pointer text-foreground hover:scale-110 transition-transform disabled:opacity-50",
2181
- children: /* @__PURE__ */ jsx23(Pen_default, { className: "size-[0.875rem]" })
2173
+ children: /* @__PURE__ */ jsx22(Pen_default, { className: "size-[0.875rem]" })
2182
2174
  }
2183
2175
  )
2184
2176
  ]
2185
2177
  }
2186
2178
  ) })
2187
2179
  ] }),
2188
- /* @__PURE__ */ jsx23(
2180
+ /* @__PURE__ */ jsx22(
2189
2181
  "div",
2190
2182
  {
2191
2183
  className: cn(
2192
2184
  "grid transition-all duration-200 ease-out",
2193
2185
  sender.amount ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
2194
2186
  ),
2195
- children: /* @__PURE__ */ jsxs15("div", { className: "overflow-hidden min-h-0", children: [
2196
- /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2 py-2", children: [
2197
- /* @__PURE__ */ jsx23(
2187
+ children: /* @__PURE__ */ jsxs14("div", { className: "overflow-hidden min-h-0", children: [
2188
+ /* @__PURE__ */ jsxs14("div", { className: "flex items-center gap-2 py-2", children: [
2189
+ /* @__PURE__ */ jsx22(
2198
2190
  BadgeIcon,
2199
2191
  {
2200
2192
  src: (_b = (_a = sender.token) == null ? void 0 : _a.image) != null ? _b : "",
@@ -2203,18 +2195,18 @@ function BridgeInput(props) {
2203
2195
  badgeSrc: (_h = (_g = receiver.network) == null ? void 0 : _g.image) != null ? _h : ""
2204
2196
  }
2205
2197
  ),
2206
- /* @__PURE__ */ jsx23("span", { className: "text-[20px] leading-[1] font-medium text-brand-black-100", children: isLoading ? /* @__PURE__ */ jsx23("div", { className: "w-16 h-5 bg-brand-black-200 animate-pulse rounded" }) : `${receiver.amount} ${((_i = sender.token) == null ? void 0 : _i.symbol) || ""}` })
2198
+ /* @__PURE__ */ jsx22("span", { className: "text-[20px] leading-[1] font-medium text-brand-black-100", children: isLoading ? /* @__PURE__ */ jsx22("div", { className: "w-16 h-5 bg-brand-black-200 animate-pulse rounded" }) : `${receiver.amount} ${((_i = sender.token) == null ? void 0 : _i.symbol) || ""}` })
2207
2199
  ] }),
2208
- /* @__PURE__ */ jsxs15("div", { className: "flex justify-between pt-1", children: [
2209
- /* @__PURE__ */ jsx23(
2200
+ /* @__PURE__ */ jsxs14("div", { className: "flex justify-between pt-1", children: [
2201
+ /* @__PURE__ */ jsx22(
2210
2202
  "div",
2211
2203
  {
2212
2204
  "data-testid": "receiver-usd-value",
2213
2205
  className: "flex items-center text-caption text-brand-black-100 font-medium",
2214
- children: isLoading ? /* @__PURE__ */ jsx23("div", { className: "w-8 h-3 bg-brand-black-200 animate-pulse rounded ml-1" }) : receiver.secondaryAmount
2206
+ children: isLoading ? /* @__PURE__ */ jsx22("div", { className: "w-8 h-3 bg-brand-black-200 animate-pulse rounded ml-1" }) : receiver.secondaryAmount
2215
2207
  }
2216
2208
  ),
2217
- isConnected && /* @__PURE__ */ jsx23("div", { className: "text-brand-black-100 text-caption font-medium", children: isLoading ? /* @__PURE__ */ jsx23("div", { className: "w-12 h-3 bg-brand-black-200 animate-pulse rounded" }) : receiver.estimatedTime })
2209
+ isConnected && /* @__PURE__ */ jsx22("div", { className: "text-brand-black-100 text-caption font-medium", children: isLoading ? /* @__PURE__ */ jsx22("div", { className: "w-12 h-3 bg-brand-black-200 animate-pulse rounded" }) : receiver.estimatedTime })
2218
2210
  ] })
2219
2211
  ] })
2220
2212
  }
@@ -2228,7 +2220,7 @@ function BridgeInput(props) {
2228
2220
  }
2229
2221
 
2230
2222
  // src/components/form/bridge-form.tsx
2231
- import { Fragment as Fragment4, jsx as jsx24, jsxs as jsxs16 } from "react/jsx-runtime";
2223
+ import { Fragment as Fragment4, jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
2232
2224
  function BridgeForm({
2233
2225
  networks,
2234
2226
  onNetworkInvert,
@@ -2273,7 +2265,8 @@ function BridgeForm({
2273
2265
  availableNetworks = [],
2274
2266
  unavailableNetworks = [],
2275
2267
  onSourceNetworkSelect,
2276
- onDestinationNetworkSelect
2268
+ onDestinationNetworkSelect,
2269
+ decimalsLimit = 18
2277
2270
  }) {
2278
2271
  const [showDetails, setShowDetails] = useState5(false);
2279
2272
  const [isGasHovered, setIsGasHovered] = useState5(false);
@@ -2366,9 +2359,9 @@ function BridgeForm({
2366
2359
  return "Select Network";
2367
2360
  }
2368
2361
  };
2369
- return /* @__PURE__ */ jsxs16("div", { className: "relative", children: [
2370
- /* @__PURE__ */ jsxs16("form", { onSubmit: handleSubmit, children: [
2371
- /* @__PURE__ */ jsx24(
2362
+ return /* @__PURE__ */ jsxs15("div", { className: "relative", children: [
2363
+ /* @__PURE__ */ jsxs15("form", { onSubmit: handleSubmit, children: [
2364
+ /* @__PURE__ */ jsx23(
2372
2365
  NetworkSwitcher,
2373
2366
  {
2374
2367
  from: networks.from,
@@ -2378,16 +2371,17 @@ function BridgeForm({
2378
2371
  onDestinationClick: handleDestinationNetworkClick
2379
2372
  }
2380
2373
  ),
2381
- /* @__PURE__ */ jsx24("div", { className: "mt-4", children: /* @__PURE__ */ jsx24(
2374
+ /* @__PURE__ */ jsx23("div", { className: "mt-4", children: /* @__PURE__ */ jsx23(
2382
2375
  BridgeInput,
2383
2376
  {
2384
2377
  hasError: Boolean(error),
2385
2378
  mode: isConnected ? "ready" : "idle",
2386
2379
  presentation: isLoading ? "loading" : "default",
2380
+ decimalsLimit,
2387
2381
  sender: {
2388
2382
  token: senderToken,
2389
2383
  amount: senderAmount,
2390
- balance: /* @__PURE__ */ jsx24(Fragment4, { children: senderBalance }),
2384
+ balance: /* @__PURE__ */ jsx23(Fragment4, { children: senderBalance }),
2391
2385
  secondaryAmount: senderUsdValue,
2392
2386
  address: senderAddress || ""
2393
2387
  },
@@ -2417,7 +2411,7 @@ function BridgeForm({
2417
2411
  onPercentageClick == null ? void 0 : onPercentageClick(percent_value);
2418
2412
  },
2419
2413
  EditDestAddressTrigger: (props) => {
2420
- return /* @__PURE__ */ jsx24(
2414
+ return /* @__PURE__ */ jsx23(
2421
2415
  Button2,
2422
2416
  __spreadProps(__spreadValues({}, props), {
2423
2417
  variant: "unset",
@@ -2428,7 +2422,7 @@ function BridgeForm({
2428
2422
  })
2429
2423
  );
2430
2424
  },
2431
- TokenChangeButton: /* @__PURE__ */ jsx24(TokenSelectorDialog, { children: /* @__PURE__ */ jsx24(
2425
+ TokenChangeButton: /* @__PURE__ */ jsx23(TokenSelectorDialog, { children: /* @__PURE__ */ jsx23(
2432
2426
  TagButton,
2433
2427
  {
2434
2428
  className: "cursor-pointer !transition-none",
@@ -2440,21 +2434,21 @@ function BridgeForm({
2440
2434
  ) })
2441
2435
  }
2442
2436
  ) }),
2443
- /* @__PURE__ */ jsx24(
2437
+ /* @__PURE__ */ jsx23(
2444
2438
  "div",
2445
2439
  {
2446
2440
  className: cn(
2447
2441
  "grid transition-all duration-200 ease-out mt-4",
2448
2442
  senderAmount && Number.parseFloat(senderAmount) > 0 ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
2449
2443
  ),
2450
- children: /* @__PURE__ */ jsxs16("div", { className: "overflow-hidden min-h-0", children: [
2451
- !showDetails ? /* @__PURE__ */ jsxs16("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2452
- /* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-3", children: [
2453
- /* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-1", children: [
2454
- /* @__PURE__ */ jsx24(Server_default, { className: "size-[14px] mt-[0.5px]" }),
2455
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium", children: bridgeDetails.bridgeFee })
2444
+ children: /* @__PURE__ */ jsxs15("div", { className: "overflow-hidden min-h-0", children: [
2445
+ !showDetails ? /* @__PURE__ */ jsxs15("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2446
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-3", children: [
2447
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1", children: [
2448
+ /* @__PURE__ */ jsx23(Server_default, { className: "size-[14px] mt-[0.5px]" }),
2449
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium", children: bridgeDetails.bridgeFee })
2456
2450
  ] }),
2457
- /* @__PURE__ */ jsx24(
2451
+ /* @__PURE__ */ jsx23(
2458
2452
  "button",
2459
2453
  {
2460
2454
  type: "button",
@@ -2462,88 +2456,88 @@ function BridgeForm({
2462
2456
  onClick: onAdjustRelayerFee,
2463
2457
  onMouseEnter: () => setIsGasHovered(true),
2464
2458
  onMouseLeave: () => setIsGasHovered(false),
2465
- children: !isGasHovered ? /* @__PURE__ */ jsxs16(Fragment4, { children: [
2466
- /* @__PURE__ */ jsx24(Gas_default, { className: "size-[14px] mt-[0.5px]" }),
2467
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium", children: bridgeDetails.gasFee })
2468
- ] }) : /* @__PURE__ */ jsxs16(Fragment4, { children: [
2469
- /* @__PURE__ */ jsx24(Gas_default, { className: "size-[14px] mt-[0.5px] text-white" }),
2470
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium text-white", children: "Adjust relayer fee" })
2459
+ children: !isGasHovered ? /* @__PURE__ */ jsxs15(Fragment4, { children: [
2460
+ /* @__PURE__ */ jsx23(Gas_default, { className: "size-[14px] mt-[0.5px]" }),
2461
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium", children: bridgeDetails.gasFee })
2462
+ ] }) : /* @__PURE__ */ jsxs15(Fragment4, { children: [
2463
+ /* @__PURE__ */ jsx23(Gas_default, { className: "size-[14px] mt-[0.5px] text-white" }),
2464
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium text-white", children: "Adjust relayer fee" })
2471
2465
  ] })
2472
2466
  }
2473
2467
  )
2474
2468
  ] }),
2475
- /* @__PURE__ */ jsxs16(
2469
+ /* @__PURE__ */ jsxs15(
2476
2470
  "button",
2477
2471
  {
2478
2472
  type: "button",
2479
2473
  onClick: () => setShowDetails(!showDetails),
2480
2474
  className: "flex items-center gap-[2px] cursor-pointer hover:text-white duration-200 transition-colors",
2481
2475
  children: [
2482
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium", children: "Details" }),
2483
- /* @__PURE__ */ jsx24(ChevronBottomDown_default, { className: "rotate-180 size-[14px]" })
2476
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium", children: "Details" }),
2477
+ /* @__PURE__ */ jsx23(ChevronBottomDown_default, { className: "rotate-180 size-[14px]" })
2484
2478
  ]
2485
2479
  }
2486
2480
  )
2487
- ] }) : /* @__PURE__ */ jsxs16("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2488
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium opacity-50", children: "Bridge summary" }),
2489
- /* @__PURE__ */ jsxs16(
2481
+ ] }) : /* @__PURE__ */ jsxs15("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2482
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium opacity-50", children: "Bridge summary" }),
2483
+ /* @__PURE__ */ jsxs15(
2490
2484
  "button",
2491
2485
  {
2492
2486
  type: "button",
2493
2487
  onClick: () => setShowDetails(!showDetails),
2494
2488
  className: "flex items-center gap-[2px] cursor-pointer hover:text-white duration-200 transition-colors",
2495
2489
  children: [
2496
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium", children: "Hide" }),
2497
- /* @__PURE__ */ jsx24(ChevronBottomDown_default, { className: "size-[14px]" })
2490
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium", children: "Hide" }),
2491
+ /* @__PURE__ */ jsx23(ChevronBottomDown_default, { className: "size-[14px]" })
2498
2492
  ]
2499
2493
  }
2500
2494
  )
2501
2495
  ] }),
2502
- /* @__PURE__ */ jsx24(
2496
+ /* @__PURE__ */ jsx23(
2503
2497
  "div",
2504
2498
  {
2505
2499
  className: cn(
2506
2500
  "grid transition-all duration-200 ease-out",
2507
2501
  showDetails ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
2508
2502
  ),
2509
- children: /* @__PURE__ */ jsx24("div", { className: "overflow-hidden min-h-0", children: /* @__PURE__ */ jsxs16("div", { className: "pt-4 space-y-3", children: [
2510
- /* @__PURE__ */ jsxs16("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2511
- /* @__PURE__ */ jsxs16("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2512
- /* @__PURE__ */ jsx24(Percent_default, { className: "size-[14px]" }),
2503
+ children: /* @__PURE__ */ jsx23("div", { className: "overflow-hidden min-h-0", children: /* @__PURE__ */ jsxs15("div", { className: "pt-4 space-y-3", children: [
2504
+ /* @__PURE__ */ jsxs15("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2505
+ /* @__PURE__ */ jsxs15("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2506
+ /* @__PURE__ */ jsx23(Percent_default, { className: "size-[14px]" }),
2513
2507
  "Bridge fee"
2514
2508
  ] }),
2515
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium text-white", children: bridgeDetails.bridgeFee })
2509
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium text-white", children: bridgeDetails.bridgeFee })
2516
2510
  ] }),
2517
- /* @__PURE__ */ jsxs16("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2518
- /* @__PURE__ */ jsxs16("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2519
- /* @__PURE__ */ jsx24(Gas_default, { className: "size-[14px]" }),
2511
+ /* @__PURE__ */ jsxs15("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2512
+ /* @__PURE__ */ jsxs15("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2513
+ /* @__PURE__ */ jsx23(Gas_default, { className: "size-[14px]" }),
2520
2514
  "Gas costs"
2521
2515
  ] }),
2522
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium text-white", children: bridgeDetails.gasFee })
2516
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium text-white", children: bridgeDetails.gasFee })
2523
2517
  ] }),
2524
- /* @__PURE__ */ jsxs16("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2525
- /* @__PURE__ */ jsxs16("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2526
- /* @__PURE__ */ jsx24(ArrowBottomTop_default, { className: "size-[14px]" }),
2518
+ /* @__PURE__ */ jsxs15("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2519
+ /* @__PURE__ */ jsxs15("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2520
+ /* @__PURE__ */ jsx23(ArrowBottomTop_default, { className: "size-[14px]" }),
2527
2521
  "Slippage tolerance"
2528
2522
  ] }),
2529
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium text-white", children: bridgeDetails.slippageTolerance })
2523
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium text-white", children: bridgeDetails.slippageTolerance })
2530
2524
  ] }),
2531
- /* @__PURE__ */ jsxs16("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2532
- /* @__PURE__ */ jsxs16("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2533
- /* @__PURE__ */ jsx24(ArrowSplit_default, { className: "size-[14px]" }),
2525
+ /* @__PURE__ */ jsxs15("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2526
+ /* @__PURE__ */ jsxs15("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2527
+ /* @__PURE__ */ jsx23(ArrowSplit_default, { className: "size-[14px]" }),
2534
2528
  "Route"
2535
2529
  ] }),
2536
- /* @__PURE__ */ jsxs16("span", { className: "text-caption font-medium text-white", children: [
2530
+ /* @__PURE__ */ jsxs15("span", { className: "text-caption font-medium text-white", children: [
2537
2531
  bridgeDetails.routes,
2538
2532
  " stops"
2539
2533
  ] })
2540
2534
  ] }),
2541
- /* @__PURE__ */ jsxs16("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2542
- /* @__PURE__ */ jsxs16("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2543
- /* @__PURE__ */ jsx24(Clock_default, { className: "size-[14px]" }),
2535
+ /* @__PURE__ */ jsxs15("div", { className: "flex justify-between items-center text-brand-black-100", children: [
2536
+ /* @__PURE__ */ jsxs15("span", { className: "text-caption font-medium flex items-center gap-1", children: [
2537
+ /* @__PURE__ */ jsx23(Clock_default, { className: "size-[14px]" }),
2544
2538
  "Estimated time"
2545
2539
  ] }),
2546
- /* @__PURE__ */ jsx24("span", { className: "text-caption font-medium text-white", children: bridgeDetails.estimatedTime })
2540
+ /* @__PURE__ */ jsx23("span", { className: "text-caption font-medium text-white", children: bridgeDetails.estimatedTime })
2547
2541
  ] })
2548
2542
  ] }) })
2549
2543
  }
@@ -2551,7 +2545,7 @@ function BridgeForm({
2551
2545
  ] })
2552
2546
  }
2553
2547
  ),
2554
- /* @__PURE__ */ jsx24("div", { className: "mt-4", children: /* @__PURE__ */ jsx24(
2548
+ /* @__PURE__ */ jsx23("div", { className: "mt-4", children: /* @__PURE__ */ jsx23(
2555
2549
  Button2,
2556
2550
  {
2557
2551
  type: buttonState.onClick ? "submit" : "button",
@@ -2564,7 +2558,7 @@ function BridgeForm({
2564
2558
  }
2565
2559
  ) })
2566
2560
  ] }),
2567
- /* @__PURE__ */ jsx24(
2561
+ /* @__PURE__ */ jsx23(
2568
2562
  NetworkSelector,
2569
2563
  {
2570
2564
  isOpen: !!networkSelectorState,
@@ -2596,9 +2590,9 @@ function TokenSelectorDialog(props) {
2596
2590
  onTokenSelect == null ? void 0 : onTokenSelect(token);
2597
2591
  setIsTokenSelectorOpen(false);
2598
2592
  };
2599
- return /* @__PURE__ */ jsxs16(Dialog, { children: [
2600
- /* @__PURE__ */ jsx24(DialogTrigger, { asChild: true, children }),
2601
- /* @__PURE__ */ jsx24(
2593
+ return /* @__PURE__ */ jsxs15(Dialog, { children: [
2594
+ /* @__PURE__ */ jsx23(DialogTrigger, { asChild: true, children }),
2595
+ /* @__PURE__ */ jsx23(
2602
2596
  TokenSelector,
2603
2597
  {
2604
2598
  isOpen: isTokenSelectorOpen,
@@ -2614,19 +2608,80 @@ function TokenSelectorDialog(props) {
2614
2608
  ] });
2615
2609
  }
2616
2610
 
2611
+ // src/components/input/input.tsx
2612
+ import * as React9 from "react";
2613
+
2614
+ // src/@/ui/input.tsx
2615
+ import { jsx as jsx24 } from "react/jsx-runtime";
2616
+ function Input(_a) {
2617
+ var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
2618
+ return /* @__PURE__ */ jsx24(
2619
+ "input",
2620
+ __spreadValues({
2621
+ type,
2622
+ "data-slot": "input",
2623
+ className: cn(
2624
+ "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
2625
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
2626
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
2627
+ className
2628
+ )
2629
+ }, props)
2630
+ );
2631
+ }
2632
+
2633
+ // src/components/input/input.tsx
2634
+ import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
2635
+ var Input2 = React9.forwardRef((_a, ref) => {
2636
+ var _b = _a, { className, label, error, helperText, id } = _b, props = __objRest(_b, ["className", "label", "error", "helperText", "id"]);
2637
+ const inputId = id || React9.useId();
2638
+ return /* @__PURE__ */ jsxs16("div", { className: "space-y-2", children: [
2639
+ label && /* @__PURE__ */ jsx25(
2640
+ "label",
2641
+ {
2642
+ htmlFor: inputId,
2643
+ className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
2644
+ children: label
2645
+ }
2646
+ ),
2647
+ /* @__PURE__ */ jsx25(
2648
+ Input,
2649
+ __spreadValues({
2650
+ ref,
2651
+ id: inputId,
2652
+ className: cn(
2653
+ error && "border-destructive focus-visible:border-destructive",
2654
+ className
2655
+ )
2656
+ }, props)
2657
+ ),
2658
+ (error || helperText) && /* @__PURE__ */ jsx25(
2659
+ "p",
2660
+ {
2661
+ className: cn(
2662
+ "text-sm",
2663
+ error ? "text-destructive" : "text-muted-foreground"
2664
+ ),
2665
+ children: error || helperText
2666
+ }
2667
+ )
2668
+ ] });
2669
+ });
2670
+ Input2.displayName = "Input";
2671
+
2617
2672
  // src/components/molecules/address-input.tsx
2618
- import { useId as useId2, forwardRef as forwardRef2 } from "react";
2673
+ import { useId as useId2, forwardRef as forwardRef3 } from "react";
2619
2674
  import { motion as motion2 } from "motion/react";
2620
2675
  import { Slot as Slot6 } from "@radix-ui/react-slot";
2621
- import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
2622
- var AddressInput = forwardRef2((props, ref) => {
2676
+ import { jsx as jsx26, jsxs as jsxs17 } from "react/jsx-runtime";
2677
+ var AddressInput = forwardRef3((props, ref) => {
2623
2678
  const id = useId2();
2624
2679
  const _a = props, { network, validity } = _a, __props = __objRest(_a, ["network", "validity"]);
2625
2680
  const input_id = `address${id}`;
2626
2681
  return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-[calc(6rem/16)] w-full select-none", children: [
2627
- /* @__PURE__ */ jsx25(Text, { variant: "caption", className: "text-muted-foreground", asChild: true, children: /* @__PURE__ */ jsx25("label", { htmlFor: input_id, children: "To address" }) }),
2682
+ /* @__PURE__ */ jsx26(Text, { variant: "caption", className: "text-muted-foreground", asChild: true, children: /* @__PURE__ */ jsx26("label", { htmlFor: input_id, children: "To address" }) }),
2628
2683
  /* @__PURE__ */ jsxs17("div", { className: "bg-brand-black-350 w-full h-[calc(50rem/16)] justify-start gap-2 flex py-[calc(13rem/16)] px-[calc(12rem/16)] rounded-[1rem]", children: [
2629
- props.validity.status === "error" ? /* @__PURE__ */ jsx25(IconButton, { variant: "level_2", rounded: "full", size: "xs", asChild: true, children: /* @__PURE__ */ jsx25("span", { className: "w-[calc(24rem/16)]", children: /* @__PURE__ */ jsx25(CirclePlaceholderDashed_default, { width: "1em" }) }) }) : /* @__PURE__ */ jsx25(
2684
+ props.validity.status === "error" ? /* @__PURE__ */ jsx26(IconButton, { variant: "level_2", rounded: "full", size: "xs", asChild: true, children: /* @__PURE__ */ jsx26("span", { className: "w-[calc(24rem/16)]", children: /* @__PURE__ */ jsx26(CirclePlaceholderDashed_default, { width: "1em" }) }) }) : /* @__PURE__ */ jsx26(
2630
2685
  TokenImage,
2631
2686
  {
2632
2687
  className: "w-[calc(24rem/16)]",
@@ -2634,7 +2689,7 @@ var AddressInput = forwardRef2((props, ref) => {
2634
2689
  alt: props.network.name
2635
2690
  }
2636
2691
  ),
2637
- /* @__PURE__ */ jsx25(
2692
+ /* @__PURE__ */ jsx26(
2638
2693
  "input",
2639
2694
  __spreadProps(__spreadValues({
2640
2695
  ref,
@@ -2646,7 +2701,7 @@ var AddressInput = forwardRef2((props, ref) => {
2646
2701
  })
2647
2702
  )
2648
2703
  ] }),
2649
- /* @__PURE__ */ jsx25(Text, { variant: "caption", asChild: true, children: /* @__PURE__ */ jsxs17(
2704
+ /* @__PURE__ */ jsx26(Text, { variant: "caption", asChild: true, children: /* @__PURE__ */ jsxs17(
2650
2705
  motion2.p,
2651
2706
  {
2652
2707
  initial: { opacity: 0, marginTop: -10 },
@@ -2656,15 +2711,15 @@ var AddressInput = forwardRef2((props, ref) => {
2656
2711
  "text-brand-danger-500": props.validity.status === "error"
2657
2712
  }),
2658
2713
  children: [
2659
- props.validity.status === "ok" ? /* @__PURE__ */ jsx25(Check_default, { width: "1em" }) : /* @__PURE__ */ jsx25(XCircle_default, { width: "1em" }),
2660
- /* @__PURE__ */ jsx25("span", { children: props.validity.message })
2714
+ props.validity.status === "ok" ? /* @__PURE__ */ jsx26(Check_default, { width: "1em" }) : /* @__PURE__ */ jsx26(XCircle_default, { width: "1em" }),
2715
+ /* @__PURE__ */ jsx26("span", { children: props.validity.message })
2661
2716
  ]
2662
2717
  }
2663
2718
  ) })
2664
2719
  ] });
2665
2720
  });
2666
2721
  function AddressInputFocusBehaviour(props) {
2667
- return /* @__PURE__ */ jsx25(
2722
+ return /* @__PURE__ */ jsx26(
2668
2723
  Slot6,
2669
2724
  __spreadProps(__spreadValues({}, props), {
2670
2725
  onFocus: (e) => {
@@ -2686,21 +2741,21 @@ function AddressInputFocusBehaviour(props) {
2686
2741
  }
2687
2742
 
2688
2743
  // src/components/if.tsx
2689
- import { Fragment as Fragment5, jsx as jsx26 } from "react/jsx-runtime";
2744
+ import { Fragment as Fragment5, jsx as jsx27 } from "react/jsx-runtime";
2690
2745
  function If({ cond: condition, children }) {
2691
2746
  if (!condition) return null;
2692
- return /* @__PURE__ */ jsx26(Fragment5, { children });
2747
+ return /* @__PURE__ */ jsx27(Fragment5, { children });
2693
2748
  }
2694
2749
  var if_default = If;
2695
2750
 
2696
2751
  // src/components/molecules/asset-list.tsx
2697
- import { jsx as jsx27, jsxs as jsxs18 } from "react/jsx-runtime";
2752
+ import { jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
2698
2753
  function AssetListItem(props) {
2699
2754
  const { caption, tokenImage } = props;
2700
2755
  return /* @__PURE__ */ jsxs18("li", { className: "flex gap-[0.75rem] select-none items-center text-brand-black-100", children: [
2701
- /* @__PURE__ */ jsx27(BadgeIcon, __spreadValues({}, tokenImage)),
2756
+ /* @__PURE__ */ jsx28(BadgeIcon, __spreadValues({}, tokenImage)),
2702
2757
  /* @__PURE__ */ jsxs18("div", { className: "flex flex-grow flex-col text-start gap-[0.125rem]", children: [
2703
- /* @__PURE__ */ jsx27("span", { className: "text-brand-white-500 text-[0.875rem] h-[1.25rem]", children: caption }),
2758
+ /* @__PURE__ */ jsx28("span", { className: "text-brand-white-500 text-[0.875rem] h-[1.25rem]", children: caption }),
2704
2759
  /* @__PURE__ */ jsxs18("span", { className: "text-xs h-[1rem] flex items-center gap-[0.125rem]", children: [
2705
2760
  props.amountInUSD,
2706
2761
  " ",
@@ -2710,24 +2765,24 @@ function AssetListItem(props) {
2710
2765
  ] })
2711
2766
  ] })
2712
2767
  ] }),
2713
- /* @__PURE__ */ jsx27("div", { className: "flex-col shrink-0 text-end", children: /* @__PURE__ */ jsx27("span", { className: "text-brand-white-500 text-[1rem] h-[1.25rem]", children: props.amount }) })
2768
+ /* @__PURE__ */ jsx28("div", { className: "flex-col shrink-0 text-end", children: /* @__PURE__ */ jsx28("span", { className: "text-brand-white-500 text-[1rem] h-[1.25rem]", children: props.amount }) })
2714
2769
  ] });
2715
2770
  }
2716
2771
  function AssetList(props) {
2717
- return /* @__PURE__ */ jsx27("ul", __spreadProps(__spreadValues({}, props), { className: cn("flex flex-col gap-[1rem]", props.className), children: props.children }));
2772
+ return /* @__PURE__ */ jsx28("ul", __spreadProps(__spreadValues({}, props), { className: cn("flex flex-col gap-[1rem]", props.className), children: props.children }));
2718
2773
  }
2719
2774
 
2720
2775
  // src/components/atoms/gradient-line.tsx
2721
2776
  import { Slot as Slot7 } from "@radix-ui/react-slot";
2722
- import React9 from "react";
2723
- import { jsx as jsx28, jsxs as jsxs19 } from "react/jsx-runtime";
2777
+ import React10 from "react";
2778
+ import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
2724
2779
  function GradientContainer(props) {
2725
- return /* @__PURE__ */ jsx28(Slot7, { className: "relative overflow-hidden", children: props.children });
2780
+ return /* @__PURE__ */ jsx29(Slot7, { className: "relative overflow-hidden", children: props.children });
2726
2781
  }
2727
2782
  function GradientLine(props) {
2728
- const ref = React9.useRef(null);
2783
+ const ref = React10.useRef(null);
2729
2784
  const { behaviour, value, mode = "default" } = props;
2730
- React9.useEffect(() => {
2785
+ React10.useEffect(() => {
2731
2786
  const el = ref.current;
2732
2787
  if (!el) return;
2733
2788
  const parent = el.parentElement;
@@ -2743,26 +2798,26 @@ function GradientLine(props) {
2743
2798
  window.removeEventListener("resize", updateWidth);
2744
2799
  };
2745
2800
  }, []);
2746
- React9.useEffect(() => {
2801
+ React10.useEffect(() => {
2747
2802
  const el = ref.current;
2748
2803
  if (!el) return;
2749
2804
  if (behaviour !== "duration") return;
2750
2805
  el.style.transition = `width ${value}ms linear`;
2751
2806
  el.style.width = "100%";
2752
2807
  }, [behaviour, value]);
2753
- React9.useEffect(() => {
2808
+ React10.useEffect(() => {
2754
2809
  if (behaviour !== "progress") return;
2755
2810
  const el = ref.current;
2756
2811
  if (!el) return;
2757
2812
  el.style.width = `${value}%`;
2758
2813
  }, [behaviour, value]);
2759
- return /* @__PURE__ */ jsx28("div", { className: "inset-0 flex flex-col absolute z-[0] justify-end", children: /* @__PURE__ */ jsx28(
2814
+ return /* @__PURE__ */ jsx29("div", { className: "inset-0 flex flex-col absolute z-[0] justify-end", children: /* @__PURE__ */ jsx29(
2760
2815
  "div",
2761
2816
  {
2762
2817
  ref,
2763
2818
  className: "relative flex flex-col overflow-hidden w-0 h-[var(--grad-container-h)]",
2764
2819
  children: /* @__PURE__ */ jsxs19("div", { className: "flex flex-col flex-1 z-[-1] w-[var(--grad-container-w)]", children: [
2765
- /* @__PURE__ */ jsx28(
2820
+ /* @__PURE__ */ jsx29(
2766
2821
  "div",
2767
2822
  {
2768
2823
  className: cn("flex-1 w-full", {
@@ -2771,7 +2826,7 @@ function GradientLine(props) {
2771
2826
  })
2772
2827
  }
2773
2828
  ),
2774
- /* @__PURE__ */ jsx28(
2829
+ /* @__PURE__ */ jsx29(
2775
2830
  "div",
2776
2831
  {
2777
2832
  className: "w-full h-px",
@@ -2786,11 +2841,11 @@ function GradientLine(props) {
2786
2841
  }
2787
2842
 
2788
2843
  // src/components/molecules/connect-wallet.tsx
2789
- import { Fragment as Fragment6, jsx as jsx29, jsxs as jsxs20 } from "react/jsx-runtime";
2844
+ import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs20 } from "react/jsx-runtime";
2790
2845
  function WalletAccountItem(props) {
2791
2846
  const { network, wallet, address, isActive } = props;
2792
2847
  return /* @__PURE__ */ jsxs20("li", { className: "p-[0.75rem] select-none h-[3.75rem] rounded-[1rem] bg-brand-black-350 items-center flex gap-[0.625rem] w-full", children: [
2793
- /* @__PURE__ */ jsx29(
2848
+ /* @__PURE__ */ jsx30(
2794
2849
  BadgeIcon,
2795
2850
  {
2796
2851
  src: wallet.image,
@@ -2801,14 +2856,14 @@ function WalletAccountItem(props) {
2801
2856
  ),
2802
2857
  /* @__PURE__ */ jsxs20(Fragment6, { children: [
2803
2858
  /* @__PURE__ */ jsxs20("div", { className: "flex grow-1 flex-col font-medium text-brand-white-500", children: [
2804
- /* @__PURE__ */ jsx29("span", { className: "text-body", children: address != null ? address : "{{Address}}" }),
2859
+ /* @__PURE__ */ jsx30("span", { className: "text-body", children: address != null ? address : "{{Address}}" }),
2805
2860
  isActive && /* @__PURE__ */ jsxs20("span", { className: "text-caption-2 h-[1rem] text-brand-white-500 inline-flex items-center gap-0.5", children: [
2806
- /* @__PURE__ */ jsx29(Check_default, { className: "text-brand-success-400" }),
2861
+ /* @__PURE__ */ jsx30(Check_default, { className: "text-brand-success-400" }),
2807
2862
  " Connected"
2808
2863
  ] })
2809
2864
  ] }),
2810
2865
  /* @__PURE__ */ jsxs20("div", { className: "flex grow-0 gap-[0.375rem] h-[2rem] items-stretch shrink-0 *:shrink-0", children: [
2811
- /* @__PURE__ */ jsx29(
2866
+ /* @__PURE__ */ jsx30(
2812
2867
  IconButton,
2813
2868
  {
2814
2869
  size: "sm",
@@ -2819,7 +2874,7 @@ function WalletAccountItem(props) {
2819
2874
  var _a;
2820
2875
  (_a = props == null ? void 0 : props.onCopy) == null ? void 0 : _a.call(props);
2821
2876
  },
2822
- children: /* @__PURE__ */ jsx29(Copy_default, { className: "size-4 text-brand-black-100" })
2877
+ children: /* @__PURE__ */ jsx30(Copy_default, { className: "size-4 text-brand-black-100" })
2823
2878
  }
2824
2879
  ),
2825
2880
  /* @__PURE__ */ jsxs20(
@@ -2833,8 +2888,8 @@ function WalletAccountItem(props) {
2833
2888
  return (_a = props == null ? void 0 : props.onDisconnect) == null ? void 0 : _a.call(props);
2834
2889
  },
2835
2890
  children: [
2836
- /* @__PURE__ */ jsx29(Power_default, { className: "size-4 text-brand-black-100" }),
2837
- /* @__PURE__ */ jsx29("span", { className: "w-0 transition-all overflow-hidden group-hover:w-[10ch]", children: "Disconnect" })
2891
+ /* @__PURE__ */ jsx30(Power_default, { className: "size-4 text-brand-black-100" }),
2892
+ /* @__PURE__ */ jsx30("span", { className: "w-0 transition-all overflow-hidden group-hover:w-[10ch]", children: "Disconnect" })
2838
2893
  ]
2839
2894
  }
2840
2895
  )
@@ -2851,8 +2906,8 @@ function WalletProviderItem(props) {
2851
2906
  transition = { progress_duration: 5e3 }
2852
2907
  } = props;
2853
2908
  const is_supported = unsupported === "supported";
2854
- return /* @__PURE__ */ jsx29(GradientContainer, { children: /* @__PURE__ */ jsxs20("li", { className: "p-[0.75rem] select-none w-full flex h-[3.75rem] rounded-[1rem] bg-brand-black-350 items-center", children: [
2855
- status === "connecting" ? /* @__PURE__ */ jsx29(
2909
+ return /* @__PURE__ */ jsx30(GradientContainer, { children: /* @__PURE__ */ jsxs20("li", { className: "p-[0.75rem] select-none w-full flex h-[3.75rem] rounded-[1rem] bg-brand-black-350 items-center", children: [
2910
+ status === "connecting" ? /* @__PURE__ */ jsx30(
2856
2911
  GradientLine,
2857
2912
  {
2858
2913
  behaviour: "duration",
@@ -2860,10 +2915,10 @@ function WalletProviderItem(props) {
2860
2915
  }
2861
2916
  ) : null,
2862
2917
  /* @__PURE__ */ jsxs20("div", { className: "flex z-10 gap-[0.625rem] w-full items-center", children: [
2863
- /* @__PURE__ */ jsx29(TokenImage, { src: wallet.src, alt: wallet.name, className: "w-[2rem]" }),
2864
- /* @__PURE__ */ jsx29("div", { className: "flex grow-1 flex-col font-medium text-brand-white-500", children: /* @__PURE__ */ jsx29("span", { className: "text-base leading-[1.6]", children: wallet.name }) }),
2865
- !is_supported ? /* @__PURE__ */ jsx29("span", { className: "text-brand-black-100 text-xs font-medium", children: unsupported }) : null,
2866
- !installed && is_supported ? /* @__PURE__ */ jsx29(Button, { variant: "level_2", size: "sm", onClick: props.onConnect, children: "Install" }) : null,
2918
+ /* @__PURE__ */ jsx30(TokenImage, { src: wallet.src, alt: wallet.name, className: "w-[2rem]" }),
2919
+ /* @__PURE__ */ jsx30("div", { className: "flex grow-1 flex-col font-medium text-brand-white-500", children: /* @__PURE__ */ jsx30("span", { className: "text-base leading-[1.6]", children: wallet.name }) }),
2920
+ !is_supported ? /* @__PURE__ */ jsx30("span", { className: "text-brand-black-100 text-xs font-medium", children: unsupported }) : null,
2921
+ !installed && is_supported ? /* @__PURE__ */ jsx30(Button, { variant: "level_2", size: "sm", onClick: props.onConnect, children: "Install" }) : null,
2867
2922
  installed && is_supported && /* @__PURE__ */ jsxs20(Fragment6, { children: [
2868
2923
  status === "failed" && /* @__PURE__ */ jsxs20("div", { className: "flex grow-0 gap-[0.375rem] h-[2rem] items-stretch shrink-0 *:shrink-0", children: [
2869
2924
  /* @__PURE__ */ jsxs20(
@@ -2874,12 +2929,12 @@ function WalletProviderItem(props) {
2874
2929
  className: "h-[auto]",
2875
2930
  onClick: props.onRetry,
2876
2931
  children: [
2877
- /* @__PURE__ */ jsx29(RotateCcw_default, { className: "size-4 text-brand-black-100" }),
2932
+ /* @__PURE__ */ jsx30(RotateCcw_default, { className: "size-4 text-brand-black-100" }),
2878
2933
  "Try again"
2879
2934
  ]
2880
2935
  }
2881
2936
  ),
2882
- /* @__PURE__ */ jsx29(
2937
+ /* @__PURE__ */ jsx30(
2883
2938
  IconButton,
2884
2939
  {
2885
2940
  className: "cursor-pointer",
@@ -2887,11 +2942,11 @@ function WalletProviderItem(props) {
2887
2942
  size: "sm",
2888
2943
  onClick: props.onCancel,
2889
2944
  rounded: "default",
2890
- children: /* @__PURE__ */ jsx29(XIcon_default, { className: "text-brand-black-100 size-[1em]" })
2945
+ children: /* @__PURE__ */ jsx30(XIcon_default, { className: "text-brand-black-100 size-[1em]" })
2891
2946
  }
2892
2947
  )
2893
2948
  ] }),
2894
- (status === "connecting" || status === "idle") && /* @__PURE__ */ jsx29(
2949
+ (status === "connecting" || status === "idle") && /* @__PURE__ */ jsx30(
2895
2950
  Button,
2896
2951
  {
2897
2952
  variant: "level_2",
@@ -2912,8 +2967,8 @@ function WalletProviderItem(props) {
2912
2967
  return (_a = props == null ? void 0 : props.onDisconnect) == null ? void 0 : _a.call(props);
2913
2968
  },
2914
2969
  children: [
2915
- /* @__PURE__ */ jsx29(Power_default, { className: "size-4 text-brand-black-100" }),
2916
- /* @__PURE__ */ jsx29("span", { className: "w-0 transition-all overflow-hidden group-hover:w-[10ch]", children: "Disconnect" })
2970
+ /* @__PURE__ */ jsx30(Power_default, { className: "size-4 text-brand-black-100" }),
2971
+ /* @__PURE__ */ jsx30("span", { className: "w-0 transition-all overflow-hidden group-hover:w-[10ch]", children: "Disconnect" })
2917
2972
  ]
2918
2973
  }
2919
2974
  )
@@ -2923,13 +2978,13 @@ function WalletProviderItem(props) {
2923
2978
  }
2924
2979
  function NetworkGroupItem(props) {
2925
2980
  const { image: wallet } = props;
2926
- return /* @__PURE__ */ jsx29("li", { className: "p-[0.75rem] select-none flex h-[3.75rem] rounded-[1rem] bg-brand-black-350 w-full", children: /* @__PURE__ */ jsxs20("div", { className: "flex gap-[0.625rem] w-full z-20 relative items-center", children: [
2927
- /* @__PURE__ */ jsx29(TokenImage, { className: "w-[2rem]", src: wallet.src, alt: wallet.name }),
2981
+ return /* @__PURE__ */ jsx30("li", { className: "p-[0.75rem] select-none flex h-[3.75rem] rounded-[1rem] bg-brand-black-350 w-full", children: /* @__PURE__ */ jsxs20("div", { className: "flex gap-[0.625rem] w-full z-20 relative items-center", children: [
2982
+ /* @__PURE__ */ jsx30(TokenImage, { className: "w-[2rem]", src: wallet.src, alt: wallet.name }),
2928
2983
  /* @__PURE__ */ jsxs20("div", { className: "flex grow-1 flex-col font-medium text-brand-white-500", children: [
2929
- /* @__PURE__ */ jsx29("span", { className: "text-body", children: wallet.name }),
2930
- /* @__PURE__ */ jsx29("span", { className: "text-caption-2 text-brand-black-100", children: props.description })
2984
+ /* @__PURE__ */ jsx30("span", { className: "text-body", children: wallet.name }),
2985
+ /* @__PURE__ */ jsx30("span", { className: "text-caption-2 text-brand-black-100", children: props.description })
2931
2986
  ] }),
2932
- /* @__PURE__ */ jsx29(Button, { variant: "level_2", size: "sm", onClick: props.onConnect, children: "Connect" })
2987
+ /* @__PURE__ */ jsx30(Button, { variant: "level_2", size: "sm", onClick: props.onConnect, children: "Connect" })
2933
2988
  ] }) });
2934
2989
  }
2935
2990
  function AccountItem(props) {
@@ -2941,7 +2996,7 @@ function AccountItem(props) {
2941
2996
  }
2942
2997
  };
2943
2998
  return /* @__PURE__ */ jsxs20("li", { className: "select-none h-[3.75rem] items-center flex gap-[0.625rem] w-full", children: [
2944
- /* @__PURE__ */ jsx29(
2999
+ /* @__PURE__ */ jsx30(
2945
3000
  IconButton,
2946
3001
  {
2947
3002
  className: cn(
@@ -2951,10 +3006,10 @@ function AccountItem(props) {
2951
3006
  variant: "secondary",
2952
3007
  onClick: handleSelect,
2953
3008
  title: isActive ? "Already active" : "Activate this account",
2954
- children: isActive ? /* @__PURE__ */ jsx29(Check_default, { className: "size-4 text-brand-success-400" }) : /* @__PURE__ */ jsx29(CirclePlaceholder_default, { className: "size-4 text-brand-black-100 group-hover:text-white duration-200 transition-colors" })
3009
+ children: isActive ? /* @__PURE__ */ jsx30(Check_default, { className: "size-4 text-brand-success-400" }) : /* @__PURE__ */ jsx30(CirclePlaceholder_default, { className: "size-4 text-brand-black-100 group-hover:text-white duration-200 transition-colors" })
2955
3010
  }
2956
3011
  ),
2957
- /* @__PURE__ */ jsx29(
3012
+ /* @__PURE__ */ jsx30(
2958
3013
  BadgeIcon,
2959
3014
  {
2960
3015
  src: wallet.image,
@@ -2965,9 +3020,9 @@ function AccountItem(props) {
2965
3020
  }
2966
3021
  ),
2967
3022
  /* @__PURE__ */ jsxs20(Fragment6, { children: [
2968
- /* @__PURE__ */ jsx29("div", { className: "flex grow-1 flex-col font-medium text-brand-white-500", children: /* @__PURE__ */ jsx29("div", { className: "flex items-center gap-[6px]", children: /* @__PURE__ */ jsx29("span", { className: "text-body", children: address != null ? address : "{{Address}}" }) }) }),
3023
+ /* @__PURE__ */ jsx30("div", { className: "flex grow-1 flex-col font-medium text-brand-white-500", children: /* @__PURE__ */ jsx30("div", { className: "flex items-center gap-[6px]", children: /* @__PURE__ */ jsx30("span", { className: "text-body", children: address != null ? address : "{{Address}}" }) }) }),
2969
3024
  /* @__PURE__ */ jsxs20("div", { className: "relative flex gap-[6px] grow-0 h-[2rem] items-stretch shrink-0 *:shrink-0 pr-[45px]", children: [
2970
- /* @__PURE__ */ jsx29(
3025
+ /* @__PURE__ */ jsx30(
2971
3026
  IconButton,
2972
3027
  {
2973
3028
  size: "sm",
@@ -2978,7 +3033,7 @@ function AccountItem(props) {
2978
3033
  var _a;
2979
3034
  (_a = props == null ? void 0 : props.onCopy) == null ? void 0 : _a.call(props);
2980
3035
  },
2981
- children: /* @__PURE__ */ jsx29(Copy_default, { className: "size-4 text-brand-black-100" })
3036
+ children: /* @__PURE__ */ jsx30(Copy_default, { className: "size-4 text-brand-black-100" })
2982
3037
  }
2983
3038
  ),
2984
3039
  /* @__PURE__ */ jsxs20(
@@ -2992,8 +3047,8 @@ function AccountItem(props) {
2992
3047
  return (_a = props == null ? void 0 : props.onDisconnect) == null ? void 0 : _a.call(props);
2993
3048
  },
2994
3049
  children: [
2995
- /* @__PURE__ */ jsx29(Power_default, { className: "size-4 text-brand-black-100" }),
2996
- /* @__PURE__ */ jsx29("span", { className: "w-0 transition-all overflow-hidden group-hover:w-[10ch]", children: "Disconnect" })
3050
+ /* @__PURE__ */ jsx30(Power_default, { className: "size-4 text-brand-black-100" }),
3051
+ /* @__PURE__ */ jsx30("span", { className: "w-0 transition-all overflow-hidden group-hover:w-[10ch]", children: "Disconnect" })
2997
3052
  ]
2998
3053
  }
2999
3054
  )
@@ -3003,29 +3058,29 @@ function AccountItem(props) {
3003
3058
  }
3004
3059
 
3005
3060
  // src/components/molecules/review-item.tsx
3006
- import React10 from "react";
3007
- import { jsx as jsx30, jsxs as jsxs21 } from "react/jsx-runtime";
3061
+ import React11 from "react";
3062
+ import { jsx as jsx31, jsxs as jsxs21 } from "react/jsx-runtime";
3008
3063
  function ReviewItem(props) {
3009
3064
  const Btn = props.AddressInfo ? props.AddressInfo : ReviewItemCopyAddressButton;
3010
3065
  return /* @__PURE__ */ jsxs21("li", { className: "bg-brand-black-500 font-medium items-center w-full h-[calc(64rem/16)] flex gap-[1rem] p-[calc(12rem/16)]", children: [
3011
- /* @__PURE__ */ jsx30(BadgeIcon, __spreadValues({}, props.badge)),
3066
+ /* @__PURE__ */ jsx31(BadgeIcon, __spreadValues({}, props.badge)),
3012
3067
  /* @__PURE__ */ jsxs21("div", { className: "flex-1 text-start flex flex-col", children: [
3013
3068
  /* @__PURE__ */ jsxs21("span", { className: "text-[1rem] leading-[1.25] text-brand-white-500", children: [
3014
3069
  props.asset.amount,
3015
3070
  " ",
3016
3071
  props.asset.symbol
3017
3072
  ] }),
3018
- /* @__PURE__ */ jsx30("span", { className: "text-[calc(12rem/16)] leading-[1rem]", children: props.asset.secondaryValue })
3073
+ /* @__PURE__ */ jsx31("span", { className: "text-[calc(12rem/16)] leading-[1rem]", children: props.asset.secondaryValue })
3019
3074
  ] }),
3020
3075
  /* @__PURE__ */ jsxs21("div", { className: "flex flex-col items-end gap-[2px] text-end shrink-0", children: [
3021
- /* @__PURE__ */ jsx30(Btn, { address: props.address, tag: props.tag }),
3022
- /* @__PURE__ */ jsx30("span", { className: "text-[calc(12rem/16)] leading-[1rem]", children: props.networkName })
3076
+ /* @__PURE__ */ jsx31(Btn, { address: props.address, tag: props.tag }),
3077
+ /* @__PURE__ */ jsx31("span", { className: "text-[calc(12rem/16)] leading-[1rem]", children: props.networkName })
3023
3078
  ] })
3024
3079
  ] });
3025
3080
  }
3026
- var ReviewItemAddress = React10.forwardRef((props, ref) => {
3081
+ var ReviewItemAddress = React11.forwardRef((props, ref) => {
3027
3082
  const _a = props, { address, tag } = _a, PROPS = __objRest(_a, ["address", "tag"]);
3028
- return /* @__PURE__ */ jsx30(
3083
+ return /* @__PURE__ */ jsx31(
3029
3084
  "span",
3030
3085
  __spreadProps(__spreadValues({
3031
3086
  ref
@@ -3034,11 +3089,11 @@ var ReviewItemAddress = React10.forwardRef((props, ref) => {
3034
3089
  "rounded-full px-[6px] py-[3px] text-[calc(14rem/16)] inline-flex items-center gap-[calc(4rem/16)] bg-brand-black-300",
3035
3090
  props.className
3036
3091
  ),
3037
- children: /* @__PURE__ */ jsx30("span", { className: "text-[calc(12rem/16)] not-sr-only leading-[1rem] text-brand-white-500", children: address })
3092
+ children: /* @__PURE__ */ jsx31("span", { className: "text-[calc(12rem/16)] not-sr-only leading-[1rem] text-brand-white-500", children: address })
3038
3093
  })
3039
3094
  );
3040
3095
  });
3041
- var ReviewItemCopyAddressButton = React10.forwardRef((props, ref) => {
3096
+ var ReviewItemCopyAddressButton = React11.forwardRef((props, ref) => {
3042
3097
  const _a = props, { address, tag } = _a, PROPS = __objRest(_a, ["address", "tag"]);
3043
3098
  return /* @__PURE__ */ jsxs21(
3044
3099
  "button",
@@ -3055,8 +3110,8 @@ var ReviewItemCopyAddressButton = React10.forwardRef((props, ref) => {
3055
3110
  tag,
3056
3111
  " address"
3057
3112
  ] }),
3058
- /* @__PURE__ */ jsx30("span", { className: "text-[calc(12rem/16)] not-sr-only leading-[1rem] text-brand-white-500", children: address }),
3059
- /* @__PURE__ */ jsx30(Copy_default, { className: "size-4" })
3113
+ /* @__PURE__ */ jsx31("span", { className: "text-[calc(12rem/16)] not-sr-only leading-[1rem] text-brand-white-500", children: address }),
3114
+ /* @__PURE__ */ jsx31(Copy_default, { className: "size-4" })
3060
3115
  ]
3061
3116
  })
3062
3117
  );
@@ -3064,15 +3119,15 @@ var ReviewItemCopyAddressButton = React10.forwardRef((props, ref) => {
3064
3119
 
3065
3120
  // src/components/molecules/swap-review-item.tsx
3066
3121
  import { Loader2Icon } from "lucide-react";
3067
- import React11 from "react";
3068
- import { jsx as jsx31, jsxs as jsxs22 } from "react/jsx-runtime";
3122
+ import React12 from "react";
3123
+ import { jsx as jsx32, jsxs as jsxs22 } from "react/jsx-runtime";
3069
3124
  function SwapReviewItem(props) {
3070
3125
  const addressButton = props.addressButton;
3071
3126
  const { pendingMode = "idle" } = props;
3072
3127
  return /* @__PURE__ */ jsxs22("li", { className: "font-medium text-brand-black-100 items-center w-full h-[calc(48rem/16)] flex gap-[1rem]", children: [
3073
- /* @__PURE__ */ jsx31(BadgeIcon, __spreadValues({ size: "2.5rem" }, props.badge)),
3128
+ /* @__PURE__ */ jsx32(BadgeIcon, __spreadValues({ size: "2.5rem" }, props.badge)),
3074
3129
  /* @__PURE__ */ jsxs22("div", { className: "flex-1 text-start flex flex-col", children: [
3075
- /* @__PURE__ */ jsx31("span", { className: "text-[calc(12rem/16)] leading-[1rem]", children: props.tag === "from" ? "Amount in" : "Amount out" }),
3130
+ /* @__PURE__ */ jsx32("span", { className: "text-[calc(12rem/16)] leading-[1rem]", children: props.tag === "from" ? "Amount in" : "Amount out" }),
3076
3131
  /* @__PURE__ */ jsxs22(
3077
3132
  "span",
3078
3133
  {
@@ -3091,7 +3146,7 @@ function SwapReviewItem(props) {
3091
3146
  )
3092
3147
  ] }),
3093
3148
  /* @__PURE__ */ jsxs22("div", { className: "flex self-stretch items-end text-end shrink-0", children: [
3094
- /* @__PURE__ */ jsx31(if_default, { cond: props.variant === "processing", children: /* @__PURE__ */ jsx31(
3149
+ /* @__PURE__ */ jsx32(if_default, { cond: props.variant === "processing", children: /* @__PURE__ */ jsx32(
3095
3150
  "span",
3096
3151
  {
3097
3152
  className: cn(
@@ -3104,7 +3159,7 @@ function SwapReviewItem(props) {
3104
3159
  children: props.asset.secondaryValue
3105
3160
  }
3106
3161
  ) }),
3107
- /* @__PURE__ */ jsx31(if_default, { cond: props.variant === "reviewing", children: /* @__PURE__ */ jsxs22("div", { className: "flex flex-col items-end gap-1.5", children: [
3162
+ /* @__PURE__ */ jsx32(if_default, { cond: props.variant === "reviewing", children: /* @__PURE__ */ jsxs22("div", { className: "flex flex-col items-end gap-1.5", children: [
3108
3163
  addressButton,
3109
3164
  /* @__PURE__ */ jsxs22("span", { className: "text-[calc(11rem/16)] text-brand-black-100 px-2", children: [
3110
3165
  props.wallet.networkName,
@@ -3114,8 +3169,8 @@ function SwapReviewItem(props) {
3114
3169
  ] })
3115
3170
  ] });
3116
3171
  }
3117
- var SwapReviewCopyAddressButton = React11.forwardRef(function SwapReviewCopyAddressButton2(props, ref) {
3118
- return /* @__PURE__ */ jsx31(
3172
+ var SwapReviewCopyAddressButton = React12.forwardRef(function SwapReviewCopyAddressButton2(props, ref) {
3173
+ return /* @__PURE__ */ jsx32(
3119
3174
  ReviewItemCopyAddressButton,
3120
3175
  __spreadValues({
3121
3176
  ref,
@@ -3123,9 +3178,9 @@ var SwapReviewCopyAddressButton = React11.forwardRef(function SwapReviewCopyAddr
3123
3178
  }, props)
3124
3179
  );
3125
3180
  });
3126
- var SwapReviewItemAddress = React11.forwardRef((props, ref) => {
3181
+ var SwapReviewItemAddress = React12.forwardRef((props, ref) => {
3127
3182
  const _a = props, { address, tag } = _a, PROPS = __objRest(_a, ["address", "tag"]);
3128
- return /* @__PURE__ */ jsx31(
3183
+ return /* @__PURE__ */ jsx32(
3129
3184
  "span",
3130
3185
  __spreadProps(__spreadValues({
3131
3186
  ref
@@ -3134,12 +3189,12 @@ var SwapReviewItemAddress = React11.forwardRef((props, ref) => {
3134
3189
  "rounded-full px-[6px] py-[3px] text-[calc(14rem/16)] inline-flex items-center gap-[calc(4rem/16)] bg-brand-black-300",
3135
3190
  props.className
3136
3191
  ),
3137
- children: /* @__PURE__ */ jsx31("span", { className: "text-[calc(12rem/16)] not-sr-only leading-[1rem] text-brand-white-500", children: address })
3192
+ children: /* @__PURE__ */ jsx32("span", { className: "text-[calc(12rem/16)] not-sr-only leading-[1rem] text-brand-white-500", children: address })
3138
3193
  })
3139
3194
  );
3140
3195
  });
3141
3196
  function SwapReviewRoot(props) {
3142
- return /* @__PURE__ */ jsx31(
3197
+ return /* @__PURE__ */ jsx32(
3143
3198
  "section",
3144
3199
  {
3145
3200
  className: "select-none flex max-w-[25rem] flex-col gap-2 rounded-xl bg-brand-black-550 py-5 px-3.5",
@@ -3153,8 +3208,8 @@ function SwapReviewRoot(props) {
3153
3208
  }
3154
3209
  function SwapReviewSeperator(props) {
3155
3210
  return /* @__PURE__ */ jsxs22("div", { className: "overflow-x-hidden relative flex items-center justify-center", children: [
3156
- /* @__PURE__ */ jsx31("div", { className: "border-dashed border-brand-black-200 z-10 absolute inset-x-0 border-b" }),
3157
- /* @__PURE__ */ jsx31(
3211
+ /* @__PURE__ */ jsx32("div", { className: "border-dashed border-brand-black-200 z-10 absolute inset-x-0 border-b" }),
3212
+ /* @__PURE__ */ jsx32(
3158
3213
  "div",
3159
3214
  {
3160
3215
  className: "z-20 absolute inset-0",
@@ -3163,7 +3218,7 @@ function SwapReviewSeperator(props) {
3163
3218
  }
3164
3219
  }
3165
3220
  ),
3166
- /* @__PURE__ */ jsx31("div", { className: "self-center place-self-center relative z-30", children: props.children })
3221
+ /* @__PURE__ */ jsx32("div", { className: "self-center place-self-center relative z-30", children: props.children })
3167
3222
  ] });
3168
3223
  }
3169
3224
  function SwapReviewSeperatorStatus(props) {
@@ -3180,7 +3235,7 @@ function SwapReviewSeperatorStatus(props) {
3180
3235
  }
3181
3236
  ),
3182
3237
  children: [
3183
- /* @__PURE__ */ jsx31(
3238
+ /* @__PURE__ */ jsx32(
3184
3239
  "span",
3185
3240
  {
3186
3241
  className: cn("text-xs text-brand-black-100", {
@@ -3189,8 +3244,8 @@ function SwapReviewSeperatorStatus(props) {
3189
3244
  children: mode === "processing" ? "Swapping" : "Swapped"
3190
3245
  }
3191
3246
  ),
3192
- /* @__PURE__ */ jsx31("span", { role: "presentation", className: "absolute end-2.5", children: /* @__PURE__ */ jsxs22("span", { className: "text-[0.65625rem] size-[1em] flex items-center justify-center *:absolute *:left-0 *:top-0 relative", children: [
3193
- /* @__PURE__ */ jsx31(
3247
+ /* @__PURE__ */ jsx32("span", { role: "presentation", className: "absolute end-2.5", children: /* @__PURE__ */ jsxs22("span", { className: "text-[0.65625rem] size-[1em] flex items-center justify-center *:absolute *:left-0 *:top-0 relative", children: [
3248
+ /* @__PURE__ */ jsx32(
3194
3249
  Loader2Icon,
3195
3250
  {
3196
3251
  className: cn(
@@ -3201,7 +3256,7 @@ function SwapReviewSeperatorStatus(props) {
3201
3256
  )
3202
3257
  }
3203
3258
  ),
3204
- /* @__PURE__ */ jsx31(
3259
+ /* @__PURE__ */ jsx32(
3205
3260
  Check_default,
3206
3261
  {
3207
3262
  className: cn(
@@ -3220,8 +3275,8 @@ function SwapReviewSeperatorStatus(props) {
3220
3275
 
3221
3276
  // src/components/molecules/dialog.tsx
3222
3277
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
3223
- import React12 from "react";
3224
- import { Fragment as Fragment7, jsx as jsx32, jsxs as jsxs23 } from "react/jsx-runtime";
3278
+ import React13 from "react";
3279
+ import { Fragment as Fragment7, jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
3225
3280
  function DialogMorphContent(_a) {
3226
3281
  var _b = _a, {
3227
3282
  className,
@@ -3234,8 +3289,8 @@ function DialogMorphContent(_a) {
3234
3289
  "showCloseButton",
3235
3290
  "onInteractOutside"
3236
3291
  ]);
3237
- const [mode, setViewMode] = React12.useState("card");
3238
- React12.useEffect(() => {
3292
+ const [mode, setViewMode] = React13.useState("card");
3293
+ React13.useEffect(() => {
3239
3294
  const controller = new AbortController();
3240
3295
  const signal = controller.signal;
3241
3296
  const checkOrientation = () => {
@@ -3283,8 +3338,8 @@ function DialogMorphContent(_a) {
3283
3338
  "data-slot": "dialog-close",
3284
3339
  className: "ring-offset-background cursor-pointer w-[calc(32rem/16)] inline-flex items-center justify-center rounded-full text-brand-black-100 aspect-square focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3285
3340
  children: [
3286
- /* @__PURE__ */ jsx32(XIcon_default, { width: "1rem", height: "1rem" }),
3287
- /* @__PURE__ */ jsx32("span", { className: "sr-only", children: "Close" })
3341
+ /* @__PURE__ */ jsx33(XIcon_default, { width: "1rem", height: "1rem" }),
3342
+ /* @__PURE__ */ jsx33("span", { className: "sr-only", children: "Close" })
3288
3343
  ]
3289
3344
  }
3290
3345
  )
@@ -3292,33 +3347,33 @@ function DialogMorphContent(_a) {
3292
3347
  })
3293
3348
  );
3294
3349
  return /* @__PURE__ */ jsxs23(DialogPortal, { "data-slot": "dialog-portal", children: [
3295
- /* @__PURE__ */ jsx32(DialogOverlay, {}),
3296
- mode === "card" ? /* @__PURE__ */ jsx32(SmoothCorners, { children: Content9 }) : /* @__PURE__ */ jsx32(Fragment7, { children: Content9 })
3350
+ /* @__PURE__ */ jsx33(DialogOverlay, {}),
3351
+ mode === "card" ? /* @__PURE__ */ jsx33(SmoothCorners, { children: Content9 }) : /* @__PURE__ */ jsx33(Fragment7, { children: Content9 })
3297
3352
  ] });
3298
3353
  }
3299
3354
 
3300
3355
  // src/components/molecules/manage-wallet.tsx
3301
- import React13 from "react";
3356
+ import React14 from "react";
3302
3357
  import { Slot as Slot8 } from "@radix-ui/react-slot";
3303
- import { jsx as jsx33 } from "react/jsx-runtime";
3358
+ import { jsx as jsx34 } from "react/jsx-runtime";
3304
3359
  function WalletManagerUIProvider(props) {
3305
3360
  const { expand: open = false, children } = props;
3306
- const [show, setShow] = React13.useState(open);
3307
- return /* @__PURE__ */ jsx33(WalletManagerContext.Provider, { value: { show, setShow }, children });
3361
+ const [show, setShow] = React14.useState(open);
3362
+ return /* @__PURE__ */ jsx34(WalletManagerContext.Provider, { value: { show, setShow }, children });
3308
3363
  }
3309
- var WalletManagerContext = React13.createContext({
3364
+ var WalletManagerContext = React14.createContext({
3310
3365
  show: false,
3311
3366
  // @ts-expect-error
3312
- setShow: React13.Dispatch
3367
+ setShow: React14.Dispatch
3313
3368
  });
3314
3369
  function useManager() {
3315
- return React13.useContext(WalletManagerContext);
3370
+ return React14.useContext(WalletManagerContext);
3316
3371
  }
3317
3372
  function WalletManagerUIContent({
3318
3373
  children
3319
3374
  }) {
3320
3375
  const { show } = useManager();
3321
- return /* @__PURE__ */ jsx33(
3376
+ return /* @__PURE__ */ jsx34(
3322
3377
  Slot8,
3323
3378
  {
3324
3379
  className: cn("transition-all pt-[1rem] flex-1", {
@@ -3334,14 +3389,14 @@ import { InfoIcon } from "lucide-react";
3334
3389
 
3335
3390
  // src/@/ui/tooltip.tsx
3336
3391
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3337
- import { jsx as jsx34, jsxs as jsxs24 } from "react/jsx-runtime";
3392
+ import { jsx as jsx35, jsxs as jsxs24 } from "react/jsx-runtime";
3338
3393
  function TooltipProvider(_a) {
3339
3394
  var _b = _a, {
3340
3395
  delayDuration = 0
3341
3396
  } = _b, props = __objRest(_b, [
3342
3397
  "delayDuration"
3343
3398
  ]);
3344
- return /* @__PURE__ */ jsx34(
3399
+ return /* @__PURE__ */ jsx35(
3345
3400
  TooltipPrimitive.Provider,
3346
3401
  __spreadValues({
3347
3402
  "data-slot": "tooltip-provider",
@@ -3351,11 +3406,11 @@ function TooltipProvider(_a) {
3351
3406
  }
3352
3407
  function Tooltip(_a) {
3353
3408
  var props = __objRest(_a, []);
3354
- return /* @__PURE__ */ jsx34(TooltipProvider, { children: /* @__PURE__ */ jsx34(TooltipPrimitive.Root, __spreadValues({ "data-slot": "tooltip" }, props)) });
3409
+ return /* @__PURE__ */ jsx35(TooltipProvider, { children: /* @__PURE__ */ jsx35(TooltipPrimitive.Root, __spreadValues({ "data-slot": "tooltip" }, props)) });
3355
3410
  }
3356
3411
  function TooltipTrigger(_a) {
3357
3412
  var props = __objRest(_a, []);
3358
- return /* @__PURE__ */ jsx34(TooltipPrimitive.Trigger, __spreadValues({ "data-slot": "tooltip-trigger" }, props));
3413
+ return /* @__PURE__ */ jsx35(TooltipPrimitive.Trigger, __spreadValues({ "data-slot": "tooltip-trigger" }, props));
3359
3414
  }
3360
3415
  function TooltipContent(_a) {
3361
3416
  var _b = _a, {
@@ -3367,7 +3422,7 @@ function TooltipContent(_a) {
3367
3422
  "sideOffset",
3368
3423
  "children"
3369
3424
  ]);
3370
- return /* @__PURE__ */ jsx34(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs24(
3425
+ return /* @__PURE__ */ jsx35(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs24(
3371
3426
  TooltipPrimitive.Content,
3372
3427
  __spreadProps(__spreadValues({
3373
3428
  "data-slot": "tooltip-content",
@@ -3379,31 +3434,31 @@ function TooltipContent(_a) {
3379
3434
  }, props), {
3380
3435
  children: [
3381
3436
  children,
3382
- /* @__PURE__ */ jsx34(TooltipPrimitive.Arrow, { className: "bg-brand-black-600 fill-brand-black-600 z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
3437
+ /* @__PURE__ */ jsx35(TooltipPrimitive.Arrow, { className: "bg-brand-black-600 fill-brand-black-600 z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
3383
3438
  ]
3384
3439
  })
3385
3440
  ) });
3386
3441
  }
3387
3442
 
3388
3443
  // src/components/molecules/summary.tsx
3389
- import { jsx as jsx35, jsxs as jsxs25 } from "react/jsx-runtime";
3444
+ import { jsx as jsx36, jsxs as jsxs25 } from "react/jsx-runtime";
3390
3445
  function Summary(props) {
3391
- return /* @__PURE__ */ jsx35("div", { className: "flex flex-col gap-2 text-brand-black-100", children: props.children });
3446
+ return /* @__PURE__ */ jsx36("div", { className: "flex flex-col gap-2 text-brand-black-100", children: props.children });
3392
3447
  }
3393
3448
  function SummaryEntry(props) {
3394
3449
  var _a;
3395
3450
  const Icon = props.icon;
3396
3451
  const tooltip = typeof props.tooltip === "string" ? /* @__PURE__ */ jsxs25(Tooltip, { children: [
3397
- /* @__PURE__ */ jsx35(TooltipTrigger, { children: /* @__PURE__ */ jsx35(InfoIcon, { size: "1em" }) }),
3398
- /* @__PURE__ */ jsx35(TooltipContent, { children: props.tooltip })
3452
+ /* @__PURE__ */ jsx36(TooltipTrigger, { children: /* @__PURE__ */ jsx36(InfoIcon, { size: "1em" }) }),
3453
+ /* @__PURE__ */ jsx36(TooltipContent, { children: props.tooltip })
3399
3454
  ] }) : (_a = props.tooltip) != null ? _a : null;
3400
3455
  return /* @__PURE__ */ jsxs25("div", { className: "flex select-none items-center text-[calc(12rem/16)] font-medium", children: [
3401
3456
  /* @__PURE__ */ jsxs25("dt", { className: "flex-1 gap-1 flex items-center", children: [
3402
- /* @__PURE__ */ jsx35(Icon, { size: "1.16em" }),
3403
- /* @__PURE__ */ jsx35("span", { className: "text-[1em] leading-[1rem]", children: props.name }),
3457
+ /* @__PURE__ */ jsx36(Icon, { size: "1.16em" }),
3458
+ /* @__PURE__ */ jsx36("span", { className: "text-[1em] leading-[1rem]", children: props.name }),
3404
3459
  tooltip
3405
3460
  ] }),
3406
- /* @__PURE__ */ jsx35("dd", { children: props.children })
3461
+ /* @__PURE__ */ jsx36("dd", { children: props.children })
3407
3462
  ] });
3408
3463
  }
3409
3464
  function makeEntry({
@@ -3415,7 +3470,7 @@ function makeEntry({
3415
3470
  children,
3416
3471
  tooltip: overwriteTooltip
3417
3472
  }) {
3418
- return /* @__PURE__ */ jsx35(
3473
+ return /* @__PURE__ */ jsx36(
3419
3474
  SummaryEntry,
3420
3475
  {
3421
3476
  icon,
@@ -3428,39 +3483,39 @@ function makeEntry({
3428
3483
  };
3429
3484
  }
3430
3485
  var Bridge = makeEntry({
3431
- icon: ({ size }) => /* @__PURE__ */ jsx35(Percent_default, { width: size }),
3486
+ icon: ({ size }) => /* @__PURE__ */ jsx36(Percent_default, { width: size }),
3432
3487
  name: "Bridge fee"
3433
3488
  });
3434
3489
  var RecipientAddress = makeEntry({
3435
- icon: ({ size }) => /* @__PURE__ */ jsx35(Wallet_default, { width: size }),
3490
+ icon: ({ size }) => /* @__PURE__ */ jsx36(Wallet_default, { width: size }),
3436
3491
  name: "Recipient Address"
3437
3492
  });
3438
3493
  var GasEntry = makeEntry({
3439
- icon: ({ size }) => /* @__PURE__ */ jsx35(Gas_default, { width: size }),
3494
+ icon: ({ size }) => /* @__PURE__ */ jsx36(Gas_default, { width: size }),
3440
3495
  name: "Gas costs"
3441
3496
  });
3442
3497
  var SpillageTolerance = makeEntry({
3443
- icon: ({ size }) => /* @__PURE__ */ jsx35(ArrowBottomTop_default, { width: size }),
3498
+ icon: ({ size }) => /* @__PURE__ */ jsx36(ArrowBottomTop_default, { width: size }),
3444
3499
  name: "Spillage tolerance"
3445
3500
  });
3446
3501
  var Route = makeEntry({
3447
- icon: ({ size }) => /* @__PURE__ */ jsx35(ArrowSplit_default, { width: size }),
3502
+ icon: ({ size }) => /* @__PURE__ */ jsx36(ArrowSplit_default, { width: size }),
3448
3503
  name: "Route"
3449
3504
  });
3450
3505
  var Rate = makeEntry({
3451
- icon: ({ size }) => /* @__PURE__ */ jsx35(ArrowBottomTop_default, { width: size }),
3506
+ icon: ({ size }) => /* @__PURE__ */ jsx36(ArrowBottomTop_default, { width: size }),
3452
3507
  name: "Rate"
3453
3508
  });
3454
3509
  var Fee = makeEntry({
3455
- icon: ({ size }) => /* @__PURE__ */ jsx35(Gas_default, { width: size }),
3510
+ icon: ({ size }) => /* @__PURE__ */ jsx36(Gas_default, { width: size }),
3456
3511
  name: "Fee"
3457
3512
  });
3458
3513
  var ETA = makeEntry({
3459
- icon: ({ size }) => /* @__PURE__ */ jsx35(Clock_default, { width: size }),
3514
+ icon: ({ size }) => /* @__PURE__ */ jsx36(Clock_default, { width: size }),
3460
3515
  name: "Estimated time"
3461
3516
  });
3462
3517
  var Points = makeEntry({
3463
- icon: ({ size }) => /* @__PURE__ */ jsx35(Star_default, { width: size }),
3518
+ icon: ({ size }) => /* @__PURE__ */ jsx36(Star_default, { width: size }),
3464
3519
  name: "Points"
3465
3520
  });
3466
3521
  var SummaryValues = {
@@ -3477,10 +3532,10 @@ var SummaryValues = {
3477
3532
  },
3478
3533
  Values: {
3479
3534
  Highlight: ({ children }) => {
3480
- return /* @__PURE__ */ jsx35("span", { className: "text-[inherit] text-brand-white-500", children });
3535
+ return /* @__PURE__ */ jsx36("span", { className: "text-[inherit] text-brand-white-500", children });
3481
3536
  },
3482
3537
  Soft: ({ children }) => {
3483
- return /* @__PURE__ */ jsx35("span", { className: "text-[inherit]text-brand-black-50", children });
3538
+ return /* @__PURE__ */ jsx36("span", { className: "text-[inherit]text-brand-black-50", children });
3484
3539
  }
3485
3540
  }
3486
3541
  };
@@ -3489,11 +3544,11 @@ var SummaryValues = {
3489
3544
  import { Slot as Slot9 } from "@radix-ui/react-slot";
3490
3545
  import { Loader2 } from "lucide-react";
3491
3546
  import { AnimatePresence as AnimatePresence2, motion as motion3 } from "motion/react";
3492
- import React14 from "react";
3547
+ import React15 from "react";
3493
3548
 
3494
3549
  // src/@/ui/progress.tsx
3495
3550
  import * as ProgressPrimitive from "@radix-ui/react-progress";
3496
- import { jsx as jsx36 } from "react/jsx-runtime";
3551
+ import { jsx as jsx37 } from "react/jsx-runtime";
3497
3552
  function Progress(_a) {
3498
3553
  var _b = _a, {
3499
3554
  className,
@@ -3502,7 +3557,7 @@ function Progress(_a) {
3502
3557
  "className",
3503
3558
  "value"
3504
3559
  ]);
3505
- return /* @__PURE__ */ jsx36(
3560
+ return /* @__PURE__ */ jsx37(
3506
3561
  ProgressPrimitive.Root,
3507
3562
  __spreadProps(__spreadValues({
3508
3563
  "data-slot": "progress",
@@ -3511,7 +3566,7 @@ function Progress(_a) {
3511
3566
  className
3512
3567
  )
3513
3568
  }, props), {
3514
- children: /* @__PURE__ */ jsx36(
3569
+ children: /* @__PURE__ */ jsx37(
3515
3570
  ProgressPrimitive.Indicator,
3516
3571
  {
3517
3572
  "data-slot": "progress-indicator",
@@ -3524,13 +3579,13 @@ function Progress(_a) {
3524
3579
  }
3525
3580
 
3526
3581
  // src/components/molecules/timeline.tsx
3527
- import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
3582
+ import { jsx as jsx38, jsxs as jsxs26 } from "react/jsx-runtime";
3528
3583
  var StatusTextMap = {
3529
3584
  processing: "Processing",
3530
3585
  upcoming: "Upcoming",
3531
3586
  error: "Failed"
3532
3587
  };
3533
- var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3588
+ var TimelineItem = React15.forwardRef(function TimelineItem2(props, ref) {
3534
3589
  var _b, _c, _d, _e;
3535
3590
  const _a = props, {
3536
3591
  processingStatus,
@@ -3546,10 +3601,10 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3546
3601
  "durationMode"
3547
3602
  ]);
3548
3603
  const is_visually_active = processingStatus !== "upcoming";
3549
- const id = React14.useId();
3604
+ const id = React15.useId();
3550
3605
  const layoutId = `${id}/${caption}/content-2`;
3551
3606
  const hideTime = durationMode === "none";
3552
- return /* @__PURE__ */ jsx37(
3607
+ return /* @__PURE__ */ jsx38(
3553
3608
  motion3.li,
3554
3609
  __spreadProps(__spreadValues({
3555
3610
  ref
@@ -3565,7 +3620,7 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3565
3620
  },
3566
3621
  className: "flex h-[3.5rem] items-center gap-[0.86rem] py-[0.5625rem] px-[0.75rem] ",
3567
3622
  children: [
3568
- props.level === 0 ? /* @__PURE__ */ jsx37(BadgeIcon, __spreadValues({}, props.badge)) : /* @__PURE__ */ jsx37(
3623
+ props.level === 0 ? /* @__PURE__ */ jsx38(BadgeIcon, __spreadValues({}, props.badge)) : /* @__PURE__ */ jsx38(
3569
3624
  IconButton,
3570
3625
  {
3571
3626
  variant: "level_2",
@@ -3575,7 +3630,7 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3575
3630
  style: {
3576
3631
  boxShadow: "0 4px 24px 0 rgba(255, 255, 255, 0.05) inset"
3577
3632
  },
3578
- children: /* @__PURE__ */ jsx37(
3633
+ children: /* @__PURE__ */ jsx38(
3579
3634
  "span",
3580
3635
  {
3581
3636
  className: cn(
@@ -3590,8 +3645,8 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3590
3645
  }
3591
3646
  ),
3592
3647
  /* @__PURE__ */ jsxs26("div", { className: "flex flex-col flex-1 gap-[calc(4/16rem)]", children: [
3593
- /* @__PURE__ */ jsx37("div", { className: "text-brand-white-500 text-xs md:!text-base h-auto md:h-[1.25rem] truncate max-w-[150px] md:max-w-full", children: caption }),
3594
- /* @__PURE__ */ jsx37("div", { className: "text-xs h-[1rem] text-brand-black-100", children: processingStatus === "completed" ? ((_b = props.data) == null ? void 0 : _b.transactionUrl) ? /* @__PURE__ */ jsxs26(
3648
+ /* @__PURE__ */ jsx38("div", { className: "text-brand-white-500 text-xs md:!text-base h-auto md:h-[1.25rem] truncate max-w-[150px] md:max-w-full", children: caption }),
3649
+ /* @__PURE__ */ jsx38("div", { className: "text-xs h-[1rem] text-brand-black-100", children: processingStatus === "completed" ? ((_b = props.data) == null ? void 0 : _b.transactionUrl) ? /* @__PURE__ */ jsxs26(
3595
3650
  "a",
3596
3651
  {
3597
3652
  href: props.data.transactionUrl,
@@ -3599,11 +3654,11 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3599
3654
  target: "_blank",
3600
3655
  rel: "noopener noreferrer",
3601
3656
  children: [
3602
- /* @__PURE__ */ jsx37("span", { children: "View in explorer " }),
3603
- /* @__PURE__ */ jsx37(ArrowUpRight_default, { width: "0.75rem", height: "0.75rem" })
3657
+ /* @__PURE__ */ jsx38("span", { children: "View in explorer " }),
3658
+ /* @__PURE__ */ jsx38(ArrowUpRight_default, { width: "0.75rem", height: "0.75rem" })
3604
3659
  ]
3605
3660
  }
3606
- ) : /* @__PURE__ */ jsx37("span", { children: props.secondary }) : /* @__PURE__ */ jsx37("span", { children: (_c = props == null ? void 0 : props.secondary) != null ? _c : StatusTextMap[processingStatus] }) })
3661
+ ) : /* @__PURE__ */ jsx38("span", { children: props.secondary }) : /* @__PURE__ */ jsx38("span", { children: (_c = props == null ? void 0 : props.secondary) != null ? _c : StatusTextMap[processingStatus] }) })
3607
3662
  ] }),
3608
3663
  /* @__PURE__ */ jsxs26(AnimatePresence2, { children: [
3609
3664
  processingStatus === "completed" ? /* @__PURE__ */ jsxs26(
@@ -3615,8 +3670,8 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3615
3670
  exit: { x: 10, opacity: 0 },
3616
3671
  className: "flex gap-[calc(8rem/16)] items-center",
3617
3672
  children: [
3618
- !hideTime && /* @__PURE__ */ jsx37("span", { className: "text-[calc(13rem/16)] text-brand-black-100", children: (_d = props == null ? void 0 : props.data) == null ? void 0 : _d.completedIn }),
3619
- /* @__PURE__ */ jsx37(
3673
+ !hideTime && /* @__PURE__ */ jsx38("span", { className: "text-[calc(13rem/16)] text-brand-black-100", children: (_d = props == null ? void 0 : props.data) == null ? void 0 : _d.completedIn }),
3674
+ /* @__PURE__ */ jsx38(
3620
3675
  Check_default,
3621
3676
  {
3622
3677
  height: "1rem",
@@ -3636,8 +3691,8 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3636
3691
  layoutId,
3637
3692
  className: "flex gap-[calc(10rem/16)] items-center",
3638
3693
  children: [
3639
- !hideTime && /* @__PURE__ */ jsx37("span", { className: "text-[calc(13rem/16)]", children: (_e = props == null ? void 0 : props.data) == null ? void 0 : _e.eta }),
3640
- /* @__PURE__ */ jsx37(
3694
+ !hideTime && /* @__PURE__ */ jsx38("span", { className: "text-[calc(13rem/16)]", children: (_e = props == null ? void 0 : props.data) == null ? void 0 : _e.eta }),
3695
+ /* @__PURE__ */ jsx38(
3641
3696
  Loader2,
3642
3697
  {
3643
3698
  size: "1rem",
@@ -3655,13 +3710,13 @@ var TimelineItem = React14.forwardRef(function TimelineItem2(props, ref) {
3655
3710
  );
3656
3711
  });
3657
3712
  function TimelineListGroup(props) {
3658
- return /* @__PURE__ */ jsx37("ul", { className: cn("flex flex-col overflow-hidden"), children: props.children });
3713
+ return /* @__PURE__ */ jsx38("ul", { className: cn("flex flex-col overflow-hidden"), children: props.children });
3659
3714
  }
3660
3715
  function TimelineList(props) {
3661
- return /* @__PURE__ */ jsx37("ul", { className: "flex flex-col", children: props.children });
3716
+ return /* @__PURE__ */ jsx38("ul", { className: "flex flex-col", children: props.children });
3662
3717
  }
3663
- var TimelineRoot = React14.forwardRef((props, ref) => {
3664
- return /* @__PURE__ */ jsx37(
3718
+ var TimelineRoot = React15.forwardRef((props, ref) => {
3719
+ return /* @__PURE__ */ jsx38(
3665
3720
  "ul",
3666
3721
  __spreadProps(__spreadValues({
3667
3722
  ref
@@ -3700,7 +3755,7 @@ function TransactionTimer(props) {
3700
3755
  }
3701
3756
  ),
3702
3757
  children: [
3703
- /* @__PURE__ */ jsx37("span", { children: timerMessage }),
3758
+ /* @__PURE__ */ jsx38("span", { children: timerMessage }),
3704
3759
  /* @__PURE__ */ jsxs26("span", { className: "text-brand-white-500", children: [
3705
3760
  String(hours).padStart(2, "0"),
3706
3761
  ":",
@@ -3708,14 +3763,14 @@ function TransactionTimer(props) {
3708
3763
  ":",
3709
3764
  String(seconds).padStart(2, "0")
3710
3765
  ] }),
3711
- tooltipContent && /* @__PURE__ */ jsx37(TooltipProvider, { children: /* @__PURE__ */ jsxs26(Tooltip, { children: [
3712
- /* @__PURE__ */ jsx37(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx37("span", { children: /* @__PURE__ */ jsx37(CircleInfo_default, { width: "1em", height: "1em" }) }) }),
3713
- /* @__PURE__ */ jsx37(TooltipContent, { children: /* @__PURE__ */ jsx37("p", { children: tooltipContent }) })
3766
+ tooltipContent && /* @__PURE__ */ jsx38(TooltipProvider, { children: /* @__PURE__ */ jsxs26(Tooltip, { children: [
3767
+ /* @__PURE__ */ jsx38(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx38("span", { children: /* @__PURE__ */ jsx38(CircleInfo_default, { width: "1em", height: "1em" }) }) }),
3768
+ /* @__PURE__ */ jsx38(TooltipContent, { children: /* @__PURE__ */ jsx38("p", { children: tooltipContent }) })
3714
3769
  ] }) })
3715
3770
  ]
3716
3771
  }
3717
3772
  ),
3718
- /* @__PURE__ */ jsx37(
3773
+ /* @__PURE__ */ jsx38(
3719
3774
  Progress,
3720
3775
  {
3721
3776
  value: props.progress,
@@ -3739,7 +3794,7 @@ function TimerWrap(props) {
3739
3794
  },
3740
3795
  className: "flex flex-col items-stretch justify-start relative",
3741
3796
  children: [
3742
- /* @__PURE__ */ jsx37(
3797
+ /* @__PURE__ */ jsx38(
3743
3798
  "div",
3744
3799
  {
3745
3800
  className: cn(
@@ -3749,7 +3804,7 @@ function TimerWrap(props) {
3749
3804
  children: props.Timer
3750
3805
  }
3751
3806
  ),
3752
- /* @__PURE__ */ jsx37(
3807
+ /* @__PURE__ */ jsx38(
3753
3808
  Slot9,
3754
3809
  {
3755
3810
  className: cn("min-h-[calc(56rem/11)] z-20 relative !rounded-[1rem]", {
@@ -3766,14 +3821,14 @@ function TimerWrap(props) {
3766
3821
  // src/components/molecules/timeline-alt.tsx
3767
3822
  import { Loader2 as Loader22 } from "lucide-react";
3768
3823
  import { AnimatePresence as AnimatePresence3, motion as motion4 } from "motion/react";
3769
- import React15 from "react";
3770
- import { jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
3824
+ import React16 from "react";
3825
+ import { jsx as jsx39, jsxs as jsxs27 } from "react/jsx-runtime";
3771
3826
  var StatusTextMap2 = {
3772
3827
  processing: "Processing",
3773
3828
  upcoming: "Upcoming",
3774
3829
  error: "Failed"
3775
3830
  };
3776
- var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3831
+ var TimelineAltItem = React16.forwardRef(function TimelineAltItem2(props, ref) {
3777
3832
  var _b, _c, _d, _e;
3778
3833
  const _a = props, {
3779
3834
  processingStatus,
@@ -3789,10 +3844,10 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3789
3844
  "durationMode"
3790
3845
  ]);
3791
3846
  const is_visually_active = processingStatus !== "upcoming";
3792
- const id = React15.useId();
3847
+ const id = React16.useId();
3793
3848
  const layoutId = `${id}/${caption}/content-2`;
3794
3849
  const hideTime = durationMode === "none";
3795
- return /* @__PURE__ */ jsx38(
3850
+ return /* @__PURE__ */ jsx39(
3796
3851
  motion4.li,
3797
3852
  __spreadProps(__spreadValues({
3798
3853
  ref
@@ -3804,7 +3859,7 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3804
3859
  },
3805
3860
  children: /* @__PURE__ */ jsxs27(motion4.div, { className: "flex items-center bordergap-[0.86rem] py-[0.75rem] px-[0.875rem] ", children: [
3806
3861
  /* @__PURE__ */ jsxs27("div", { className: "flex flex-col flex-1 gap-[calc(4/16rem)]", children: [
3807
- /* @__PURE__ */ jsx38(
3862
+ /* @__PURE__ */ jsx39(
3808
3863
  "div",
3809
3864
  {
3810
3865
  className: cn(
@@ -3818,7 +3873,7 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3818
3873
  children: caption
3819
3874
  }
3820
3875
  ),
3821
- /* @__PURE__ */ jsx38("div", { className: "text-xs h-[1rem] text-brand-black-100", children: processingStatus === "completed" ? ((_b = props.data) == null ? void 0 : _b.transactionUrl) ? /* @__PURE__ */ jsxs27(
3876
+ /* @__PURE__ */ jsx39("div", { className: "text-xs h-[1rem] text-brand-black-100", children: processingStatus === "completed" ? ((_b = props.data) == null ? void 0 : _b.transactionUrl) ? /* @__PURE__ */ jsxs27(
3822
3877
  "a",
3823
3878
  {
3824
3879
  href: props.data.transactionUrl,
@@ -3826,11 +3881,11 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3826
3881
  target: "_blank",
3827
3882
  rel: "noopener noreferrer",
3828
3883
  children: [
3829
- /* @__PURE__ */ jsx38("span", { children: "View in explorer " }),
3830
- /* @__PURE__ */ jsx38(ArrowUpRight_default, { width: "0.75rem", height: "0.75rem" })
3884
+ /* @__PURE__ */ jsx39("span", { children: "View in explorer " }),
3885
+ /* @__PURE__ */ jsx39(ArrowUpRight_default, { width: "0.75rem", height: "0.75rem" })
3831
3886
  ]
3832
3887
  }
3833
- ) : /* @__PURE__ */ jsx38("span", { children: props.secondary }) : /* @__PURE__ */ jsx38("span", { children: (_c = props == null ? void 0 : props.secondary) != null ? _c : StatusTextMap2[processingStatus] }) })
3888
+ ) : /* @__PURE__ */ jsx39("span", { children: props.secondary }) : /* @__PURE__ */ jsx39("span", { children: (_c = props == null ? void 0 : props.secondary) != null ? _c : StatusTextMap2[processingStatus] }) })
3834
3889
  ] }),
3835
3890
  /* @__PURE__ */ jsxs27(AnimatePresence3, { children: [
3836
3891
  processingStatus === "completed" ? /* @__PURE__ */ jsxs27(
@@ -3842,7 +3897,7 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3842
3897
  exit: { x: 10, opacity: 0 },
3843
3898
  className: "flex gap-[calc(8rem/16)] items-center",
3844
3899
  children: [
3845
- !hideTime && /* @__PURE__ */ jsx38(
3900
+ !hideTime && /* @__PURE__ */ jsx39(
3846
3901
  "span",
3847
3902
  {
3848
3903
  className: cn("text-[calc(13rem/16)] text-brand-black-100", {
@@ -3851,7 +3906,7 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3851
3906
  children: (_d = props == null ? void 0 : props.data) == null ? void 0 : _d.completedIn
3852
3907
  }
3853
3908
  ),
3854
- /* @__PURE__ */ jsx38(
3909
+ /* @__PURE__ */ jsx39(
3855
3910
  Check_default,
3856
3911
  {
3857
3912
  height: "1rem",
@@ -3871,8 +3926,8 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3871
3926
  layoutId,
3872
3927
  className: "flex gap-[calc(10rem/16)] items-center",
3873
3928
  children: [
3874
- !hideTime && /* @__PURE__ */ jsx38("span", { className: "text-[calc(13rem/16)]", children: (_e = props == null ? void 0 : props.data) == null ? void 0 : _e.eta }),
3875
- /* @__PURE__ */ jsx38(
3929
+ !hideTime && /* @__PURE__ */ jsx39("span", { className: "text-[calc(13rem/16)]", children: (_e = props == null ? void 0 : props.data) == null ? void 0 : _e.eta }),
3930
+ /* @__PURE__ */ jsx39(
3876
3931
  Loader22,
3877
3932
  {
3878
3933
  size: "1rem",
@@ -3888,7 +3943,7 @@ var TimelineAltItem = React15.forwardRef(function TimelineAltItem2(props, ref) {
3888
3943
  );
3889
3944
  });
3890
3945
  function TimelineAltListGroup(props) {
3891
- return /* @__PURE__ */ jsx38(
3946
+ return /* @__PURE__ */ jsx39(
3892
3947
  "ul",
3893
3948
  {
3894
3949
  className: cn(
@@ -3899,10 +3954,10 @@ function TimelineAltListGroup(props) {
3899
3954
  );
3900
3955
  }
3901
3956
  function TimelineAltList(props) {
3902
- return /* @__PURE__ */ jsx38("ul", { className: "group/list group-list flex flex-col", children: props.children });
3957
+ return /* @__PURE__ */ jsx39("ul", { className: "group/list group-list flex flex-col", children: props.children });
3903
3958
  }
3904
- var TimelineAltRoot = React15.forwardRef((props, ref) => {
3905
- return /* @__PURE__ */ jsx38(
3959
+ var TimelineAltRoot = React16.forwardRef((props, ref) => {
3960
+ return /* @__PURE__ */ jsx39(
3906
3961
  "ul",
3907
3962
  __spreadProps(__spreadValues({
3908
3963
  ref
@@ -3921,7 +3976,7 @@ var TimelineAltRoot = React15.forwardRef((props, ref) => {
3921
3976
  TimelineAltRoot.displayName = "TimelineAltRoot";
3922
3977
 
3923
3978
  // src/components/molecules/toast.tsx
3924
- import { Fragment as Fragment8, jsx as jsx39, jsxs as jsxs28 } from "react/jsx-runtime";
3979
+ import { Fragment as Fragment8, jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
3925
3980
  var SeverityConfig = {
3926
3981
  error: {
3927
3982
  icon: Alert_default,
@@ -3947,23 +4002,23 @@ function ToastBox(props) {
3947
4002
  event.stopPropagation();
3948
4003
  onDismiss == null ? void 0 : onDismiss(event);
3949
4004
  };
3950
- return /* @__PURE__ */ jsx39(SmoothCorners, { size: "sm", children: /* @__PURE__ */ jsxs28(
4005
+ return /* @__PURE__ */ jsx40(SmoothCorners, { size: "sm", children: /* @__PURE__ */ jsxs28(
3951
4006
  "div",
3952
4007
  {
3953
4008
  "data-is-toast": "true",
3954
4009
  className: "bg-brand-black-500 flex flex-col md:flex-row gap-[0.75rem] items-start py-[calc(10rem/16)] px-[calc(12rem/16)] text-muted-foreground",
3955
4010
  children: [
3956
- /* @__PURE__ */ jsx39(
4011
+ /* @__PURE__ */ jsx40(
3957
4012
  "div",
3958
4013
  {
3959
4014
  className: cn("items-center justify-center shrink-0 grow-0", color),
3960
4015
  style: { fontSize: "calc(calc(24/16) * 1rem)" },
3961
- children: /* @__PURE__ */ jsx39(Icon, { width: "1em", height: "1em" })
4016
+ children: /* @__PURE__ */ jsx40(Icon, { width: "1em", height: "1em" })
3962
4017
  }
3963
4018
  ),
3964
4019
  /* @__PURE__ */ jsxs28("div", { className: "flex flex-col flex-1", children: [
3965
- /* @__PURE__ */ jsx39(Text, { variant: "body1", className: "text-foreground", children: props.heading }),
3966
- /* @__PURE__ */ jsx39(
4020
+ /* @__PURE__ */ jsx40(Text, { variant: "body1", className: "text-foreground", children: props.heading }),
4021
+ /* @__PURE__ */ jsx40(
3967
4022
  Text,
3968
4023
  {
3969
4024
  variant: "caption2",
@@ -3972,9 +4027,9 @@ function ToastBox(props) {
3972
4027
  }
3973
4028
  )
3974
4029
  ] }),
3975
- /* @__PURE__ */ jsx39("div", { className: "flex gap-[calc(6rem/16)] items-center self-center w-full md:w-auto", children: actions ? /* @__PURE__ */ jsxs28(Fragment8, { children: [
3976
- /* @__PURE__ */ jsx39("div", { className: "flex gap-[calc(6rem/16)] flex-1 items-center *:flex-1", children: actions }),
3977
- /* @__PURE__ */ jsx39(
4030
+ /* @__PURE__ */ jsx40("div", { className: "flex gap-[calc(6rem/16)] items-center self-center w-full md:w-auto", children: actions ? /* @__PURE__ */ jsxs28(Fragment8, { children: [
4031
+ /* @__PURE__ */ jsx40("div", { className: "flex gap-[calc(6rem/16)] flex-1 items-center *:flex-1", children: actions }),
4032
+ /* @__PURE__ */ jsx40(
3978
4033
  IconButton,
3979
4034
  {
3980
4035
  className: "cursor-pointer",
@@ -3982,10 +4037,10 @@ function ToastBox(props) {
3982
4037
  size: "smx",
3983
4038
  variant: "level_2",
3984
4039
  rounded: "default",
3985
- children: /* @__PURE__ */ jsx39(XIcon_default, { width: "1rem" })
4040
+ children: /* @__PURE__ */ jsx40(XIcon_default, { width: "1rem" })
3986
4041
  }
3987
4042
  )
3988
- ] }) : /* @__PURE__ */ jsx39(
4043
+ ] }) : /* @__PURE__ */ jsx40(
3989
4044
  Button2,
3990
4045
  {
3991
4046
  size: "sm",
@@ -4002,11 +4057,11 @@ function ToastBox(props) {
4002
4057
 
4003
4058
  // src/components/molecules/transaction-list.tsx
4004
4059
  import { motion as motion5 } from "motion/react";
4005
- import { Fragment as Fragment9, jsx as jsx40, jsxs as jsxs29 } from "react/jsx-runtime";
4060
+ import { Fragment as Fragment9, jsx as jsx41, jsxs as jsxs29 } from "react/jsx-runtime";
4006
4061
  function TxListItemProcessing(props) {
4007
4062
  const { size = "2rem" } = props;
4008
- return /* @__PURE__ */ jsx40(GradientContainer, { children: /* @__PURE__ */ jsxs29("div", { className: "rounded-[1rem] bg-brand-black-350 px-[0.75rem] h-[3.75rem] flex items-center", children: [
4009
- /* @__PURE__ */ jsx40(
4063
+ return /* @__PURE__ */ jsx41(GradientContainer, { children: /* @__PURE__ */ jsxs29("div", { className: "rounded-[1rem] bg-brand-black-350 px-[0.75rem] h-[3.75rem] flex items-center", children: [
4064
+ /* @__PURE__ */ jsx41(
4010
4065
  GradientLine,
4011
4066
  {
4012
4067
  behaviour: "progress",
@@ -4015,7 +4070,7 @@ function TxListItemProcessing(props) {
4015
4070
  }
4016
4071
  ),
4017
4072
  /* @__PURE__ */ jsxs29("div", { className: "flex gap-[1rem] flex-1 z-20 text-brand-black-100 font-medium", children: [
4018
- /* @__PURE__ */ jsx40(
4073
+ /* @__PURE__ */ jsx41(
4019
4074
  TokenTransferPair,
4020
4075
  {
4021
4076
  fromToken: props.from,
@@ -4024,13 +4079,13 @@ function TxListItemProcessing(props) {
4024
4079
  }
4025
4080
  ),
4026
4081
  /* @__PURE__ */ jsxs29("div", { className: "flex flex-grow flex-col text-start", children: [
4027
- /* @__PURE__ */ jsx40("span", { className: "text-brand-white-500 whitespace-nowrap text-[0.875rem] h-[1.25rem] max-w-28 md:max-w-full truncate", children: props.caption }),
4082
+ /* @__PURE__ */ jsx41("span", { className: "text-brand-white-500 whitespace-nowrap text-[0.875rem] h-[1.25rem] max-w-28 md:max-w-full truncate", children: props.caption }),
4028
4083
  /* @__PURE__ */ jsxs29(StatusBadge, { variant: props.status === "failed" ? "error" : "none", children: [
4029
4084
  "~ ",
4030
4085
  props.eta
4031
4086
  ] })
4032
4087
  ] }),
4033
- /* @__PURE__ */ jsx40("div", { className: "basis-4/12 max-w-xs shrink-0 flex justify-end h-[2.25rem] whitespace-nowrap", children: /* @__PURE__ */ jsxs29(
4088
+ /* @__PURE__ */ jsx41("div", { className: "basis-4/12 max-w-xs shrink-0 flex justify-end h-[2.25rem] whitespace-nowrap", children: /* @__PURE__ */ jsxs29(
4034
4089
  motion5.div,
4035
4090
  {
4036
4091
  initial: { y: 0 },
@@ -4043,7 +4098,7 @@ function TxListItemProcessing(props) {
4043
4098
  animate: { opacity: props.status === "processing" ? 1 : 0 },
4044
4099
  className: "flex flex-col text-end h-[2.25rem]",
4045
4100
  children: [
4046
- /* @__PURE__ */ jsx40("span", { className: "text-base text-brand-white-500 h-[1.25rem]", children: props.amount }),
4101
+ /* @__PURE__ */ jsx41("span", { className: "text-base text-brand-white-500 h-[1.25rem]", children: props.amount }),
4047
4102
  /* @__PURE__ */ jsxs29("span", { className: "text-xs h-[1rem]", children: [
4048
4103
  props.percentage,
4049
4104
  "%"
@@ -4057,14 +4112,14 @@ function TxListItemProcessing(props) {
4057
4112
  animate: { opacity: props.status === "failed" ? 1 : 0 },
4058
4113
  className: "flex gap-[0.75rem] items-center h-[2.25rem] justify-end",
4059
4114
  children: [
4060
- /* @__PURE__ */ jsx40("span", { className: "text-base text-brand-white-500 h-[1.25rem]", children: props.amount }),
4061
- /* @__PURE__ */ jsx40(
4115
+ /* @__PURE__ */ jsx41("span", { className: "text-base text-brand-white-500 h-[1.25rem]", children: props.amount }),
4116
+ /* @__PURE__ */ jsx41(
4062
4117
  IconButton,
4063
4118
  {
4064
4119
  variant: "destructive",
4065
4120
  rounded: "default",
4066
4121
  size: "smx",
4067
- children: /* @__PURE__ */ jsx40(RotateCcw_default, { className: "size-4 text-[currentColor]" })
4122
+ children: /* @__PURE__ */ jsx41(RotateCcw_default, { className: "size-4 text-[currentColor]" })
4068
4123
  }
4069
4124
  )
4070
4125
  ]
@@ -4094,7 +4149,7 @@ var TxListItem = function TxListItem2(props) {
4094
4149
  "amount",
4095
4150
  "size"
4096
4151
  ]);
4097
- return /* @__PURE__ */ jsx40(
4152
+ return /* @__PURE__ */ jsx41(
4098
4153
  "button",
4099
4154
  __spreadProps(__spreadValues({}, rest), {
4100
4155
  type: "button",
@@ -4103,14 +4158,14 @@ var TxListItem = function TxListItem2(props) {
4103
4158
  props.className
4104
4159
  ),
4105
4160
  children: /* @__PURE__ */ jsxs29("div", { className: "flex justify-between gap-4 flex-1 z-20 text-brand-black-100 font-medium", children: [
4106
- /* @__PURE__ */ jsx40(TokenTransferPair, { fromToken: from, toToken: to, size }),
4161
+ /* @__PURE__ */ jsx41(TokenTransferPair, { fromToken: from, toToken: to, size }),
4107
4162
  /* @__PURE__ */ jsxs29("div", { className: "flex flex-grow flex-col text-start whitespace-nowrap", children: [
4108
- /* @__PURE__ */ jsx40("span", { className: "text-brand-white-500 text-[0.875rem] h-[1.25rem] max-w-28 md:max-w-full truncate", children: caption }),
4109
- /* @__PURE__ */ jsx40(StatusBadge, { variant: mode === "rollback" ? "refunded" : "success" })
4163
+ /* @__PURE__ */ jsx41("span", { className: "text-brand-white-500 text-[0.875rem] h-[1.25rem] max-w-28 md:max-w-full truncate", children: caption }),
4164
+ /* @__PURE__ */ jsx41(StatusBadge, { variant: mode === "rollback" ? "refunded" : "success" })
4110
4165
  ] }),
4111
4166
  /* @__PURE__ */ jsxs29("div", { className: "shrink-0 flex flex-col text-end", children: [
4112
- /* @__PURE__ */ jsx40("span", { className: "text-base text-brand-white-500 h-[1.25rem]", children: amount }),
4113
- /* @__PURE__ */ jsx40("span", { className: "text-xs h-[1rem]", children: completedAt })
4167
+ /* @__PURE__ */ jsx41("span", { className: "text-base text-brand-white-500 h-[1.25rem]", children: amount }),
4168
+ /* @__PURE__ */ jsx41("span", { className: "text-xs h-[1rem]", children: completedAt })
4114
4169
  ] })
4115
4170
  ] })
4116
4171
  })
@@ -4122,44 +4177,44 @@ function StatusBadge({
4122
4177
  }) {
4123
4178
  return /* @__PURE__ */ jsxs29("span", { className: "text-[0.625rem] md:text-xs h-[1rem] flex items-center gap-[0.125rem]", children: [
4124
4179
  variant === "success" ? /* @__PURE__ */ jsxs29("span", { className: "text-brand-success-400 flex items-center gap-[0.125rem]", children: [
4125
- /* @__PURE__ */ jsx40(Check_default, { className: "size-2 md:size-3" }),
4180
+ /* @__PURE__ */ jsx41(Check_default, { className: "size-2 md:size-3" }),
4126
4181
  " ",
4127
- /* @__PURE__ */ jsx40("span", { children: "Success" })
4182
+ /* @__PURE__ */ jsx41("span", { children: "Success" })
4128
4183
  ] }) : null,
4129
4184
  variant === "refunded" ? /* @__PURE__ */ jsxs29(Fragment9, { children: [
4130
- /* @__PURE__ */ jsx40(StepBack_default, { strokeWidth: 2, className: "size-2 md:size-3" }),
4131
- /* @__PURE__ */ jsx40("span", { children: "Refunded" })
4185
+ /* @__PURE__ */ jsx41(StepBack_default, { strokeWidth: 2, className: "size-2 md:size-3" }),
4186
+ /* @__PURE__ */ jsx41("span", { children: "Refunded" })
4132
4187
  ] }) : null,
4133
4188
  variant === "error" ? /* @__PURE__ */ jsxs29(Fragment9, { children: [
4134
- /* @__PURE__ */ jsx40(Alert_default, { className: "size-2 md:size-3 text-brand-danger-500" }),
4135
- /* @__PURE__ */ jsx40("span", { className: "text-brand-danger-500", children: "Order expired" })
4189
+ /* @__PURE__ */ jsx41(Alert_default, { className: "size-2 md:size-3 text-brand-danger-500" }),
4190
+ /* @__PURE__ */ jsx41("span", { className: "text-brand-danger-500", children: "Order expired" })
4136
4191
  ] }) : null,
4137
4192
  variant === "none" ? children : null
4138
4193
  ] });
4139
4194
  }
4140
4195
  function TxList({ children }) {
4141
- return /* @__PURE__ */ jsx40("ul", { className: "flex flex-col gap-[0.5rem]", children });
4196
+ return /* @__PURE__ */ jsx41("ul", { className: "flex flex-col gap-[0.5rem]", children });
4142
4197
  }
4143
4198
 
4144
4199
  // src/components/molecules/wallet-header.tsx
4145
4200
  import { Slot as Slot10 } from "@radix-ui/react-slot";
4146
4201
  import { cva as cva6 } from "class-variance-authority";
4147
4202
  import { motion as motion6 } from "motion/react";
4148
- import * as React16 from "react";
4203
+ import * as React17 from "react";
4149
4204
 
4150
4205
  // src/components/organisms/assets-collection.tsx
4151
4206
  import * as Tab_ from "@radix-ui/react-tabs";
4152
4207
 
4153
4208
  // src/@/ui/tabs.tsx
4154
4209
  import * as TabsPrimitive from "@radix-ui/react-tabs";
4155
- import { jsx as jsx41 } from "react/jsx-runtime";
4210
+ import { jsx as jsx42 } from "react/jsx-runtime";
4156
4211
  function Tabs(_a) {
4157
4212
  var _b = _a, {
4158
4213
  className
4159
4214
  } = _b, props = __objRest(_b, [
4160
4215
  "className"
4161
4216
  ]);
4162
- return /* @__PURE__ */ jsx41(
4217
+ return /* @__PURE__ */ jsx42(
4163
4218
  TabsPrimitive.Root,
4164
4219
  __spreadValues({
4165
4220
  "data-slot": "tabs",
@@ -4173,7 +4228,7 @@ function TabsContent(_a) {
4173
4228
  } = _b, props = __objRest(_b, [
4174
4229
  "className"
4175
4230
  ]);
4176
- return /* @__PURE__ */ jsx41(
4231
+ return /* @__PURE__ */ jsx42(
4177
4232
  TabsPrimitive.Content,
4178
4233
  __spreadValues({
4179
4234
  "data-slot": "tabs-content",
@@ -4183,12 +4238,12 @@ function TabsContent(_a) {
4183
4238
  }
4184
4239
 
4185
4240
  // src/components/organisms/assets-collection.tsx
4186
- import { jsx as jsx42, jsxs as jsxs30 } from "react/jsx-runtime";
4241
+ import { jsx as jsx43, jsxs as jsxs30 } from "react/jsx-runtime";
4187
4242
  function TabsList2(props) {
4188
- return /* @__PURE__ */ jsx42("nav", { className: "flex flex-col", children: /* @__PURE__ */ jsx42(Tab_.TabsList, { asChild: true, children: /* @__PURE__ */ jsx42("ul", { className: "flex p-0 bg-transparent gap-3", children: props.children }) }) });
4243
+ return /* @__PURE__ */ jsx43("nav", { className: "flex flex-col", children: /* @__PURE__ */ jsx43(Tab_.TabsList, { asChild: true, children: /* @__PURE__ */ jsx43("ul", { className: "flex p-0 bg-transparent gap-3", children: props.children }) }) });
4189
4244
  }
4190
4245
  function TabItem(props) {
4191
- return /* @__PURE__ */ jsx42(
4246
+ return /* @__PURE__ */ jsx43(
4192
4247
  Tab_.TabsTrigger,
4193
4248
  {
4194
4249
  value: props.value,
@@ -4210,7 +4265,7 @@ function AssetValueTrend(props) {
4210
4265
  "--trend-color": isZero ? "inherit" : !isUp ? "var(--color-brand-danger-500, indigo)" : "var(--color-brand-success-400, cyan)"
4211
4266
  },
4212
4267
  children: [
4213
- /* @__PURE__ */ jsx42("span", { className: "text-[var(--trend-color)]", children: /* @__PURE__ */ jsx42(
4268
+ /* @__PURE__ */ jsx43("span", { className: "text-[var(--trend-color)]", children: /* @__PURE__ */ jsx43(
4214
4269
  ArrowTriangleBottom_default,
4215
4270
  {
4216
4271
  width: "0.75rem",
@@ -4244,7 +4299,7 @@ function Balance(props) {
4244
4299
  const { prefix = "$", suffix = "", formatter = currencyFormat } = props;
4245
4300
  const is_zero = props.amount === 0;
4246
4301
  const [int_, fraction] = formatter.format(props.amount).split(".");
4247
- return /* @__PURE__ */ jsx42("div", { className: "select-none", children: /* @__PURE__ */ jsxs30("span", { className: "text-[2.375rem] font-medium leading-[2.875rem] whitespace-nowrap", children: [
4302
+ return /* @__PURE__ */ jsx43("div", { className: "select-none", children: /* @__PURE__ */ jsxs30("span", { className: "text-[2.375rem] font-medium leading-[2.875rem] whitespace-nowrap", children: [
4248
4303
  /* @__PURE__ */ jsxs30(
4249
4304
  "span",
4250
4305
  {
@@ -4269,10 +4324,10 @@ function Balance(props) {
4269
4324
  }
4270
4325
 
4271
4326
  // src/components/molecules/wallet-header.tsx
4272
- import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs31 } from "react/jsx-runtime";
4273
- var WalletHeaderContext = React16.createContext(null);
4327
+ import { Fragment as Fragment11, jsx as jsx44, jsxs as jsxs31 } from "react/jsx-runtime";
4328
+ var WalletHeaderContext = React17.createContext(null);
4274
4329
  function useWalletHeader() {
4275
- const context = React16.useContext(WalletHeaderContext);
4330
+ const context = React17.useContext(WalletHeaderContext);
4276
4331
  if (!context) {
4277
4332
  throw new Error("useWalletHeader must be used within a WalletHeader");
4278
4333
  }
@@ -4293,7 +4348,7 @@ var walletHeaderVariants = cva6(
4293
4348
  }
4294
4349
  );
4295
4350
  var globalWalletHeaderState = null;
4296
- var WalletHeader = React16.forwardRef(
4351
+ var WalletHeader = React17.forwardRef(
4297
4352
  (_a, ref) => {
4298
4353
  var _b = _a, {
4299
4354
  className,
@@ -4311,15 +4366,15 @@ var WalletHeader = React16.forwardRef(
4311
4366
  "children"
4312
4367
  ]);
4313
4368
  const Comp = asChild ? Slot10 : "div";
4314
- const [show, setShow] = React16.useState(() => {
4369
+ const [show, setShow] = React17.useState(() => {
4315
4370
  return persistOpen && globalWalletHeaderState !== null ? globalWalletHeaderState : defaultOpen;
4316
4371
  });
4317
- React16.useEffect(() => {
4372
+ React17.useEffect(() => {
4318
4373
  if (persistOpen) {
4319
4374
  globalWalletHeaderState = show;
4320
4375
  }
4321
4376
  }, [show, persistOpen]);
4322
- return /* @__PURE__ */ jsx43(WalletHeaderContext.Provider, { value: { show, setShow }, children: /* @__PURE__ */ jsx43(
4377
+ return /* @__PURE__ */ jsx44(WalletHeaderContext.Provider, { value: { show, setShow }, children: /* @__PURE__ */ jsx44(
4323
4378
  Comp,
4324
4379
  __spreadProps(__spreadValues({
4325
4380
  ref,
@@ -4332,10 +4387,10 @@ var WalletHeader = React16.forwardRef(
4332
4387
  }
4333
4388
  );
4334
4389
  WalletHeader.displayName = "WalletHeader";
4335
- var WalletConnectedHeader = React16.forwardRef((_a, ref) => {
4390
+ var WalletConnectedHeader = React17.forwardRef((_a, ref) => {
4336
4391
  var _b = _a, { className, accounts, children } = _b, props = __objRest(_b, ["className", "accounts", "children"]);
4337
4392
  const { show: open, setShow } = useWalletHeader();
4338
- return /* @__PURE__ */ jsx43(
4393
+ return /* @__PURE__ */ jsx44(
4339
4394
  "button",
4340
4395
  __spreadProps(__spreadValues({
4341
4396
  ref,
@@ -4350,8 +4405,8 @@ var WalletConnectedHeader = React16.forwardRef((_a, ref) => {
4350
4405
  onClick: () => setShow((e) => !e)
4351
4406
  }, props), {
4352
4407
  children: /* @__PURE__ */ jsxs31("div", { className: "flex w-full gap-2 justify-between items-center", children: [
4353
- children || /* @__PURE__ */ jsx43(AccountStack, { accounts }),
4354
- /* @__PURE__ */ jsx43(
4408
+ children || /* @__PURE__ */ jsx44(AccountStack, { accounts }),
4409
+ /* @__PURE__ */ jsx44(
4355
4410
  IconButton,
4356
4411
  {
4357
4412
  variant: "level_1",
@@ -4360,7 +4415,7 @@ var WalletConnectedHeader = React16.forwardRef((_a, ref) => {
4360
4415
  rounded: "full",
4361
4416
  size: "sm",
4362
4417
  asChild: true,
4363
- children: /* @__PURE__ */ jsx43("span", { children: /* @__PURE__ */ jsx43(ChevronBottomDown_default, {}) })
4418
+ children: /* @__PURE__ */ jsx44("span", { children: /* @__PURE__ */ jsx44(ChevronBottomDown_default, {}) })
4364
4419
  }
4365
4420
  )
4366
4421
  ] })
@@ -4368,16 +4423,16 @@ var WalletConnectedHeader = React16.forwardRef((_a, ref) => {
4368
4423
  );
4369
4424
  });
4370
4425
  WalletConnectedHeader.displayName = "WalletConnectedHeader";
4371
- var WalletHeaderContent = React16.forwardRef((_a, _ref) => {
4426
+ var WalletHeaderContent = React17.forwardRef((_a, _ref) => {
4372
4427
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
4373
4428
  const { show: open } = useWalletHeader();
4374
- const containerRef = React16.useRef(null);
4375
- const parentRef = React16.useRef(null);
4429
+ const containerRef = React17.useRef(null);
4430
+ const parentRef = React17.useRef(null);
4376
4431
  const slideDown = {
4377
4432
  show: { opacity: [0, 0.8, 1] },
4378
4433
  hide: { opacity: [1, 0.25, 0] }
4379
4434
  };
4380
- React16.useEffect(() => {
4435
+ React17.useEffect(() => {
4381
4436
  const updateHeight = () => {
4382
4437
  if (containerRef.current && parentRef.current) {
4383
4438
  const height = containerRef.current.offsetHeight;
@@ -4432,7 +4487,7 @@ var WalletHeaderContent = React16.forwardRef((_a, _ref) => {
4432
4487
  "onTransitionRun",
4433
4488
  "onTransitionCancel"
4434
4489
  ]);
4435
- return /* @__PURE__ */ jsx43(
4490
+ return /* @__PURE__ */ jsx44(
4436
4491
  motion6.div,
4437
4492
  {
4438
4493
  ref: parentRef,
@@ -4441,7 +4496,7 @@ var WalletHeaderContent = React16.forwardRef((_a, _ref) => {
4441
4496
  className: cn("z-10 relative", {
4442
4497
  "pointer-events-none": !open
4443
4498
  }),
4444
- children: /* @__PURE__ */ jsx43(
4499
+ children: /* @__PURE__ */ jsx44(
4445
4500
  motion6.div,
4446
4501
  __spreadProps(__spreadValues({
4447
4502
  ref: containerRef,
@@ -4461,18 +4516,18 @@ var WalletHeaderContent = React16.forwardRef((_a, _ref) => {
4461
4516
  );
4462
4517
  });
4463
4518
  WalletHeaderContent.displayName = "WalletHeaderContent";
4464
- var AccountStack = React16.forwardRef(
4519
+ var AccountStack = React17.forwardRef(
4465
4520
  ({ accounts = [] }, ref) => {
4466
4521
  var _a, _b;
4467
- return /* @__PURE__ */ jsx43("div", { ref, className: "flex gap-[0.625rem] items-center", children: accounts.length > 0 ? /* @__PURE__ */ jsxs31(React16.Fragment, { children: [
4468
- /* @__PURE__ */ jsx43("div", { className: "inline-flex -space-x-[0.3125rem]", children: accounts.map((account, index) => /* @__PURE__ */ jsx43(
4522
+ return /* @__PURE__ */ jsx44("div", { ref, className: "flex gap-[0.625rem] items-center", children: accounts.length > 0 ? /* @__PURE__ */ jsxs31(React17.Fragment, { children: [
4523
+ /* @__PURE__ */ jsx44("div", { className: "inline-flex -space-x-[0.3125rem]", children: accounts.map((account, index) => /* @__PURE__ */ jsx44(
4469
4524
  "div",
4470
4525
  {
4471
4526
  style: {
4472
4527
  zIndex: accounts.length - index,
4473
4528
  position: "relative"
4474
4529
  },
4475
- children: /* @__PURE__ */ jsx43(
4530
+ children: /* @__PURE__ */ jsx44(
4476
4531
  BadgeIcon,
4477
4532
  {
4478
4533
  outline: true,
@@ -4487,14 +4542,14 @@ var AccountStack = React16.forwardRef(
4487
4542
  account.address
4488
4543
  )) }),
4489
4544
  /* @__PURE__ */ jsxs31("span", { className: "flex flex-col whitespace-nowrap", children: [
4490
- /* @__PURE__ */ jsx43("span", { className: "text-base font-medium h-[1.25rem] text-brand-white-500", children: accounts.length > 1 ? /* @__PURE__ */ jsxs31(Fragment11, { children: [
4545
+ /* @__PURE__ */ jsx44("span", { className: "text-base font-medium h-[1.25rem] text-brand-white-500", children: accounts.length > 1 ? /* @__PURE__ */ jsxs31(Fragment11, { children: [
4491
4546
  accounts.length,
4492
4547
  " wallets"
4493
- ] }) : /* @__PURE__ */ jsx43(Fragment11, { children: shortenAccountAddress((_b = (_a = accounts[0]) == null ? void 0 : _a.address) != null ? _b : "") || "--" }) }),
4494
- /* @__PURE__ */ jsx43("span", { className: "text-xs text-start h-[1rem] font-medium inline-flex items-center gap-[0.125rem] text-brand-black-100", children: "Connected" })
4548
+ ] }) : /* @__PURE__ */ jsx44(Fragment11, { children: shortenAccountAddress((_b = (_a = accounts[0]) == null ? void 0 : _a.address) != null ? _b : "") || "--" }) }),
4549
+ /* @__PURE__ */ jsx44("span", { className: "text-xs text-start h-[1rem] font-medium inline-flex items-center gap-[0.125rem] text-brand-black-100", children: "Connected" })
4495
4550
  ] })
4496
4551
  ] }) : /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-[0.625rem] select-none", children: [
4497
- /* @__PURE__ */ jsx43(
4552
+ /* @__PURE__ */ jsx44(
4498
4553
  IconButton,
4499
4554
  {
4500
4555
  disabled: true,
@@ -4502,22 +4557,22 @@ var AccountStack = React16.forwardRef(
4502
4557
  variant: "level_2",
4503
4558
  rounded: "full",
4504
4559
  size: "sm",
4505
- children: /* @__PURE__ */ jsx43(Wallet_default, { className: "size-5" })
4560
+ children: /* @__PURE__ */ jsx44(Wallet_default, { className: "size-5" })
4506
4561
  }
4507
4562
  ),
4508
- /* @__PURE__ */ jsx43("p", { className: "text-base font-medium text-brand-white-100", children: "Select an account" })
4563
+ /* @__PURE__ */ jsx44("p", { className: "text-base font-medium text-brand-white-100", children: "Select an account" })
4509
4564
  ] }) });
4510
4565
  }
4511
4566
  );
4512
4567
  AccountStack.displayName = "AccountStack";
4513
- var WalletHeaderTabs = React16.forwardRef((_a, ref) => {
4568
+ var WalletHeaderTabs = React17.forwardRef((_a, ref) => {
4514
4569
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
4515
- return /* @__PURE__ */ jsx43(Tabs, __spreadProps(__spreadValues({ ref, className: cn("gap-0 pt-3", className) }, props), { children }));
4570
+ return /* @__PURE__ */ jsx44(Tabs, __spreadProps(__spreadValues({ ref, className: cn("gap-0 pt-3", className) }, props), { children }));
4516
4571
  });
4517
4572
  WalletHeaderTabs.displayName = "WalletHeaderTabs";
4518
- var WalletHeaderTabsList = React16.forwardRef((_a, ref) => {
4573
+ var WalletHeaderTabsList = React17.forwardRef((_a, ref) => {
4519
4574
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
4520
- return /* @__PURE__ */ jsx43(
4575
+ return /* @__PURE__ */ jsx44(
4521
4576
  TabsList2,
4522
4577
  __spreadProps(__spreadValues({
4523
4578
  ref,
@@ -4528,9 +4583,9 @@ var WalletHeaderTabsList = React16.forwardRef((_a, ref) => {
4528
4583
  );
4529
4584
  });
4530
4585
  WalletHeaderTabsList.displayName = "WalletHeaderTabsList";
4531
- var WalletHeaderTabItem = React16.forwardRef((_a, ref) => {
4586
+ var WalletHeaderTabItem = React17.forwardRef((_a, ref) => {
4532
4587
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
4533
- return /* @__PURE__ */ jsx43(
4588
+ return /* @__PURE__ */ jsx44(
4534
4589
  TabItem,
4535
4590
  __spreadProps(__spreadValues({
4536
4591
  ref,
@@ -4544,9 +4599,9 @@ var WalletHeaderTabItem = React16.forwardRef((_a, ref) => {
4544
4599
  );
4545
4600
  });
4546
4601
  WalletHeaderTabItem.displayName = "WalletHeaderTabItem";
4547
- var WalletHeaderTabsContent = React16.forwardRef((_a, ref) => {
4602
+ var WalletHeaderTabsContent = React17.forwardRef((_a, ref) => {
4548
4603
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
4549
- return /* @__PURE__ */ jsx43(
4604
+ return /* @__PURE__ */ jsx44(
4550
4605
  TabsContent,
4551
4606
  __spreadProps(__spreadValues({
4552
4607
  ref,
@@ -4557,7 +4612,7 @@ var WalletHeaderTabsContent = React16.forwardRef((_a, ref) => {
4557
4612
  );
4558
4613
  });
4559
4614
  WalletHeaderTabsContent.displayName = "WalletHeaderTabsContent";
4560
- var WalletHeaderContentBlur = React16.forwardRef((_a, ref) => {
4615
+ var WalletHeaderContentBlur = React17.forwardRef((_a, ref) => {
4561
4616
  var _b = _a, { className, children, asChild = false } = _b, props = __objRest(_b, ["className", "children", "asChild"]);
4562
4617
  const { show: open, setShow } = useWalletHeader();
4563
4618
  const Comp = asChild ? Slot10 : "div";
@@ -4579,7 +4634,7 @@ var WalletHeaderContentBlur = React16.forwardRef((_a, ref) => {
4579
4634
  )
4580
4635
  }, props), {
4581
4636
  children: [
4582
- open && /* @__PURE__ */ jsx43(
4637
+ open && /* @__PURE__ */ jsx44(
4583
4638
  "div",
4584
4639
  {
4585
4640
  className: "absolute inset-0 z-10",
@@ -4598,15 +4653,15 @@ var WalletHeaderContentBlur = React16.forwardRef((_a, ref) => {
4598
4653
  WalletHeaderContentBlur.displayName = "WalletHeaderContentBlur";
4599
4654
 
4600
4655
  // src/components/navigation/header.tsx
4601
- import { jsx as jsx44 } from "react/jsx-runtime";
4656
+ import { jsx as jsx45 } from "react/jsx-runtime";
4602
4657
  function HeaderGradient() {
4603
- return /* @__PURE__ */ jsx44("div", { className: "absolute inset-0 h-[3px] bg-gradient-brand-animated" });
4658
+ return /* @__PURE__ */ jsx45("div", { className: "absolute inset-0 h-[3px] bg-gradient-brand-animated" });
4604
4659
  }
4605
4660
  function HeaderContent({
4606
4661
  children,
4607
4662
  className
4608
4663
  }) {
4609
- return /* @__PURE__ */ jsx44(
4664
+ return /* @__PURE__ */ jsx45(
4610
4665
  "div",
4611
4666
  {
4612
4667
  className: cn(
@@ -4621,7 +4676,7 @@ function Header({
4621
4676
  children,
4622
4677
  className
4623
4678
  }) {
4624
- return /* @__PURE__ */ jsx44(
4679
+ return /* @__PURE__ */ jsx45(
4625
4680
  "header",
4626
4681
  {
4627
4682
  className: cn(
@@ -4634,7 +4689,7 @@ function Header({
4634
4689
  }
4635
4690
 
4636
4691
  // src/components/navigation/tabs.tsx
4637
- import { jsx as jsx45, jsxs as jsxs32 } from "react/jsx-runtime";
4692
+ import { jsx as jsx46, jsxs as jsxs32 } from "react/jsx-runtime";
4638
4693
  function TabAltHeader({
4639
4694
  label,
4640
4695
  isNew,
@@ -4642,7 +4697,7 @@ function TabAltHeader({
4642
4697
  onClick,
4643
4698
  className = ""
4644
4699
  }) {
4645
- return /* @__PURE__ */ jsx45(
4700
+ return /* @__PURE__ */ jsx46(
4646
4701
  "button",
4647
4702
  {
4648
4703
  type: "button",
@@ -4653,8 +4708,8 @@ function TabAltHeader({
4653
4708
  className
4654
4709
  ),
4655
4710
  children: /* @__PURE__ */ jsxs32("span", { className: "relative z-10 flex items-center gap-2", children: [
4656
- /* @__PURE__ */ jsx45("span", { className: "font-medium", children: label }),
4657
- isNew && /* @__PURE__ */ jsx45("span", { className: "text-brand-warning-500 caption-text absolute top-0 left-[100%] w-max", children: "New" })
4711
+ /* @__PURE__ */ jsx46("span", { className: "font-medium", children: label }),
4712
+ isNew && /* @__PURE__ */ jsx46("span", { className: "text-brand-warning-500 caption-text absolute top-0 left-[100%] w-max", children: "New" })
4658
4713
  ] })
4659
4714
  }
4660
4715
  );
@@ -4663,13 +4718,13 @@ function TabAltHeaders({
4663
4718
  children,
4664
4719
  className = ""
4665
4720
  }) {
4666
- return /* @__PURE__ */ jsx45("div", { className: cn("flex space-x-3 mb-6", className), children });
4721
+ return /* @__PURE__ */ jsx46("div", { className: cn("flex space-x-3 mb-6", className), children });
4667
4722
  }
4668
4723
  function TabAltContent({
4669
4724
  children,
4670
4725
  className = ""
4671
4726
  }) {
4672
- return /* @__PURE__ */ jsx45("div", { className, children });
4727
+ return /* @__PURE__ */ jsx46("div", { className, children });
4673
4728
  }
4674
4729
  function TabAltPanel({
4675
4730
  id,
@@ -4678,18 +4733,32 @@ function TabAltPanel({
4678
4733
  className = ""
4679
4734
  }) {
4680
4735
  if (activeTab !== id) return null;
4681
- return /* @__PURE__ */ jsx45("div", { className, children }, id);
4736
+ return /* @__PURE__ */ jsx46("div", { className, children }, id);
4682
4737
  }
4683
4738
  function TabAlt({
4684
4739
  children,
4685
4740
  className = ""
4686
4741
  }) {
4687
- return /* @__PURE__ */ jsx45("div", { className: cn("w-full", className), children });
4742
+ return /* @__PURE__ */ jsx46("div", { className: cn("w-full", className), children });
4688
4743
  }
4689
4744
 
4690
4745
  // src/components/organisms/settings.tsx
4691
4746
  import { useState as useState7 } from "react";
4692
- import { jsx as jsx46, jsxs as jsxs33 } from "react/jsx-runtime";
4747
+
4748
+ // src/lib/form-utils.ts
4749
+ var createKeyDownHandler = () => {
4750
+ return (e) => {
4751
+ if (e.ctrlKey || e.metaKey || e.altKey) {
4752
+ return;
4753
+ }
4754
+ if (["e", "E", "+", "-"].includes(e.key) || /^[a-zA-Z]$/.test(e.key)) {
4755
+ e.preventDefault();
4756
+ }
4757
+ };
4758
+ };
4759
+
4760
+ // src/components/organisms/settings.tsx
4761
+ import { jsx as jsx47, jsxs as jsxs33 } from "react/jsx-runtime";
4693
4762
  var PRESET_SLIPPAGES = ["Auto", "0.25%", "0.5%", "0.75%", "1%"];
4694
4763
  var DEFAULT_TOOLTIP_TEXTS = {
4695
4764
  bridge: {
@@ -4769,7 +4838,7 @@ var Settings = ({
4769
4838
  title,
4770
4839
  " settings"
4771
4840
  ] }),
4772
- /* @__PURE__ */ jsx46(
4841
+ /* @__PURE__ */ jsx47(
4773
4842
  XIcon_default,
4774
4843
  {
4775
4844
  className: "size-4 cursor-pointer text-brand-black-100 hover:text-white duration-200 transition-colors",
@@ -4784,31 +4853,31 @@ var Settings = ({
4784
4853
  " Slippage"
4785
4854
  ] }),
4786
4855
  /* @__PURE__ */ jsxs33(Tooltip, { children: [
4787
- /* @__PURE__ */ jsx46(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx46(CircleInfo_default, { className: "size-[14px] cursor-pointer hover:text-white duration-200 transition-colors" }) }),
4788
- /* @__PURE__ */ jsx46(TooltipContent, { children: /* @__PURE__ */ jsx46("p", { className: "text-caption", children: effectiveSlippageTooltip }) })
4856
+ /* @__PURE__ */ jsx47(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx47(CircleInfo_default, { className: "size-[14px] cursor-pointer hover:text-white duration-200 transition-colors" }) }),
4857
+ /* @__PURE__ */ jsx47(TooltipContent, { children: /* @__PURE__ */ jsx47("p", { className: "text-caption", children: effectiveSlippageTooltip }) })
4789
4858
  ] })
4790
4859
  ] }),
4791
4860
  /* @__PURE__ */ jsxs33("div", { className: "grid grid-cols-3 gap-2 mt-3", children: [
4792
- PRESET_SLIPPAGES.map((option) => /* @__PURE__ */ jsx46(
4861
+ PRESET_SLIPPAGES.map((option) => /* @__PURE__ */ jsx47(
4793
4862
  "div",
4794
4863
  {
4795
4864
  className: cn(
4796
4865
  "relative rounded-2xl p-[1.5px]",
4797
4866
  isSlippageSelected(option) ? "animated-gradient-border" : "bg-transparent"
4798
4867
  ),
4799
- children: /* @__PURE__ */ jsx46(
4868
+ children: /* @__PURE__ */ jsx47(
4800
4869
  "button",
4801
4870
  {
4802
4871
  type: "button",
4803
4872
  onClick: () => handleSlippageSelect(option),
4804
4873
  className: "cursor-pointer w-full rounded-[16px] bg-brand-card-100 hover:bg-brand-card-100/80 transition-colors duration-200 p-[14px] flex items-center justify-center min-h-12",
4805
- children: /* @__PURE__ */ jsx46("p", { className: "body-1 font-medium", children: option })
4874
+ children: /* @__PURE__ */ jsx47("p", { className: "body-1 font-medium", children: option })
4806
4875
  }
4807
4876
  )
4808
4877
  },
4809
4878
  option
4810
4879
  )),
4811
- /* @__PURE__ */ jsx46(
4880
+ /* @__PURE__ */ jsx47(
4812
4881
  "div",
4813
4882
  {
4814
4883
  className: cn(
@@ -4816,7 +4885,7 @@ var Settings = ({
4816
4885
  isCustomSlippageActive ? "animated-gradient-border" : "bg-transparent"
4817
4886
  ),
4818
4887
  children: /* @__PURE__ */ jsxs33("div", { className: "relative bg-brand-card-100 rounded-[16px]", children: [
4819
- /* @__PURE__ */ jsx46(
4888
+ /* @__PURE__ */ jsx47(
4820
4889
  Input,
4821
4890
  {
4822
4891
  min: 0,
@@ -4831,7 +4900,7 @@ var Settings = ({
4831
4900
  onKeyDown: handleKeyDown
4832
4901
  }
4833
4902
  ),
4834
- /* @__PURE__ */ jsx46("span", { className: "body-1 absolute right-4 top-1/2 -translate-y-1/2 text-brand-black-100", children: "%" })
4903
+ /* @__PURE__ */ jsx47("span", { className: "body-1 absolute right-4 top-1/2 -translate-y-1/2 text-brand-black-100", children: "%" })
4835
4904
  ] })
4836
4905
  }
4837
4906
  )
@@ -4844,12 +4913,12 @@ var Settings = ({
4844
4913
  " deadline"
4845
4914
  ] }),
4846
4915
  /* @__PURE__ */ jsxs33(Tooltip, { children: [
4847
- /* @__PURE__ */ jsx46(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx46(CircleInfo_default, { className: "size-[14px] cursor-pointer hover:text-white duration-200 transition-colors" }) }),
4848
- /* @__PURE__ */ jsx46(TooltipContent, { children: /* @__PURE__ */ jsx46("p", { className: "text-caption", children: effectiveDeadlineTooltip }) })
4916
+ /* @__PURE__ */ jsx47(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx47(CircleInfo_default, { className: "size-[14px] cursor-pointer hover:text-white duration-200 transition-colors" }) }),
4917
+ /* @__PURE__ */ jsx47(TooltipContent, { children: /* @__PURE__ */ jsx47("p", { className: "text-caption", children: effectiveDeadlineTooltip }) })
4849
4918
  ] })
4850
4919
  ] }),
4851
4920
  /* @__PURE__ */ jsxs33("div", { className: "relative mt-3", children: [
4852
- /* @__PURE__ */ jsx46(
4921
+ /* @__PURE__ */ jsx47(
4853
4922
  Input,
4854
4923
  {
4855
4924
  value: customDeadline,
@@ -4862,32 +4931,32 @@ var Settings = ({
4862
4931
  min: 0
4863
4932
  }
4864
4933
  ),
4865
- /* @__PURE__ */ jsx46("span", { className: "body-1 absolute right-4 top-1/2 -translate-y-1/2 text-brand-black-100", children: "minutes" })
4934
+ /* @__PURE__ */ jsx47("span", { className: "body-1 absolute right-4 top-1/2 -translate-y-1/2 text-brand-black-100", children: "minutes" })
4866
4935
  ] })
4867
4936
  ] })
4868
4937
  ] });
4869
4938
  };
4870
4939
 
4871
4940
  // src/components/organisms/bridge-settings.tsx
4872
- import { jsx as jsx47 } from "react/jsx-runtime";
4941
+ import { jsx as jsx48 } from "react/jsx-runtime";
4873
4942
  var BridgeSettings = (props) => {
4874
- return /* @__PURE__ */ jsx47(Settings, __spreadProps(__spreadValues({}, props), { type: "bridge" }));
4943
+ return /* @__PURE__ */ jsx48(Settings, __spreadProps(__spreadValues({}, props), { type: "bridge" }));
4875
4944
  };
4876
4945
 
4877
4946
  // src/@/ui/sheet.tsx
4878
4947
  import * as SheetPrimitive from "@radix-ui/react-dialog";
4879
- import { jsx as jsx48, jsxs as jsxs34 } from "react/jsx-runtime";
4948
+ import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4880
4949
  function Sheet(_a) {
4881
4950
  var props = __objRest(_a, []);
4882
- return /* @__PURE__ */ jsx48(SheetPrimitive.Root, __spreadValues({ "data-slot": "sheet" }, props));
4951
+ return /* @__PURE__ */ jsx49(SheetPrimitive.Root, __spreadValues({ "data-slot": "sheet" }, props));
4883
4952
  }
4884
4953
  function SheetTrigger(_a) {
4885
4954
  var props = __objRest(_a, []);
4886
- return /* @__PURE__ */ jsx48(SheetPrimitive.Trigger, __spreadValues({ "data-slot": "sheet-trigger" }, props));
4955
+ return /* @__PURE__ */ jsx49(SheetPrimitive.Trigger, __spreadValues({ "data-slot": "sheet-trigger" }, props));
4887
4956
  }
4888
4957
  function SheetPortal(_a) {
4889
4958
  var props = __objRest(_a, []);
4890
- return /* @__PURE__ */ jsx48(SheetPrimitive.Portal, __spreadValues({ "data-slot": "sheet-portal" }, props));
4959
+ return /* @__PURE__ */ jsx49(SheetPrimitive.Portal, __spreadValues({ "data-slot": "sheet-portal" }, props));
4891
4960
  }
4892
4961
  function SheetOverlay(_a) {
4893
4962
  var _b = _a, {
@@ -4895,7 +4964,7 @@ function SheetOverlay(_a) {
4895
4964
  } = _b, props = __objRest(_b, [
4896
4965
  "className"
4897
4966
  ]);
4898
- return /* @__PURE__ */ jsx48(
4967
+ return /* @__PURE__ */ jsx49(
4899
4968
  SheetPrimitive.Overlay,
4900
4969
  __spreadValues({
4901
4970
  "data-slot": "sheet-overlay",
@@ -4917,7 +4986,7 @@ function SheetContent(_a) {
4917
4986
  "side"
4918
4987
  ]);
4919
4988
  return /* @__PURE__ */ jsxs34(SheetPortal, { children: [
4920
- /* @__PURE__ */ jsx48(SheetOverlay, {}),
4989
+ /* @__PURE__ */ jsx49(SheetOverlay, {}),
4921
4990
  /* @__PURE__ */ jsxs34(
4922
4991
  SheetPrimitive.Content,
4923
4992
  __spreadProps(__spreadValues({
@@ -4933,7 +5002,7 @@ function SheetContent(_a) {
4933
5002
  }, props), {
4934
5003
  children: [
4935
5004
  children,
4936
- /* @__PURE__ */ jsx48(
5005
+ /* @__PURE__ */ jsx49(
4937
5006
  SheetPrimitive.Close,
4938
5007
  {
4939
5008
  asChild: true,
@@ -4946,8 +5015,8 @@ function SheetContent(_a) {
4946
5015
  rounded: "full",
4947
5016
  size: "sm",
4948
5017
  children: [
4949
- /* @__PURE__ */ jsx48(ChevronDoubleRight_default, { className: "size-4 text-brand-black-100" }),
4950
- /* @__PURE__ */ jsx48("span", { className: "sr-only", children: "Close" })
5018
+ /* @__PURE__ */ jsx49(ChevronDoubleRight_default, { className: "size-4 text-brand-black-100" }),
5019
+ /* @__PURE__ */ jsx49("span", { className: "sr-only", children: "Close" })
4951
5020
  ]
4952
5021
  }
4953
5022
  )
@@ -4960,7 +5029,7 @@ function SheetContent(_a) {
4960
5029
  }
4961
5030
  function SheetHeader(_a) {
4962
5031
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
4963
- return /* @__PURE__ */ jsx48(
5032
+ return /* @__PURE__ */ jsx49(
4964
5033
  "div",
4965
5034
  __spreadValues({
4966
5035
  "data-slot": "sheet-header",
@@ -4968,53 +5037,25 @@ function SheetHeader(_a) {
4968
5037
  }, props)
4969
5038
  );
4970
5039
  }
4971
- function SheetTitle(_a) {
4972
- var _b = _a, {
4973
- className
4974
- } = _b, props = __objRest(_b, [
4975
- "className"
4976
- ]);
4977
- return /* @__PURE__ */ jsx48(
4978
- SheetPrimitive.Title,
4979
- __spreadValues({
4980
- "data-slot": "sheet-title",
4981
- className: cn("text-foreground font-semibold", className)
4982
- }, props)
4983
- );
4984
- }
4985
- function SheetDescription(_a) {
4986
- var _b = _a, {
4987
- className
4988
- } = _b, props = __objRest(_b, [
4989
- "className"
4990
- ]);
4991
- return /* @__PURE__ */ jsx48(
4992
- SheetPrimitive.Description,
4993
- __spreadValues({
4994
- "data-slot": "sheet-description",
4995
- className: cn("text-muted-foreground text-sm", className)
4996
- }, props)
4997
- );
4998
- }
4999
5040
 
5000
5041
  // src/components/navigation/hyperbridge-drawer.tsx
5001
5042
  import { Drawer as DrawerPrimitive2 } from "vaul";
5002
- import { Fragment as Fragment12, jsx as jsx49, jsxs as jsxs35 } from "react/jsx-runtime";
5043
+ import { Fragment as Fragment12, jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
5003
5044
  function HBDrawer(_a) {
5004
5045
  var props = __objRest(_a, []);
5005
- return /* @__PURE__ */ jsx49(DrawerPrimitive2.Root, __spreadValues({ "data-slot": "hb-drawer" }, props));
5046
+ return /* @__PURE__ */ jsx50(DrawerPrimitive2.Root, __spreadValues({ "data-slot": "hb-drawer" }, props));
5006
5047
  }
5007
5048
  function HBDrawerTrigger(_a) {
5008
5049
  var props = __objRest(_a, []);
5009
- return /* @__PURE__ */ jsx49(DrawerPrimitive2.Trigger, __spreadValues({ "data-slot": "hb-drawer-trigger" }, props));
5050
+ return /* @__PURE__ */ jsx50(DrawerPrimitive2.Trigger, __spreadValues({ "data-slot": "hb-drawer-trigger" }, props));
5010
5051
  }
5011
5052
  function HBDrawerPortal(_a) {
5012
5053
  var props = __objRest(_a, []);
5013
- return /* @__PURE__ */ jsx49(DrawerPrimitive2.Portal, __spreadValues({ "data-slot": "hb-drawer-portal" }, props));
5054
+ return /* @__PURE__ */ jsx50(DrawerPrimitive2.Portal, __spreadValues({ "data-slot": "hb-drawer-portal" }, props));
5014
5055
  }
5015
5056
  function HBDrawerClose(_a) {
5016
5057
  var props = __objRest(_a, []);
5017
- return /* @__PURE__ */ jsx49(DrawerPrimitive2.Close, __spreadValues({ "data-slot": "hb-drawer-close" }, props));
5058
+ return /* @__PURE__ */ jsx50(DrawerPrimitive2.Close, __spreadValues({ "data-slot": "hb-drawer-close" }, props));
5018
5059
  }
5019
5060
  function HBDrawerOverlay(_a) {
5020
5061
  var _b = _a, {
@@ -5022,7 +5063,7 @@ function HBDrawerOverlay(_a) {
5022
5063
  } = _b, props = __objRest(_b, [
5023
5064
  "className"
5024
5065
  ]);
5025
- return /* @__PURE__ */ jsx49(
5066
+ return /* @__PURE__ */ jsx50(
5026
5067
  DrawerPrimitive2.Overlay,
5027
5068
  __spreadValues({
5028
5069
  "data-slot": "hb-drawer-overlay",
@@ -5042,8 +5083,8 @@ function HBDrawerContent(_a) {
5042
5083
  "children"
5043
5084
  ]);
5044
5085
  return /* @__PURE__ */ jsxs35(Fragment12, { children: [
5045
- /* @__PURE__ */ jsx49(HBDrawerPortal, {}),
5046
- /* @__PURE__ */ jsx49(HBDrawerOverlay, {}),
5086
+ /* @__PURE__ */ jsx50(HBDrawerPortal, {}),
5087
+ /* @__PURE__ */ jsx50(HBDrawerOverlay, {}),
5047
5088
  /* @__PURE__ */ jsxs35(
5048
5089
  DrawerPrimitive2.Content,
5049
5090
  __spreadProps(__spreadValues({
@@ -5058,7 +5099,7 @@ function HBDrawerContent(_a) {
5058
5099
  )
5059
5100
  }, props), {
5060
5101
  children: [
5061
- /* @__PURE__ */ jsx49("div", { className: "bg-brand-black-350 mx-auto my-2 hidden h-[5px] w-16 shrink-0 rounded-[2.5px] group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
5102
+ /* @__PURE__ */ jsx50("div", { className: "bg-brand-black-350 mx-auto my-2 hidden h-[5px] w-16 shrink-0 rounded-[2.5px] group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
5062
5103
  children
5063
5104
  ]
5064
5105
  })
@@ -5067,7 +5108,7 @@ function HBDrawerContent(_a) {
5067
5108
  }
5068
5109
  function HBDrawerHeader(_a) {
5069
5110
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5070
- return /* @__PURE__ */ jsx49(
5111
+ return /* @__PURE__ */ jsx50(
5071
5112
  "div",
5072
5113
  __spreadValues({
5073
5114
  "data-slot": "hb-drawer-header",
@@ -5080,7 +5121,7 @@ function HBDrawerHeader(_a) {
5080
5121
  }
5081
5122
  function HBDrawerFooter(_a) {
5082
5123
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5083
- return /* @__PURE__ */ jsx49(
5124
+ return /* @__PURE__ */ jsx50(
5084
5125
  "div",
5085
5126
  __spreadValues({
5086
5127
  "data-slot": "hb-drawer-footer",
@@ -5094,7 +5135,7 @@ function HBDrawerTitle(_a) {
5094
5135
  } = _b, props = __objRest(_b, [
5095
5136
  "className"
5096
5137
  ]);
5097
- return /* @__PURE__ */ jsx49(
5138
+ return /* @__PURE__ */ jsx50(
5098
5139
  DrawerPrimitive2.Title,
5099
5140
  __spreadValues({
5100
5141
  "data-slot": "hb-drawer-title",
@@ -5108,7 +5149,7 @@ function HBDrawerDescription(_a) {
5108
5149
  } = _b, props = __objRest(_b, [
5109
5150
  "className"
5110
5151
  ]);
5111
- return /* @__PURE__ */ jsx49(
5152
+ return /* @__PURE__ */ jsx50(
5112
5153
  DrawerPrimitive2.Description,
5113
5154
  __spreadValues({
5114
5155
  "data-slot": "hb-drawer-description",
@@ -5118,35 +5159,32 @@ function HBDrawerDescription(_a) {
5118
5159
  }
5119
5160
 
5120
5161
  // src/components/organisms/manage-account.tsx
5121
- import { jsx as jsx50, jsxs as jsxs36 } from "react/jsx-runtime";
5162
+ import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
5122
5163
  function ManageAccounts() {
5123
5164
  console.warn("ManageAccounts is deprecated");
5124
5165
  return null;
5125
5166
  }
5126
5167
  function HeaderChooseProvider() {
5127
- return /* @__PURE__ */ jsxs36(SheetHeader, { className: "p-[1rem] -mx-[1rem]", children: [
5128
- /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-[0.625rem] select-none", children: [
5129
- /* @__PURE__ */ jsx50(
5130
- IconButton,
5131
- {
5132
- disabled: true,
5133
- className: "pointer-events-none !text-brand-white-500",
5134
- variant: "level_2",
5135
- rounded: "full",
5136
- size: "sm",
5137
- children: /* @__PURE__ */ jsx50(Wallet_default, { className: "size-5" })
5138
- }
5139
- ),
5140
- /* @__PURE__ */ jsx50(SheetTitle, { className: "text-brand-white-100", children: /* @__PURE__ */ jsx50("span", { className: "text-base font-medium", children: "Connect Your Wallet" }) })
5141
- ] }),
5142
- /* @__PURE__ */ jsx50(SheetDescription, { className: "sr-only", children: "Choose a wallet provider to connect to our application." })
5143
- ] });
5168
+ return /* @__PURE__ */ jsx51(SheetHeader, { className: "p-[1rem] -mx-[1rem]", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-[0.625rem] select-none", children: [
5169
+ /* @__PURE__ */ jsx51(
5170
+ IconButton,
5171
+ {
5172
+ disabled: true,
5173
+ className: "pointer-events-none !text-brand-white-500",
5174
+ variant: "level_2",
5175
+ rounded: "full",
5176
+ size: "sm",
5177
+ children: /* @__PURE__ */ jsx51(Wallet_default, { className: "size-5" })
5178
+ }
5179
+ ),
5180
+ /* @__PURE__ */ jsx51("span", { className: "text-base font-medium text-brand-white-100", children: "Connect Your Wallet" })
5181
+ ] }) });
5144
5182
  }
5145
5183
  function HeaderNested(props) {
5146
5184
  var _a;
5147
5185
  const { heading, image, onBack, hideBackButton } = props;
5148
- return /* @__PURE__ */ jsx50("div", { className: "p-[1rem] -mx-[1rem]", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-[0.625rem] select-none", children: [
5149
- /* @__PURE__ */ jsx50(
5186
+ return /* @__PURE__ */ jsx51("div", { className: "p-[1rem] -mx-[1rem]", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-[0.625rem] select-none", children: [
5187
+ /* @__PURE__ */ jsx51(
5150
5188
  TokenImage,
5151
5189
  {
5152
5190
  src: image.src,
@@ -5154,15 +5192,15 @@ function HeaderNested(props) {
5154
5192
  alt: (_a = image.alt) != null ? _a : heading
5155
5193
  }
5156
5194
  ),
5157
- /* @__PURE__ */ jsx50("div", { className: "text-brand-white-100 flex-1", children: /* @__PURE__ */ jsx50("span", { className: "text-base font-medium", children: heading }) }),
5158
- !hideBackButton && /* @__PURE__ */ jsx50(
5195
+ /* @__PURE__ */ jsx51("div", { className: "text-brand-white-100 flex-1", children: /* @__PURE__ */ jsx51("span", { className: "text-base font-medium", children: heading }) }),
5196
+ !hideBackButton && /* @__PURE__ */ jsx51(
5159
5197
  IconButton,
5160
5198
  {
5161
5199
  variant: "level_1",
5162
5200
  rounded: "full",
5163
5201
  size: "sm",
5164
5202
  onClick: onBack,
5165
- children: /* @__PURE__ */ jsx50(
5203
+ children: /* @__PURE__ */ jsx51(
5166
5204
  StepBack_default,
5167
5205
  {
5168
5206
  width: "1rem",
@@ -5180,8 +5218,8 @@ function ListSection({
5180
5218
  contentClassName
5181
5219
  }) {
5182
5220
  return /* @__PURE__ */ jsxs36("div", { className: "flex flex-col gap-y-[0.375rem]", children: [
5183
- /* @__PURE__ */ jsx50("div", { className: "text-caption text-brand-black-100 select-none font-normal", children: caption }),
5184
- /* @__PURE__ */ jsx50("div", { className: cn("flex flex-col gap-2", contentClassName), children })
5221
+ /* @__PURE__ */ jsx51("div", { className: "text-caption text-brand-black-100 select-none font-normal", children: caption }),
5222
+ /* @__PURE__ */ jsx51("div", { className: cn("flex flex-col gap-2", contentClassName), children })
5185
5223
  ] });
5186
5224
  }
5187
5225
  function CWDrawerContent(_a) {
@@ -5193,7 +5231,7 @@ function CWDrawerContent(_a) {
5193
5231
  const isMobile = useIsMobile();
5194
5232
  const viewportHeight = useViewportHeight(isMobile);
5195
5233
  if (isMobile) {
5196
- return /* @__PURE__ */ jsx50(
5234
+ return /* @__PURE__ */ jsx51(
5197
5235
  HBDrawerContent,
5198
5236
  {
5199
5237
  className: "bg-brand-black-550 rounded-t-[1rem] w-full px-[1rem] border-t border-brand-black-300",
@@ -5204,30 +5242,30 @@ function CWDrawerContent(_a) {
5204
5242
  } : {
5205
5243
  minHeight: "90dvh"
5206
5244
  },
5207
- children: /* @__PURE__ */ jsx50("div", { className: "flex flex-col flex-1", children })
5245
+ children: /* @__PURE__ */ jsx51("div", { className: "flex flex-col flex-1", children })
5208
5246
  }
5209
5247
  );
5210
5248
  }
5211
- return /* @__PURE__ */ jsx50(
5249
+ return /* @__PURE__ */ jsx51(
5212
5250
  SheetContent,
5213
5251
  __spreadProps(__spreadValues({}, props), {
5214
5252
  side: "right",
5215
5253
  className: "h-full max-h-auto max-w-[calc(29.75rem_+_1.25rem)] select-none border-none shadow-none text-brand-white-500 w-full sm:w-[540px] bg-transparent p-[0.625rem]",
5216
- children: /* @__PURE__ */ jsx50("div", { className: "bg-brand-black-550 flex-1 flex flex-col rounded-[1rem] px-[1rem] overflow-hidden", children })
5254
+ children: /* @__PURE__ */ jsx51("div", { className: "bg-brand-black-550 flex-1 flex flex-col rounded-[1rem] px-[1rem] overflow-hidden", children })
5217
5255
  })
5218
5256
  );
5219
5257
  }
5220
5258
 
5221
5259
  // src/components/tokens/swap-token-selector.tsx
5222
5260
  import { useRef as useRef3 } from "react";
5223
- import { jsx as jsx51, jsxs as jsxs37 } from "react/jsx-runtime";
5261
+ import { jsx as jsx52, jsxs as jsxs37 } from "react/jsx-runtime";
5224
5262
  var SwapTokenSelector = ({
5225
5263
  isOpen,
5226
5264
  onClose,
5227
5265
  children,
5228
5266
  className
5229
5267
  }) => {
5230
- return /* @__PURE__ */ jsx51(Modal, { isOpen, onClose, className, children });
5268
+ return /* @__PURE__ */ jsx52(Modal, { isOpen, onClose, className, children });
5231
5269
  };
5232
5270
  var SwapTokenSelectorHeader = ({
5233
5271
  title,
@@ -5244,8 +5282,8 @@ var SwapTokenSelectorHeader = ({
5244
5282
  ),
5245
5283
  children: [
5246
5284
  /* @__PURE__ */ jsxs37("div", { className: "flex items-center justify-between", children: [
5247
- title && /* @__PURE__ */ jsx51("div", { className: "body-1 font-medium text-white max-w-[200px] break-words", children: title }),
5248
- onClose && /* @__PURE__ */ jsx51(
5285
+ title && /* @__PURE__ */ jsx52("div", { className: "body-1 font-medium text-white max-w-[200px] break-words", children: title }),
5286
+ onClose && /* @__PURE__ */ jsx52(
5249
5287
  XIcon_default,
5250
5288
  {
5251
5289
  className: "size-4 cursor-pointer text-brand-black-100 hover:text-white duration-200 transition-colors",
@@ -5262,7 +5300,7 @@ var SwapTokenSelectorSearch = ({
5262
5300
  children,
5263
5301
  className
5264
5302
  }) => {
5265
- return /* @__PURE__ */ jsx51("div", { className: cn("mt-4", className), children });
5303
+ return /* @__PURE__ */ jsx52("div", { className: cn("mt-4", className), children });
5266
5304
  };
5267
5305
  var SwapTokenSelectorContent = ({
5268
5306
  children,
@@ -5270,8 +5308,8 @@ var SwapTokenSelectorContent = ({
5270
5308
  }) => {
5271
5309
  const scrollRef = useRef3(null);
5272
5310
  return /* @__PURE__ */ jsxs37("div", { className: "relative flex-1 flex flex-col min-h-0", children: [
5273
- /* @__PURE__ */ jsx51(ScrollAwareSeparator, { scrollRef }),
5274
- /* @__PURE__ */ jsx51(ScrollArea, { ref: scrollRef, className: "h-full", children: /* @__PURE__ */ jsx51("div", { className: cn("px-6 pb-6 space-y-4", className), children }) })
5311
+ /* @__PURE__ */ jsx52(ScrollAwareSeparator, { scrollRef }),
5312
+ /* @__PURE__ */ jsx52(ScrollArea, { ref: scrollRef, className: "h-full", children: /* @__PURE__ */ jsx52("div", { className: cn("px-6 pb-6 space-y-4", className), children }) })
5275
5313
  ] });
5276
5314
  };
5277
5315
  var SwapTokenSelectorSection = ({
@@ -5280,15 +5318,15 @@ var SwapTokenSelectorSection = ({
5280
5318
  className
5281
5319
  }) => {
5282
5320
  return /* @__PURE__ */ jsxs37("div", { className: cn("flex flex-col", className), children: [
5283
- title && /* @__PURE__ */ jsx51("p", { className: "text-caption text-brand-black-100 mb-2", children: title }),
5284
- /* @__PURE__ */ jsx51("div", { className: "space-y-2", children })
5321
+ title && /* @__PURE__ */ jsx52("p", { className: "text-caption text-brand-black-100 mb-2", children: title }),
5322
+ /* @__PURE__ */ jsx52("div", { className: "space-y-2", children })
5285
5323
  ] });
5286
5324
  };
5287
5325
  var SwapTokenSelectorEmpty = ({
5288
5326
  children,
5289
5327
  className
5290
5328
  }) => {
5291
- return /* @__PURE__ */ jsx51(
5329
+ return /* @__PURE__ */ jsx52(
5292
5330
  "div",
5293
5331
  {
5294
5332
  className: cn(
@@ -5309,7 +5347,7 @@ var SwapTokenItem = ({
5309
5347
  amount,
5310
5348
  usdValue
5311
5349
  }) => {
5312
- return /* @__PURE__ */ jsx51(
5350
+ return /* @__PURE__ */ jsx52(
5313
5351
  "div",
5314
5352
  {
5315
5353
  className: cn(
@@ -5325,7 +5363,7 @@ var SwapTokenItem = ({
5325
5363
  onClick,
5326
5364
  children: [
5327
5365
  /* @__PURE__ */ jsxs37("div", { className: "flex items-center text-start gap-3", children: [
5328
- /* @__PURE__ */ jsx51(
5366
+ /* @__PURE__ */ jsx52(
5329
5367
  BadgeIcon,
5330
5368
  {
5331
5369
  src: token.image,
@@ -5335,13 +5373,13 @@ var SwapTokenItem = ({
5335
5373
  }
5336
5374
  ),
5337
5375
  /* @__PURE__ */ jsxs37("div", { className: "flex flex-col gap-[2px] items-start", children: [
5338
- /* @__PURE__ */ jsx51("p", { className: "body-1 font-medium text-white", children: token.name }),
5376
+ /* @__PURE__ */ jsx52("p", { className: "body-1 font-medium text-white", children: token.name }),
5339
5377
  address
5340
5378
  ] })
5341
5379
  ] }),
5342
5380
  /* @__PURE__ */ jsxs37("div", { className: "flex flex-col items-end gap-[2px]", children: [
5343
- /* @__PURE__ */ jsx51("p", { className: "body-1 font-medium text-white", children: amount }),
5344
- /* @__PURE__ */ jsx51("p", { className: "text-caption text-brand-black-100", children: usdValue })
5381
+ /* @__PURE__ */ jsx52("p", { className: "body-1 font-medium text-white", children: amount }),
5382
+ /* @__PURE__ */ jsx52("p", { className: "text-caption text-brand-black-100", children: usdValue })
5345
5383
  ] })
5346
5384
  ]
5347
5385
  }
@@ -5353,18 +5391,18 @@ var SwapTokenItem = ({
5353
5391
  // src/@/ui/dropdown-menu.tsx
5354
5392
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
5355
5393
  import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
5356
- import { jsx as jsx52, jsxs as jsxs38 } from "react/jsx-runtime";
5394
+ import { jsx as jsx53, jsxs as jsxs38 } from "react/jsx-runtime";
5357
5395
  function DropdownMenu(_a) {
5358
5396
  var props = __objRest(_a, []);
5359
- return /* @__PURE__ */ jsx52(DropdownMenuPrimitive.Root, __spreadValues({ "data-slot": "dropdown-menu" }, props));
5397
+ return /* @__PURE__ */ jsx53(DropdownMenuPrimitive.Root, __spreadValues({ "data-slot": "dropdown-menu" }, props));
5360
5398
  }
5361
5399
  function DropdownMenuPortal(_a) {
5362
5400
  var props = __objRest(_a, []);
5363
- return /* @__PURE__ */ jsx52(DropdownMenuPrimitive.Portal, __spreadValues({ "data-slot": "dropdown-menu-portal" }, props));
5401
+ return /* @__PURE__ */ jsx53(DropdownMenuPrimitive.Portal, __spreadValues({ "data-slot": "dropdown-menu-portal" }, props));
5364
5402
  }
5365
5403
  function DropdownMenuTrigger(_a) {
5366
5404
  var props = __objRest(_a, []);
5367
- return /* @__PURE__ */ jsx52(
5405
+ return /* @__PURE__ */ jsx53(
5368
5406
  DropdownMenuPrimitive.Trigger,
5369
5407
  __spreadValues({
5370
5408
  "data-slot": "dropdown-menu-trigger"
@@ -5379,7 +5417,7 @@ function DropdownMenuContent(_a) {
5379
5417
  "className",
5380
5418
  "sideOffset"
5381
5419
  ]);
5382
- return /* @__PURE__ */ jsx52(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx52(
5420
+ return /* @__PURE__ */ jsx53(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx53(
5383
5421
  DropdownMenuPrimitive.Content,
5384
5422
  __spreadValues({
5385
5423
  "data-slot": "dropdown-menu-content",
@@ -5393,7 +5431,7 @@ function DropdownMenuContent(_a) {
5393
5431
  }
5394
5432
  function DropdownMenuGroup(_a) {
5395
5433
  var props = __objRest(_a, []);
5396
- return /* @__PURE__ */ jsx52(DropdownMenuPrimitive.Group, __spreadValues({ "data-slot": "dropdown-menu-group" }, props));
5434
+ return /* @__PURE__ */ jsx53(DropdownMenuPrimitive.Group, __spreadValues({ "data-slot": "dropdown-menu-group" }, props));
5397
5435
  }
5398
5436
  function DropdownMenuItem(_a) {
5399
5437
  var _b = _a, {
@@ -5405,7 +5443,7 @@ function DropdownMenuItem(_a) {
5405
5443
  "inset",
5406
5444
  "variant"
5407
5445
  ]);
5408
- return /* @__PURE__ */ jsx52(
5446
+ return /* @__PURE__ */ jsx53(
5409
5447
  DropdownMenuPrimitive.Item,
5410
5448
  __spreadValues({
5411
5449
  "data-slot": "dropdown-menu-item",
@@ -5439,7 +5477,7 @@ function DropdownMenuCheckboxItem(_a) {
5439
5477
  checked
5440
5478
  }, props), {
5441
5479
  children: [
5442
- /* @__PURE__ */ jsx52("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx52(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx52(CheckIcon, { className: "size-4" }) }) }),
5480
+ /* @__PURE__ */ jsx53("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx53(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx53(CheckIcon, { className: "size-4" }) }) }),
5443
5481
  children
5444
5482
  ]
5445
5483
  })
@@ -5447,7 +5485,7 @@ function DropdownMenuCheckboxItem(_a) {
5447
5485
  }
5448
5486
  function DropdownMenuRadioGroup(_a) {
5449
5487
  var props = __objRest(_a, []);
5450
- return /* @__PURE__ */ jsx52(
5488
+ return /* @__PURE__ */ jsx53(
5451
5489
  DropdownMenuPrimitive.RadioGroup,
5452
5490
  __spreadValues({
5453
5491
  "data-slot": "dropdown-menu-radio-group"
@@ -5472,7 +5510,7 @@ function DropdownMenuRadioItem(_a) {
5472
5510
  )
5473
5511
  }, props), {
5474
5512
  children: [
5475
- /* @__PURE__ */ jsx52("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx52(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx52(CircleIcon, { className: "size-2 fill-current" }) }) }),
5513
+ /* @__PURE__ */ jsx53("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx53(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx53(CircleIcon, { className: "size-2 fill-current" }) }) }),
5476
5514
  children
5477
5515
  ]
5478
5516
  })
@@ -5486,7 +5524,7 @@ function DropdownMenuLabel(_a) {
5486
5524
  "className",
5487
5525
  "inset"
5488
5526
  ]);
5489
- return /* @__PURE__ */ jsx52(
5527
+ return /* @__PURE__ */ jsx53(
5490
5528
  DropdownMenuPrimitive.Label,
5491
5529
  __spreadValues({
5492
5530
  "data-slot": "dropdown-menu-label",
@@ -5504,7 +5542,7 @@ function DropdownMenuSeparator(_a) {
5504
5542
  } = _b, props = __objRest(_b, [
5505
5543
  "className"
5506
5544
  ]);
5507
- return /* @__PURE__ */ jsx52(
5545
+ return /* @__PURE__ */ jsx53(
5508
5546
  DropdownMenuPrimitive.Separator,
5509
5547
  __spreadValues({
5510
5548
  "data-slot": "dropdown-menu-separator",
@@ -5518,7 +5556,7 @@ function DropdownMenuShortcut(_a) {
5518
5556
  } = _b, props = __objRest(_b, [
5519
5557
  "className"
5520
5558
  ]);
5521
- return /* @__PURE__ */ jsx52(
5559
+ return /* @__PURE__ */ jsx53(
5522
5560
  "span",
5523
5561
  __spreadValues({
5524
5562
  "data-slot": "dropdown-menu-shortcut",
@@ -5531,7 +5569,7 @@ function DropdownMenuShortcut(_a) {
5531
5569
  }
5532
5570
  function DropdownMenuSub(_a) {
5533
5571
  var props = __objRest(_a, []);
5534
- return /* @__PURE__ */ jsx52(DropdownMenuPrimitive.Sub, __spreadValues({ "data-slot": "dropdown-menu-sub" }, props));
5572
+ return /* @__PURE__ */ jsx53(DropdownMenuPrimitive.Sub, __spreadValues({ "data-slot": "dropdown-menu-sub" }, props));
5535
5573
  }
5536
5574
  function DropdownMenuSubTrigger(_a) {
5537
5575
  var _b = _a, {
@@ -5555,7 +5593,7 @@ function DropdownMenuSubTrigger(_a) {
5555
5593
  }, props), {
5556
5594
  children: [
5557
5595
  children,
5558
- /* @__PURE__ */ jsx52(ChevronRightIcon, { className: "ml-auto size-4" })
5596
+ /* @__PURE__ */ jsx53(ChevronRightIcon, { className: "ml-auto size-4" })
5559
5597
  ]
5560
5598
  })
5561
5599
  );
@@ -5566,7 +5604,7 @@ function DropdownMenuSubContent(_a) {
5566
5604
  } = _b, props = __objRest(_b, [
5567
5605
  "className"
5568
5606
  ]);
5569
- return /* @__PURE__ */ jsx52(
5607
+ return /* @__PURE__ */ jsx53(
5570
5608
  DropdownMenuPrimitive.SubContent,
5571
5609
  __spreadValues({
5572
5610
  "data-slot": "dropdown-menu-sub-content",
@@ -5580,14 +5618,14 @@ function DropdownMenuSubContent(_a) {
5580
5618
 
5581
5619
  // src/@/ui/popover.tsx
5582
5620
  import * as PopoverPrimitive from "@radix-ui/react-popover";
5583
- import { jsx as jsx53 } from "react/jsx-runtime";
5621
+ import { jsx as jsx54 } from "react/jsx-runtime";
5584
5622
  function Popover(_a) {
5585
5623
  var props = __objRest(_a, []);
5586
- return /* @__PURE__ */ jsx53(PopoverPrimitive.Root, __spreadValues({ "data-slot": "popover" }, props));
5624
+ return /* @__PURE__ */ jsx54(PopoverPrimitive.Root, __spreadValues({ "data-slot": "popover" }, props));
5587
5625
  }
5588
5626
  function PopoverTrigger(_a) {
5589
5627
  var props = __objRest(_a, []);
5590
- return /* @__PURE__ */ jsx53(PopoverPrimitive.Trigger, __spreadValues({ "data-slot": "popover-trigger" }, props));
5628
+ return /* @__PURE__ */ jsx54(PopoverPrimitive.Trigger, __spreadValues({ "data-slot": "popover-trigger" }, props));
5591
5629
  }
5592
5630
  function PopoverContent(_a) {
5593
5631
  var _b = _a, {
@@ -5599,7 +5637,7 @@ function PopoverContent(_a) {
5599
5637
  "align",
5600
5638
  "sideOffset"
5601
5639
  ]);
5602
- return /* @__PURE__ */ jsx53(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx53(
5640
+ return /* @__PURE__ */ jsx54(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx54(
5603
5641
  PopoverPrimitive.Content,
5604
5642
  __spreadValues({
5605
5643
  "data-slot": "popover-content",
@@ -5614,13 +5652,13 @@ function PopoverContent(_a) {
5614
5652
  }
5615
5653
  function PopoverAnchor(_a) {
5616
5654
  var props = __objRest(_a, []);
5617
- return /* @__PURE__ */ jsx53(PopoverPrimitive.Anchor, __spreadValues({ "data-slot": "popover-anchor" }, props));
5655
+ return /* @__PURE__ */ jsx54(PopoverPrimitive.Anchor, __spreadValues({ "data-slot": "popover-anchor" }, props));
5618
5656
  }
5619
5657
 
5620
5658
  // src/@/ui/badge.tsx
5621
5659
  import { Slot as Slot11 } from "@radix-ui/react-slot";
5622
5660
  import { cva as cva7 } from "class-variance-authority";
5623
- import { jsx as jsx54 } from "react/jsx-runtime";
5661
+ import { jsx as jsx55 } from "react/jsx-runtime";
5624
5662
  var badgeVariants = cva7(
5625
5663
  "inline-flex font-semibold whitespace-nowrap items-center justify-center rounded-full px-2 py-1 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
5626
5664
  {
@@ -5653,7 +5691,7 @@ function Badge(_a) {
5653
5691
  "asChild"
5654
5692
  ]);
5655
5693
  const Comp = asChild ? Slot11 : "span";
5656
- return /* @__PURE__ */ jsx54(
5694
+ return /* @__PURE__ */ jsx55(
5657
5695
  Comp,
5658
5696
  __spreadValues({
5659
5697
  "data-slot": "badge",