@xswap-link/sdk 0.2.2 → 0.2.4

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
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
5
5
  throw Error('Dynamic require of "' + x + '" is not supported');
6
6
  });
7
7
 
8
- // src/config/init.ts
8
+ // src/config/init.tsx
9
9
  import { createRoot } from "react-dom/client";
10
10
 
11
11
  // xswap.config.ts
@@ -23,32 +23,92 @@ var xswap_config_default = {
23
23
  };
24
24
 
25
25
  // package.json
26
- var version = "0.2.2";
26
+ var version = "0.2.4";
27
27
 
28
- // src/config/init.ts
28
+ // src/components/WaitingForInit/index.tsx
29
+ import { jsx } from "react/jsx-runtime";
30
+ var WaitingForInit = () => {
31
+ return /* @__PURE__ */ jsx(
32
+ "div",
33
+ {
34
+ style: {
35
+ zIndex: 10,
36
+ top: 0,
37
+ right: 0,
38
+ bottom: 0,
39
+ left: 0,
40
+ backgroundColor: "rgba(0,0,0,0.8)",
41
+ position: "fixed",
42
+ display: "flex",
43
+ alignItems: "center",
44
+ justifyContent: "center"
45
+ },
46
+ children: "Waiting for XPay initialization ..."
47
+ }
48
+ );
49
+ };
50
+
51
+ // src/config/init.tsx
52
+ import { jsx as jsx2 } from "react/jsx-runtime";
53
+ var initIndicatorRoot;
29
54
  var xswapRoot;
30
55
  var txStatusRoot;
56
+ var initCompleted = false;
31
57
  var initDocument = () => {
32
58
  if (typeof document === "undefined") {
33
59
  throw new Error("Can't render XPay components from server side.");
34
60
  }
35
- fetch(`${xswap_config_default.apiUrl}/sdk/css?data={"version": "${version}"}`).then(
36
- async (css) => {
37
- const style = document.createElement("style");
38
- style.textContent = await css.text();
39
- document.body.appendChild(style);
61
+ createInitIndicatorRoot();
62
+ Promise.all([
63
+ createStyleElement(),
64
+ createXswapRoot(),
65
+ createTxStatusRoot()
66
+ ]).then(() => {
67
+ initCompleted = true;
68
+ });
69
+ };
70
+ var waitForInitialization = async () => {
71
+ if (!initCompleted) {
72
+ displayInitIndicator(true);
73
+ while (!initCompleted) {
74
+ await new Promise((resolve) => setTimeout(resolve, 10));
40
75
  }
76
+ displayInitIndicator(false);
77
+ }
78
+ };
79
+ var createStyleElement = async () => {
80
+ const css = await fetch(
81
+ `${xswap_config_default.apiUrl}/sdk/css?${new URLSearchParams({
82
+ data: JSON.stringify({ version })
83
+ })}`
41
84
  );
85
+ const text = await css.text();
86
+ const style = document.createElement("style");
87
+ style.textContent = text;
88
+ document.body.appendChild(style);
89
+ };
90
+ var createXswapRoot = async () => {
42
91
  const xswapElement = document.createElement("div");
43
92
  xswapElement.setAttribute("id", "xswap-modal");
44
93
  document.body.appendChild(xswapElement);
45
94
  xswapRoot = createRoot(xswapElement);
95
+ };
96
+ var createTxStatusRoot = async () => {
46
97
  const txStatusElement = document.createElement("div");
47
98
  txStatusElement.setAttribute("id", "xswap-tx-status");
48
99
  txStatusElement.setAttribute("class", "xswap-tx-status");
49
100
  document.body.appendChild(txStatusElement);
50
101
  txStatusRoot = createRoot(txStatusElement);
51
102
  };
103
+ var createInitIndicatorRoot = () => {
104
+ const initIndicatorElement = document.createElement("div");
105
+ initIndicatorElement.setAttribute("id", "xswap-init-indicator");
106
+ document.body.appendChild(initIndicatorElement);
107
+ initIndicatorRoot = createRoot(initIndicatorElement);
108
+ };
109
+ var displayInitIndicator = (display) => {
110
+ display ? initIndicatorRoot.render(/* @__PURE__ */ jsx2(WaitingForInit, {})) : initIndicatorRoot.render("");
111
+ };
52
112
 
53
113
  // src/models/Addresses.ts
54
114
  var ContractName = /* @__PURE__ */ ((ContractName2) => {
@@ -138,30 +198,6 @@ import { ethers as ethers2 } from "ethers";
138
198
  // src/utils/contracts.ts
139
199
  import { ethers } from "ethers";
140
200
 
141
- // src/utils/numbers.ts
142
- import { BigNumber as BigNumberJS } from "bignumber.js";
143
- import { BigNumber, utils } from "ethers";
144
- var safeBigNumberFrom = (value) => {
145
- BigNumberJS.config({ DECIMAL_PLACES: 0 });
146
- return BigNumber.from(new BigNumberJS(value).div(1).toFixed());
147
- };
148
- var weiToHumanReadable = ({
149
- amount,
150
- decimals,
151
- precisionFractionalPlaces,
152
- prettifySmallNumber = false
153
- }) => {
154
- const decimalsFactor = Math.pow(10, decimals);
155
- BigNumberJS.config({ DECIMAL_PLACES: precisionFractionalPlaces });
156
- const res = new BigNumberJS(amount).div(decimalsFactor).toFixed();
157
- if (prettifySmallNumber && res === "0" && amount !== "0") {
158
- return `<${(1 / 10 ** precisionFractionalPlaces).toFixed(
159
- precisionFractionalPlaces
160
- )}`;
161
- }
162
- return res;
163
- };
164
-
165
201
  // src/contracts/abi/BatchQuery.json
166
202
  var BatchQuery_default = [
167
203
  {
@@ -490,6 +526,7 @@ var NUMBER_INPUT_REGEX = /^[0-9]*[.,]?[0-9]*$/;
490
526
  var SLIPPAGE_PRESETS = [0.5, 1.5, 3];
491
527
  var DELIVERY_TIME = 30 * 1e3 * 60;
492
528
  var EXPRESS_DELIVERY_TIME = 30 * 1e3;
529
+ var EXPRESS_DELIVERY_LIMIT = 1e3;
493
530
  var BALANCES_CHUNK_SIZE = 500;
494
531
  var ROUTE_TIMEOUT_MS = 5e3;
495
532
  var MINIMUM_DISPLAYED_TOKEN_AMOUNT = 1e-4;
@@ -558,6 +595,30 @@ var getErc20Balances = async (chain, wallet) => {
558
595
  return balances;
559
596
  };
560
597
 
598
+ // src/utils/numbers.ts
599
+ import { BigNumber as BigNumberJS } from "bignumber.js";
600
+ import { BigNumber as BigNumber2, utils } from "ethers";
601
+ var safeBigNumberFrom = (value) => {
602
+ BigNumberJS.config({ DECIMAL_PLACES: 0 });
603
+ return BigNumber2.from(new BigNumberJS(value).div(1).toFixed());
604
+ };
605
+ var weiToHumanReadable = ({
606
+ amount,
607
+ decimals,
608
+ precisionFractionalPlaces,
609
+ prettifySmallNumber = false
610
+ }) => {
611
+ const decimalsFactor = Math.pow(10, decimals);
612
+ BigNumberJS.config({ DECIMAL_PLACES: precisionFractionalPlaces });
613
+ const res = new BigNumberJS(amount).div(decimalsFactor).toFixed();
614
+ if (prettifySmallNumber && res === "0" && amount !== "0") {
615
+ return `<${(1 / 10 ** precisionFractionalPlaces).toFixed(
616
+ precisionFractionalPlaces
617
+ )}`;
618
+ }
619
+ return res;
620
+ };
621
+
561
622
  // src/utils/strings.ts
562
623
  var shortAddress = (address) => {
563
624
  return `${address?.substring(0, 5)}...${address?.substring(
@@ -645,45 +706,24 @@ var mapTransports = (chains) => {
645
706
  return transports;
646
707
  };
647
708
 
648
- // src/components/icons/CloseIcon.tsx
649
- import { jsx } from "react/jsx-runtime";
650
- var CloseIcon = () => {
651
- return /* @__PURE__ */ jsx(
652
- "svg",
653
- {
654
- height: "18",
655
- width: "18",
656
- xmlns: "http://www.w3.org/2000/svg",
657
- viewBox: "0 0 10.312 8.319",
658
- children: /* @__PURE__ */ jsx(
659
- "path",
660
- {
661
- fill: "white",
662
- d: "M6.073 4.078 10.151 0H9.093A1.87 1.87 0 0 0 7.77.548L5.157 3.162 2.543.548A1.87 1.87 0 0 0 1.22 0H.161L4.24 4.078 0 8.318h1.058a1.87 1.87 0 0 0 1.322-.547l2.777-2.777 2.776 2.777a1.869 1.869 0 0 0 1.322.548h1.058Z"
663
- }
664
- )
665
- }
666
- );
667
- };
668
-
669
709
  // src/components/icons/ArrowRightIcon.tsx
670
- import { jsx as jsx2 } from "react/jsx-runtime";
710
+ import { jsx as jsx3 } from "react/jsx-runtime";
671
711
  var ArrowRightIcon = () => {
672
- return /* @__PURE__ */ jsx2(
712
+ return /* @__PURE__ */ jsx3(
673
713
  "svg",
674
714
  {
675
715
  xmlns: "http://www.w3.org/2000/svg",
676
716
  viewBox: "0 0 448 512",
677
717
  fill: "currentColor",
678
- children: /* @__PURE__ */ jsx2("path", { d: "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z" })
718
+ children: /* @__PURE__ */ jsx3("path", { d: "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z" })
679
719
  }
680
720
  );
681
721
  };
682
722
 
683
723
  // src/components/icons/ArrowDownIcon.tsx
684
- import { jsx as jsx3 } from "react/jsx-runtime";
724
+ import { jsx as jsx4 } from "react/jsx-runtime";
685
725
  var ArrowDownIcon = () => {
686
- return /* @__PURE__ */ jsx3(
726
+ return /* @__PURE__ */ jsx4(
687
727
  "svg",
688
728
  {
689
729
  width: "20",
@@ -691,7 +731,7 @@ var ArrowDownIcon = () => {
691
731
  viewBox: "0 0 20 20",
692
732
  fill: "none",
693
733
  xmlns: "http://www.w3.org/2000/svg",
694
- children: /* @__PURE__ */ jsx3(
734
+ children: /* @__PURE__ */ jsx4(
695
735
  "path",
696
736
  {
697
737
  d: "M12 2.45932L12 12.8957L15.8625 9.15023L18 11.1866L10.5 18.4593L3 11.1866L5.1375 9.15023L9 12.8957L9 2.45932L12 2.45932Z",
@@ -703,9 +743,9 @@ var ArrowDownIcon = () => {
703
743
  };
704
744
 
705
745
  // src/components/icons/ArrowLeftIcon.tsx
706
- import { jsx as jsx4 } from "react/jsx-runtime";
746
+ import { jsx as jsx5 } from "react/jsx-runtime";
707
747
  var ArrowLeftIcon = () => {
708
- return /* @__PURE__ */ jsx4(
748
+ return /* @__PURE__ */ jsx5(
709
749
  "svg",
710
750
  {
711
751
  width: "10",
@@ -713,7 +753,7 @@ var ArrowLeftIcon = () => {
713
753
  viewBox: "0 0 10 16",
714
754
  fill: "none",
715
755
  xmlns: "http://www.w3.org/2000/svg",
716
- children: /* @__PURE__ */ jsx4(
756
+ children: /* @__PURE__ */ jsx5(
717
757
  "path",
718
758
  {
719
759
  d: "M0.5 8L8.13251 15.5L9.5 14.1562L3.20318 8L9.4682 1.84375L8.10071 0.5L0.5 8Z",
@@ -725,44 +765,44 @@ var ArrowLeftIcon = () => {
725
765
  };
726
766
 
727
767
  // src/components/icons/ArrowUpRightIcon.tsx
728
- import { jsx as jsx5 } from "react/jsx-runtime";
768
+ import { jsx as jsx6 } from "react/jsx-runtime";
729
769
  var ArrowUpRightIcon = () => {
730
- return /* @__PURE__ */ jsx5(
770
+ return /* @__PURE__ */ jsx6(
731
771
  "svg",
732
772
  {
733
773
  xmlns: "http://www.w3.org/2000/svg",
734
774
  viewBox: "0 0 512 512",
735
775
  fill: "currentColor",
736
- children: /* @__PURE__ */ jsx5("path", { d: "M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z" })
776
+ children: /* @__PURE__ */ jsx6("path", { d: "M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z" })
737
777
  }
738
778
  );
739
779
  };
740
780
 
741
781
  // src/components/icons/CheckIcon.tsx
742
- import { jsx as jsx6 } from "react/jsx-runtime";
782
+ import { jsx as jsx7 } from "react/jsx-runtime";
743
783
  var CheckIcon = () => {
744
- return /* @__PURE__ */ jsx6(
784
+ return /* @__PURE__ */ jsx7(
745
785
  "svg",
746
786
  {
747
787
  xmlns: "http://www.w3.org/2000/svg",
748
788
  viewBox: "0 0 448 512",
749
789
  fill: "currentColor",
750
- children: /* @__PURE__ */ jsx6("path", { d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" })
790
+ children: /* @__PURE__ */ jsx7("path", { d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" })
751
791
  }
752
792
  );
753
793
  };
754
794
 
755
795
  // src/components/icons/ChevronDownIcon.tsx
756
- import { jsx as jsx7 } from "react/jsx-runtime";
796
+ import { jsx as jsx8 } from "react/jsx-runtime";
757
797
  var ChevronDownIcon = () => {
758
- return /* @__PURE__ */ jsx7(
798
+ return /* @__PURE__ */ jsx8(
759
799
  "svg",
760
800
  {
761
801
  width: "12",
762
802
  height: "12",
763
803
  xmlns: "http://www.w3.org/2000/svg",
764
804
  viewBox: "0 0 512 512",
765
- children: /* @__PURE__ */ jsx7(
805
+ children: /* @__PURE__ */ jsx8(
766
806
  "path",
767
807
  {
768
808
  fill: "currentColor",
@@ -774,9 +814,9 @@ var ChevronDownIcon = () => {
774
814
  };
775
815
 
776
816
  // src/components/icons/ChevronUpIcon.tsx
777
- import { jsx as jsx8 } from "react/jsx-runtime";
817
+ import { jsx as jsx9 } from "react/jsx-runtime";
778
818
  var ChevronUpIcon = () => {
779
- return /* @__PURE__ */ jsx8("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", children: /* @__PURE__ */ jsx8(
819
+ return /* @__PURE__ */ jsx9("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", children: /* @__PURE__ */ jsx9(
780
820
  "path",
781
821
  {
782
822
  fill: "currentColor",
@@ -786,7 +826,7 @@ var ChevronUpIcon = () => {
786
826
  };
787
827
 
788
828
  // src/components/icons/CircularProgressIcon.tsx
789
- import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
829
+ import { jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
790
830
  var CircularProgressIcon = () => {
791
831
  return /* @__PURE__ */ jsxs2(
792
832
  "svg",
@@ -798,7 +838,7 @@ var CircularProgressIcon = () => {
798
838
  fill: "none",
799
839
  xmlns: "http://www.w3.org/2000/svg",
800
840
  children: [
801
- /* @__PURE__ */ jsx9(
841
+ /* @__PURE__ */ jsx10(
802
842
  "circle",
803
843
  {
804
844
  cx: "16.5",
@@ -809,16 +849,37 @@ var CircularProgressIcon = () => {
809
849
  strokeWidth: "2"
810
850
  }
811
851
  ),
812
- /* @__PURE__ */ jsx9("path", { d: "M1 16C1 7.71573 7.71573 1 16 1", stroke: "white", strokeWidth: "2" })
852
+ /* @__PURE__ */ jsx10("path", { d: "M1 16C1 7.71573 7.71573 1 16 1", stroke: "white", strokeWidth: "2" })
813
853
  ]
814
854
  }
815
855
  );
816
856
  };
817
857
 
858
+ // src/components/icons/CloseIcon.tsx
859
+ import { jsx as jsx11 } from "react/jsx-runtime";
860
+ var CloseIcon = () => {
861
+ return /* @__PURE__ */ jsx11(
862
+ "svg",
863
+ {
864
+ height: "18",
865
+ width: "18",
866
+ xmlns: "http://www.w3.org/2000/svg",
867
+ viewBox: "0 0 10.312 8.319",
868
+ children: /* @__PURE__ */ jsx11(
869
+ "path",
870
+ {
871
+ fill: "white",
872
+ d: "M6.073 4.078 10.151 0H9.093A1.87 1.87 0 0 0 7.77.548L5.157 3.162 2.543.548A1.87 1.87 0 0 0 1.22 0H.161L4.24 4.078 0 8.318h1.058a1.87 1.87 0 0 0 1.322-.547l2.777-2.777 2.776 2.777a1.869 1.869 0 0 0 1.322.548h1.058Z"
873
+ }
874
+ )
875
+ }
876
+ );
877
+ };
878
+
818
879
  // src/components/icons/CoinsIcon.tsx
819
- import { jsx as jsx10 } from "react/jsx-runtime";
880
+ import { jsx as jsx12 } from "react/jsx-runtime";
820
881
  var CoinsIcon = () => {
821
- return /* @__PURE__ */ jsx10(
882
+ return /* @__PURE__ */ jsx12(
822
883
  "svg",
823
884
  {
824
885
  width: "24",
@@ -826,7 +887,7 @@ var CoinsIcon = () => {
826
887
  viewBox: "0 0 24 24",
827
888
  fill: "none",
828
889
  xmlns: "http://www.w3.org/2000/svg",
829
- children: /* @__PURE__ */ jsx10(
890
+ children: /* @__PURE__ */ jsx12(
830
891
  "path",
831
892
  {
832
893
  d: "M15 20C12.7667 20 10.875 19.225 9.325 17.675C7.775 16.125 7 14.2333 7 12C7 9.76667 7.775 7.875 9.325 6.325C10.875 4.775 12.7667 4 15 4C17.2333 4 19.125 4.775 20.675 6.325C22.225 7.875 23 9.76667 23 12C23 14.2333 22.225 16.125 20.675 17.675C19.125 19.225 17.2333 20 15 20ZM7 19.75C5.23333 19.2833 3.79167 18.3333 2.675 16.9C1.55833 15.4667 1 13.8333 1 12C1 10.1667 1.55833 8.53333 2.675 7.1C3.79167 5.66667 5.23333 4.71667 7 4.25V6.35C5.8 6.76667 4.83333 7.49167 4.1 8.525C3.36667 9.55833 3 10.7167 3 12C3 13.2833 3.36667 14.4417 4.1 15.475C4.83333 16.5083 5.8 17.2333 7 17.65V19.75ZM15 18C16.6667 18 18.0833 17.4167 19.25 16.25C20.4167 15.0833 21 13.6667 21 12C21 10.3333 20.4167 8.91667 19.25 7.75C18.0833 6.58333 16.6667 6 15 6C13.3333 6 11.9167 6.58333 10.75 7.75C9.58333 8.91667 9 10.3333 9 12C9 13.6667 9.58333 15.0833 10.75 16.25C11.9167 17.4167 13.3333 18 15 18Z",
@@ -839,9 +900,9 @@ var CoinsIcon = () => {
839
900
  };
840
901
 
841
902
  // src/components/icons/DownArrorIcon.tsx
842
- import { jsx as jsx11 } from "react/jsx-runtime";
903
+ import { jsx as jsx13 } from "react/jsx-runtime";
843
904
  var DownArrowIcon = () => {
844
- return /* @__PURE__ */ jsx11(
905
+ return /* @__PURE__ */ jsx13(
845
906
  "svg",
846
907
  {
847
908
  width: 16,
@@ -849,7 +910,7 @@ var DownArrowIcon = () => {
849
910
  viewBox: "0 0 16 16",
850
911
  fill: "none",
851
912
  xmlns: "http://www.w3.org/2000/svg",
852
- children: /* @__PURE__ */ jsx11(
913
+ children: /* @__PURE__ */ jsx13(
853
914
  "path",
854
915
  {
855
916
  d: "M8.00008 9.76921L5.06421 6.83334H10.9359L8.00008 9.76921Z",
@@ -862,9 +923,9 @@ var DownArrowIcon = () => {
862
923
  };
863
924
 
864
925
  // src/components/icons/HistoryIcon.tsx
865
- import { jsx as jsx12 } from "react/jsx-runtime";
926
+ import { jsx as jsx14 } from "react/jsx-runtime";
866
927
  var HistoryIcon = () => {
867
- return /* @__PURE__ */ jsx12(
928
+ return /* @__PURE__ */ jsx14(
868
929
  "svg",
869
930
  {
870
931
  width: "20",
@@ -872,7 +933,7 @@ var HistoryIcon = () => {
872
933
  viewBox: "0 0 20 20",
873
934
  fill: "none",
874
935
  xmlns: "http://www.w3.org/2000/svg",
875
- children: /* @__PURE__ */ jsx12(
936
+ children: /* @__PURE__ */ jsx14(
876
937
  "path",
877
938
  {
878
939
  d: "M9.98413 17.5C8.1633 17.5 6.57667 16.8646 5.22424 15.5938C3.8718 14.3229 3.09663 12.7361 2.89871 10.8333H4.52163C4.70635 12.2778 5.3166 13.4722 6.35236 14.4167C7.38812 15.3611 8.59871 15.8333 9.98413 15.8333C11.5279 15.8333 12.8374 15.2674 13.9128 14.1354C14.9881 13.0035 15.5258 11.625 15.5258 10C15.5258 8.375 14.9881 6.99653 13.9128 5.86458C12.8374 4.73264 11.5279 4.16667 9.98413 4.16667C9.07371 4.16667 8.22267 4.38889 7.43101 4.83333C6.63934 5.27778 5.97302 5.88889 5.43205 6.66667H7.60913V8.33333H2.85913V3.33333H4.44246V5.29167C5.11538 4.40278 5.93673 3.71528 6.90653 3.22917C7.87632 2.74306 8.90219 2.5 9.98413 2.5C10.9737 2.5 11.9006 2.69792 12.7649 3.09375C13.6291 3.48958 14.3812 4.02431 15.0211 4.69792C15.661 5.37153 16.169 6.16319 16.5451 7.07292C16.9211 7.98264 17.1091 8.95833 17.1091 10C17.1091 11.0417 16.9211 12.0174 16.5451 12.9271C16.169 13.8368 15.661 14.6285 15.0211 15.3021C14.3812 15.9757 13.6291 16.5104 12.7649 16.9062C11.9006 17.3021 10.9737 17.5 9.98413 17.5ZM12.2008 13.5L9.19246 10.3333V5.83333H10.7758V9.66667L13.3091 12.3333L12.2008 13.5Z",
@@ -884,12 +945,12 @@ var HistoryIcon = () => {
884
945
  };
885
946
 
886
947
  // src/components/icons/HourGlassIcon.tsx
887
- import { jsx as jsx13 } from "react/jsx-runtime";
948
+ import { jsx as jsx15 } from "react/jsx-runtime";
888
949
 
889
950
  // src/components/icons/SearchIcon.tsx
890
- import { jsx as jsx14 } from "react/jsx-runtime";
951
+ import { jsx as jsx16 } from "react/jsx-runtime";
891
952
  var SearchIcon = () => {
892
- return /* @__PURE__ */ jsx14(
953
+ return /* @__PURE__ */ jsx16(
893
954
  "svg",
894
955
  {
895
956
  xmlns: "http://www.w3.org/2000/svg",
@@ -897,16 +958,16 @@ var SearchIcon = () => {
897
958
  width: "24",
898
959
  viewBox: "0 -960 960 960",
899
960
  fill: "#ffffffc0",
900
- children: /* @__PURE__ */ jsx14("path", { d: "M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" })
961
+ children: /* @__PURE__ */ jsx16("path", { d: "M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" })
901
962
  }
902
963
  );
903
964
  };
904
965
 
905
966
  // src/components/icons/XMarkIcon.tsx
906
- import { jsx as jsx15 } from "react/jsx-runtime";
967
+ import { jsx as jsx17 } from "react/jsx-runtime";
907
968
 
908
969
  // src/components/icons/PercentageIcon.tsx
909
- import { jsx as jsx16, jsxs as jsxs3 } from "react/jsx-runtime";
970
+ import { jsx as jsx18, jsxs as jsxs3 } from "react/jsx-runtime";
910
971
  var PercentageIcon = () => {
911
972
  return /* @__PURE__ */ jsxs3(
912
973
  "svg",
@@ -917,14 +978,14 @@ var PercentageIcon = () => {
917
978
  fill: "none",
918
979
  xmlns: "http://www.w3.org/2000/svg",
919
980
  children: [
920
- /* @__PURE__ */ jsx16(
981
+ /* @__PURE__ */ jsx18(
921
982
  "path",
922
983
  {
923
984
  d: "M3.00008 5.33329C2.35564 5.33329 1.80564 5.10552 1.35008 4.64996C0.894526 4.1944 0.666748 3.6444 0.666748 2.99996C0.666748 2.35551 0.894526 1.80551 1.35008 1.34996C1.80564 0.894404 2.35564 0.666626 3.00008 0.666626C3.64453 0.666626 4.19453 0.894404 4.65008 1.34996C5.10564 1.80551 5.33342 2.35551 5.33342 2.99996C5.33342 3.6444 5.10564 4.1944 4.65008 4.64996C4.19453 5.10552 3.64453 5.33329 3.00008 5.33329ZM3.00008 3.99996C3.27786 3.99996 3.51397 3.90274 3.70841 3.70829C3.90286 3.51385 4.00008 3.27774 4.00008 2.99996C4.00008 2.72218 3.90286 2.48607 3.70841 2.29163C3.51397 2.09718 3.27786 1.99996 3.00008 1.99996C2.7223 1.99996 2.48619 2.09718 2.29175 2.29163C2.0973 2.48607 2.00008 2.72218 2.00008 2.99996C2.00008 3.27774 2.0973 3.51385 2.29175 3.70829C2.48619 3.90274 2.7223 3.99996 3.00008 3.99996ZM9.00008 11.3333C8.35564 11.3333 7.80564 11.1055 7.35008 10.65C6.89453 10.1944 6.66675 9.6444 6.66675 8.99996C6.66675 8.35552 6.89453 7.80552 7.35008 7.34996C7.80564 6.8944 8.35564 6.66663 9.00008 6.66663C9.64453 6.66663 10.1945 6.8944 10.6501 7.34996C11.1056 7.80552 11.3334 8.35552 11.3334 8.99996C11.3334 9.6444 11.1056 10.1944 10.6501 10.65C10.1945 11.1055 9.64453 11.3333 9.00008 11.3333ZM9.00008 9.99996C9.27786 9.99996 9.51397 9.90274 9.70842 9.70829C9.90286 9.51385 10.0001 9.27774 10.0001 8.99996C10.0001 8.72218 9.90286 8.48607 9.70842 8.29163C9.51397 8.09718 9.27786 7.99996 9.00008 7.99996C8.7223 7.99996 8.48619 8.09718 8.29175 8.29163C8.0973 8.48607 8.00008 8.72218 8.00008 8.99996C8.00008 9.27774 8.0973 9.51385 8.29175 9.70829C8.48619 9.90274 8.7223 9.99996 9.00008 9.99996ZM1.60008 11.3333L0.666748 10.4L10.4001 0.666626L11.3334 1.59996L1.60008 11.3333Z",
924
985
  fill: "url(#paint0_linear_32_1164)"
925
986
  }
926
987
  ),
927
- /* @__PURE__ */ jsx16("defs", { children: /* @__PURE__ */ jsxs3(
988
+ /* @__PURE__ */ jsx18("defs", { children: /* @__PURE__ */ jsxs3(
928
989
  "linearGradient",
929
990
  {
930
991
  id: "paint0_linear_32_1164",
@@ -934,8 +995,8 @@ var PercentageIcon = () => {
934
995
  y2: "1.31767",
935
996
  gradientUnits: "userSpaceOnUse",
936
997
  children: [
937
- /* @__PURE__ */ jsx16("stop", { stopColor: "#3681C6" }),
938
- /* @__PURE__ */ jsx16("stop", { offset: "1", stopColor: "#2B4A9D" })
998
+ /* @__PURE__ */ jsx18("stop", { stopColor: "#3681C6" }),
999
+ /* @__PURE__ */ jsx18("stop", { offset: "1", stopColor: "#2B4A9D" })
939
1000
  ]
940
1001
  }
941
1002
  ) })
@@ -945,9 +1006,9 @@ var PercentageIcon = () => {
945
1006
  };
946
1007
 
947
1008
  // src/components/icons/TimerIcon.tsx
948
- import { jsx as jsx17 } from "react/jsx-runtime";
1009
+ import { jsx as jsx19 } from "react/jsx-runtime";
949
1010
  var TimerIcon = () => {
950
- return /* @__PURE__ */ jsx17(
1011
+ return /* @__PURE__ */ jsx19(
951
1012
  "svg",
952
1013
  {
953
1014
  xmlns: "http://www.w3.org/2000/svg",
@@ -955,15 +1016,15 @@ var TimerIcon = () => {
955
1016
  viewBox: "0 -960 960 960",
956
1017
  width: "16",
957
1018
  fill: "currentColor",
958
- children: /* @__PURE__ */ jsx17("path", { d: "M360-840v-80h240v80H360Zm80 440h80v-240h-80v240Zm40 320q-74 0-139.5-28.5T226-186q-49-49-77.5-114.5T120-440q0-74 28.5-139.5T226-694q49-49 114.5-77.5T480-800q62 0 119 20t107 58l56-56 56 56-56 56q38 50 58 107t20 119q0 74-28.5 139.5T734-186q-49 49-114.5 77.5T480-80Zm0-80q116 0 198-82t82-198q0-116-82-198t-198-82q-116 0-198 82t-82 198q0 116 82 198t198 82Zm0-280Z" })
1019
+ children: /* @__PURE__ */ jsx19("path", { d: "M360-840v-80h240v80H360Zm80 440h80v-240h-80v240Zm40 320q-74 0-139.5-28.5T226-186q-49-49-77.5-114.5T120-440q0-74 28.5-139.5T226-694q49-49 114.5-77.5T480-800q62 0 119 20t107 58l56-56 56 56-56 56q38 50 58 107t20 119q0 74-28.5 139.5T734-186q-49 49-114.5 77.5T480-80Zm0-80q116 0 198-82t82-198q0-116-82-198t-198-82q-116 0-198 82t-82 198q0 116 82 198t198 82Zm0-280Z" })
959
1020
  }
960
1021
  );
961
1022
  };
962
1023
 
963
1024
  // src/components/icons/InfoIcon.tsx
964
- import { jsx as jsx18 } from "react/jsx-runtime";
1025
+ import { jsx as jsx20 } from "react/jsx-runtime";
965
1026
  var InfoIcon = () => {
966
- return /* @__PURE__ */ jsx18(
1027
+ return /* @__PURE__ */ jsx20(
967
1028
  "svg",
968
1029
  {
969
1030
  width: "28",
@@ -971,15 +1032,15 @@ var InfoIcon = () => {
971
1032
  viewBox: "0 0 28 28",
972
1033
  xmlns: "http://www.w3.org/2000/svg",
973
1034
  fill: "currentColor",
974
- children: /* @__PURE__ */ jsx18("path", { d: "M12.6667 20.6666H15.3334V12.6666H12.6667V20.6666ZM14.0001 9.99996C14.3779 9.99996 14.6945 9.87218 14.9501 9.61663C15.2056 9.36107 15.3334 9.0444 15.3334 8.66663C15.3334 8.28885 15.2056 7.97218 14.9501 7.71663C14.6945 7.46107 14.3779 7.33329 14.0001 7.33329C13.6223 7.33329 13.3056 7.46107 13.0501 7.71663C12.7945 7.97218 12.6667 8.28885 12.6667 8.66663C12.6667 9.0444 12.7945 9.36107 13.0501 9.61663C13.3056 9.87218 13.6223 9.99996 14.0001 9.99996ZM14.0001 27.3333C12.1556 27.3333 10.4223 26.9833 8.80008 26.2833C7.17786 25.5833 5.76675 24.6333 4.56675 23.4333C3.36675 22.2333 2.41675 20.8222 1.71675 19.2C1.01675 17.5777 0.666748 15.8444 0.666748 14C0.666748 12.1555 1.01675 10.4222 1.71675 8.79996C2.41675 7.17774 3.36675 5.76663 4.56675 4.56663C5.76675 3.36663 7.17786 2.41663 8.80008 1.71663C10.4223 1.01663 12.1556 0.666626 14.0001 0.666626C15.8445 0.666626 17.5779 1.01663 19.2001 1.71663C20.8223 2.41663 22.2334 3.36663 23.4334 4.56663C24.6334 5.76663 25.5834 7.17774 26.2834 8.79996C26.9834 10.4222 27.3334 12.1555 27.3334 14C27.3334 15.8444 26.9834 17.5777 26.2834 19.2C25.5834 20.8222 24.6334 22.2333 23.4334 23.4333C22.2334 24.6333 20.8223 25.5833 19.2001 26.2833C17.5779 26.9833 15.8445 27.3333 14.0001 27.3333ZM14.0001 24.6666C16.9779 24.6666 19.5001 23.6333 21.5667 21.5666C23.6334 19.5 24.6667 16.9777 24.6667 14C24.6667 11.0222 23.6334 8.49996 21.5667 6.43329C19.5001 4.36663 16.9779 3.33329 14.0001 3.33329C11.0223 3.33329 8.50008 4.36663 6.43341 6.43329C4.36675 8.49996 3.33341 11.0222 3.33341 14C3.33341 16.9777 4.36675 19.5 6.43341 21.5666C8.50008 23.6333 11.0223 24.6666 14.0001 24.6666Z" })
1035
+ children: /* @__PURE__ */ jsx20("path", { d: "M12.6667 20.6666H15.3334V12.6666H12.6667V20.6666ZM14.0001 9.99996C14.3779 9.99996 14.6945 9.87218 14.9501 9.61663C15.2056 9.36107 15.3334 9.0444 15.3334 8.66663C15.3334 8.28885 15.2056 7.97218 14.9501 7.71663C14.6945 7.46107 14.3779 7.33329 14.0001 7.33329C13.6223 7.33329 13.3056 7.46107 13.0501 7.71663C12.7945 7.97218 12.6667 8.28885 12.6667 8.66663C12.6667 9.0444 12.7945 9.36107 13.0501 9.61663C13.3056 9.87218 13.6223 9.99996 14.0001 9.99996ZM14.0001 27.3333C12.1556 27.3333 10.4223 26.9833 8.80008 26.2833C7.17786 25.5833 5.76675 24.6333 4.56675 23.4333C3.36675 22.2333 2.41675 20.8222 1.71675 19.2C1.01675 17.5777 0.666748 15.8444 0.666748 14C0.666748 12.1555 1.01675 10.4222 1.71675 8.79996C2.41675 7.17774 3.36675 5.76663 4.56675 4.56663C5.76675 3.36663 7.17786 2.41663 8.80008 1.71663C10.4223 1.01663 12.1556 0.666626 14.0001 0.666626C15.8445 0.666626 17.5779 1.01663 19.2001 1.71663C20.8223 2.41663 22.2334 3.36663 23.4334 4.56663C24.6334 5.76663 25.5834 7.17774 26.2834 8.79996C26.9834 10.4222 27.3334 12.1555 27.3334 14C27.3334 15.8444 26.9834 17.5777 26.2834 19.2C25.5834 20.8222 24.6334 22.2333 23.4334 23.4333C22.2334 24.6333 20.8223 25.5833 19.2001 26.2833C17.5779 26.9833 15.8445 27.3333 14.0001 27.3333ZM14.0001 24.6666C16.9779 24.6666 19.5001 23.6333 21.5667 21.5666C23.6334 19.5 24.6667 16.9777 24.6667 14C24.6667 11.0222 23.6334 8.49996 21.5667 6.43329C19.5001 4.36663 16.9779 3.33329 14.0001 3.33329C11.0223 3.33329 8.50008 4.36663 6.43341 6.43329C4.36675 8.49996 3.33341 11.0222 3.33341 14C3.33341 16.9777 4.36675 19.5 6.43341 21.5666C8.50008 23.6333 11.0223 24.6666 14.0001 24.6666Z" })
975
1036
  }
976
1037
  );
977
1038
  };
978
1039
 
979
1040
  // src/components/icons/SettingsIcon.tsx
980
- import { jsx as jsx19 } from "react/jsx-runtime";
1041
+ import { jsx as jsx21 } from "react/jsx-runtime";
981
1042
  var SettingsIcon = () => {
982
- return /* @__PURE__ */ jsx19(
1043
+ return /* @__PURE__ */ jsx21(
983
1044
  "svg",
984
1045
  {
985
1046
  width: "18",
@@ -987,7 +1048,7 @@ var SettingsIcon = () => {
987
1048
  viewBox: "0 0 18 18",
988
1049
  fill: "none",
989
1050
  xmlns: "http://www.w3.org/2000/svg",
990
- children: /* @__PURE__ */ jsx19(
1051
+ children: /* @__PURE__ */ jsx21(
991
1052
  "path",
992
1053
  {
993
1054
  d: "M6.62325 17.5L6.26504 14.78C6.07101 14.7092 5.88818 14.6242 5.71653 14.525C5.54489 14.4258 5.37698 14.3196 5.2128 14.2063L2.54862 15.2688L0.0859375 11.2312L2.39191 9.57375C2.37698 9.47458 2.36952 9.37896 2.36952 9.28687V8.71313C2.36952 8.62104 2.37698 8.52542 2.39191 8.42625L0.0859375 6.76875L2.54862 2.73125L5.2128 3.79375C5.37698 3.68042 5.54862 3.57417 5.72773 3.475C5.90683 3.37583 6.08594 3.29083 6.26504 3.22L6.62325 0.5H11.5486L11.9068 3.22C12.1009 3.29083 12.2837 3.37583 12.4553 3.475C12.627 3.57417 12.7949 3.68042 12.9591 3.79375L15.6233 2.73125L18.0859 6.76875L15.78 8.42625C15.7949 8.52542 15.8024 8.62104 15.8024 8.71313V9.28687C15.8024 9.37896 15.7874 9.47458 15.7576 9.57375L18.0635 11.2312L15.6009 15.2688L12.9591 14.2063C12.7949 14.3196 12.6233 14.4258 12.4441 14.525C12.265 14.6242 12.0859 14.7092 11.9068 14.78L11.5486 17.5H6.62325ZM9.13071 11.975C9.99639 11.975 10.7352 11.6846 11.3471 11.1038C11.9591 10.5229 12.265 9.82167 12.265 9C12.265 8.17833 11.9591 7.47708 11.3471 6.89625C10.7352 6.31542 9.99639 6.025 9.13071 6.025C8.25012 6.025 7.50758 6.31542 6.9031 6.89625C6.29862 7.47708 5.99639 8.17833 5.99639 9C5.99639 9.82167 6.29862 10.5229 6.9031 11.1038C7.50758 11.6846 8.25012 11.975 9.13071 11.975ZM9.13071 10.275C8.75758 10.275 8.44042 10.151 8.17922 9.90312C7.91803 9.65521 7.78743 9.35417 7.78743 9C7.78743 8.64583 7.91803 8.34479 8.17922 8.09688C8.44042 7.84896 8.75758 7.725 9.13071 7.725C9.50385 7.725 9.82101 7.84896 10.0822 8.09688C10.3434 8.34479 10.474 8.64583 10.474 9C10.474 9.35417 10.3434 9.65521 10.0822 9.90312C9.82101 10.151 9.50385 10.275 9.13071 10.275ZM8.19042 15.8H9.95907L10.2725 13.5475C10.7352 13.4342 11.1643 13.2677 11.5598 13.0481C11.9553 12.8285 12.3173 12.5629 12.6456 12.2513L14.8621 13.1225L15.7352 11.6775L13.8098 10.2963C13.8844 10.0979 13.9367 9.88896 13.9665 9.66938C13.9964 9.44979 14.0113 9.22667 14.0113 9C14.0113 8.77333 13.9964 8.55021 13.9665 8.33063C13.9367 8.11104 13.8844 7.90208 13.8098 7.70375L15.7352 6.3225L14.8621 4.8775L12.6456 5.77C12.3173 5.44417 11.9553 5.17146 11.5598 4.95188C11.1643 4.73229 10.7352 4.56583 10.2725 4.4525L9.98146 2.2H8.2128L7.89937 4.4525C7.43668 4.56583 7.00758 4.73229 6.61206 4.95188C6.21653 5.17146 5.85459 5.43708 5.52624 5.74875L3.30982 4.8775L2.43668 6.3225L4.36206 7.6825C4.28743 7.895 4.23519 8.1075 4.20534 8.32C4.17549 8.5325 4.16056 8.75917 4.16056 9C4.16056 9.22667 4.17549 9.44625 4.20534 9.65875C4.23519 9.87125 4.28743 10.0837 4.36206 10.2963L2.43668 11.6775L3.30982 13.1225L5.52624 12.23C5.85459 12.5558 6.21653 12.8285 6.61206 13.0481C7.00758 13.2677 7.43668 13.4342 7.89937 13.5475L8.19042 15.8Z",
@@ -999,7 +1060,7 @@ var SettingsIcon = () => {
999
1060
  };
1000
1061
 
1001
1062
  // src/components/icons/XSwapBadgeIcon.tsx
1002
- import { jsx as jsx20, jsxs as jsxs4 } from "react/jsx-runtime";
1063
+ import { jsx as jsx22, jsxs as jsxs4 } from "react/jsx-runtime";
1003
1064
  var XSwapBadgeIcon = () => {
1004
1065
  return /* @__PURE__ */ jsxs4(
1005
1066
  "svg",
@@ -1010,8 +1071,8 @@ var XSwapBadgeIcon = () => {
1010
1071
  width: "80",
1011
1072
  height: "27",
1012
1073
  children: [
1013
- /* @__PURE__ */ jsx20("title", { children: "xswap-badge" }),
1014
- /* @__PURE__ */ jsx20("defs", { children: /* @__PURE__ */ jsx20(
1074
+ /* @__PURE__ */ jsx22("title", { children: "xswap-badge" }),
1075
+ /* @__PURE__ */ jsx22("defs", { children: /* @__PURE__ */ jsx22(
1015
1076
  "image",
1016
1077
  {
1017
1078
  width: "80",
@@ -1020,15 +1081,15 @@ var XSwapBadgeIcon = () => {
1020
1081
  href: "data:image/png;base64,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"
1021
1082
  }
1022
1083
  ) }),
1023
- /* @__PURE__ */ jsx20("style", {}),
1024
- /* @__PURE__ */ jsx20("use", { id: "Background", href: "#img1iVBORw0KGgoAAAANSUhEUgAAAF", x: "0", y: "1" })
1084
+ /* @__PURE__ */ jsx22("style", {}),
1085
+ /* @__PURE__ */ jsx22("use", { id: "Background", href: "#img1iVBORw0KGgoAAAANSUhEUgAAAF", x: "0", y: "1" })
1025
1086
  ]
1026
1087
  }
1027
1088
  );
1028
1089
  };
1029
1090
 
1030
1091
  // src/components/icons/ChainlinkCCIPIcon.tsx
1031
- import { jsx as jsx21, jsxs as jsxs5 } from "react/jsx-runtime";
1092
+ import { jsx as jsx23, jsxs as jsxs5 } from "react/jsx-runtime";
1032
1093
  var ChainlinkCCIPIcon = () => {
1033
1094
  return /* @__PURE__ */ jsxs5(
1034
1095
  "svg",
@@ -1039,8 +1100,8 @@ var ChainlinkCCIPIcon = () => {
1039
1100
  width: "67",
1040
1101
  height: "27",
1041
1102
  children: [
1042
- /* @__PURE__ */ jsx21("title", { children: "chainlink-CCIP" }),
1043
- /* @__PURE__ */ jsx21("defs", { children: /* @__PURE__ */ jsx21(
1103
+ /* @__PURE__ */ jsx23("title", { children: "chainlink-CCIP" }),
1104
+ /* @__PURE__ */ jsx23("defs", { children: /* @__PURE__ */ jsx23(
1044
1105
  "image",
1045
1106
  {
1046
1107
  width: "67",
@@ -1049,17 +1110,17 @@ var ChainlinkCCIPIcon = () => {
1049
1110
  href: "data:image/png;base64,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"
1050
1111
  }
1051
1112
  ) }),
1052
- /* @__PURE__ */ jsx21("style", {}),
1053
- /* @__PURE__ */ jsx21("use", { id: "Background", href: "#imgiVBORw0KGgoAAA", x: "0", y: "0" })
1113
+ /* @__PURE__ */ jsx23("style", {}),
1114
+ /* @__PURE__ */ jsx23("use", { id: "Background", href: "#imgiVBORw0KGgoAAA", x: "0", y: "0" })
1054
1115
  ]
1055
1116
  }
1056
1117
  );
1057
1118
  };
1058
1119
 
1059
1120
  // src/components/icons/XSwapLogo.tsx
1060
- import { jsx as jsx22 } from "react/jsx-runtime";
1121
+ import { jsx as jsx24 } from "react/jsx-runtime";
1061
1122
  var XSwapLogo = () => {
1062
- return /* @__PURE__ */ jsx22(
1123
+ return /* @__PURE__ */ jsx24(
1063
1124
  "svg",
1064
1125
  {
1065
1126
  version: "1.1",
@@ -1069,7 +1130,7 @@ var XSwapLogo = () => {
1069
1130
  y: "0px",
1070
1131
  viewBox: "0 0 50 50",
1071
1132
  enableBackground: "new 0 0 50 50",
1072
- children: /* @__PURE__ */ jsx22(
1133
+ children: /* @__PURE__ */ jsx24(
1073
1134
  "image",
1074
1135
  {
1075
1136
  id: "image0",
@@ -1083,13 +1144,13 @@ var XSwapLogo = () => {
1083
1144
  };
1084
1145
 
1085
1146
  // src/components/TxConfigForm/PoweredBy.tsx
1086
- import { jsx as jsx23, jsxs as jsxs6 } from "react/jsx-runtime";
1147
+ import { jsx as jsx25, jsxs as jsxs6 } from "react/jsx-runtime";
1087
1148
  var PoweredBy = () => {
1088
1149
  return /* @__PURE__ */ jsxs6("div", { className: "flex justify-center items-center gap-2 my-3", children: [
1089
- /* @__PURE__ */ jsx23("span", { className: "text-x_grey", children: "Powered by" }),
1090
- /* @__PURE__ */ jsx23(XSwapBadgeIcon, {}),
1091
- /* @__PURE__ */ jsx23("span", { children: "\u2715" }),
1092
- /* @__PURE__ */ jsx23(ChainlinkCCIPIcon, {})
1150
+ /* @__PURE__ */ jsx25("span", { className: "text-x_grey", children: "Powered by" }),
1151
+ /* @__PURE__ */ jsx25(XSwapBadgeIcon, {}),
1152
+ /* @__PURE__ */ jsx25("span", { children: "\u2715" }),
1153
+ /* @__PURE__ */ jsx25(ChainlinkCCIPIcon, {})
1093
1154
  ] });
1094
1155
  };
1095
1156
 
@@ -1121,7 +1182,7 @@ import BigNumberJS2 from "bignumber.js";
1121
1182
 
1122
1183
  // src/components/TxConfigForm/HistoryCard.tsx
1123
1184
  import { useCallback, useMemo } from "react";
1124
- import { Fragment, jsx as jsx24, jsxs as jsxs7 } from "react/jsx-runtime";
1185
+ import { Fragment, jsx as jsx26, jsxs as jsxs7 } from "react/jsx-runtime";
1125
1186
  var HistoryCard = ({ transaction, supportedChains }) => {
1126
1187
  const date = getDate(transaction.timestamp);
1127
1188
  const supportedTokens = useMemo(() => {
@@ -1169,12 +1230,12 @@ var HistoryCard = ({ transaction, supportedChains }) => {
1169
1230
  );
1170
1231
  return /* @__PURE__ */ jsxs7("div", { className: "flex flex-col globalBorder rounded-xl bg-[rgb(15,15,15)] text-white text-xs sm:text-sm p-4 gap-3 mb-2", children: [
1171
1232
  /* @__PURE__ */ jsxs7("div", { className: "flex w-full items-center justify-between", children: [
1172
- /* @__PURE__ */ jsx24("div", { className: "text-sm sm:text-base", children: date }),
1233
+ /* @__PURE__ */ jsx26("div", { className: "text-sm sm:text-base", children: date }),
1173
1234
  /* @__PURE__ */ jsxs7("div", { className: "flex items-center", children: [
1174
- transaction.status === "IN_PROGRESS" && /* @__PURE__ */ jsx24("div", { className: "flex items-center", children: /* @__PURE__ */ jsx24("div", { className: "text-[rgb(250,200,100)]", children: "In progress" }) }),
1175
- transaction.status === "DONE" && /* @__PURE__ */ jsx24("div", { className: "flex items-center", children: /* @__PURE__ */ jsx24("div", { className: "text-[rgb(100,200,100)]", children: "Done" }) }),
1176
- transaction.status === "REVERTED" && /* @__PURE__ */ jsx24("div", { className: "flex items-center", children: /* @__PURE__ */ jsx24("div", { className: "text-[rgb(255,100,100)]", children: "Reverted" }) }),
1177
- /* @__PURE__ */ jsx24(
1235
+ transaction.status === "IN_PROGRESS" && /* @__PURE__ */ jsx26("div", { className: "flex items-center", children: /* @__PURE__ */ jsx26("div", { className: "text-[rgb(250,200,100)]", children: "In progress" }) }),
1236
+ transaction.status === "DONE" && /* @__PURE__ */ jsx26("div", { className: "flex items-center", children: /* @__PURE__ */ jsx26("div", { className: "text-[rgb(100,200,100)]", children: "Done" }) }),
1237
+ transaction.status === "REVERTED" && /* @__PURE__ */ jsx26("div", { className: "flex items-center", children: /* @__PURE__ */ jsx26("div", { className: "text-[rgb(255,100,100)]", children: "Reverted" }) }),
1238
+ /* @__PURE__ */ jsx26(
1178
1239
  "a",
1179
1240
  {
1180
1241
  href: `${supportedChains.find(
@@ -1184,7 +1245,7 @@ var HistoryCard = ({ transaction, supportedChains }) => {
1184
1245
  rel: "noreferrer",
1185
1246
  className: "ml-2 no-underline",
1186
1247
  "aria-label": "Show the transaction in the chain explorer",
1187
- children: /* @__PURE__ */ jsx24("div", { className: "w-3.5 h-3.5", children: /* @__PURE__ */ jsx24(ArrowUpRightIcon, {}) })
1248
+ children: /* @__PURE__ */ jsx26("div", { className: "w-3.5 h-3.5", children: /* @__PURE__ */ jsx26(ArrowUpRightIcon, {}) })
1188
1249
  }
1189
1250
  )
1190
1251
  ] })
@@ -1192,7 +1253,7 @@ var HistoryCard = ({ transaction, supportedChains }) => {
1192
1253
  /* @__PURE__ */ jsxs7("div", { className: "flex justify-between flex-wrap gap-2", children: [
1193
1254
  /* @__PURE__ */ jsxs7("div", { className: "flex items-center", children: [
1194
1255
  /* @__PURE__ */ jsxs7("div", { className: "flex items-center", children: [
1195
- /* @__PURE__ */ jsx24(
1256
+ /* @__PURE__ */ jsx26(
1196
1257
  "img",
1197
1258
  {
1198
1259
  src: sourceChainData?.image,
@@ -1200,11 +1261,11 @@ var HistoryCard = ({ transaction, supportedChains }) => {
1200
1261
  className: "w-5 h-5 mr-1"
1201
1262
  }
1202
1263
  ),
1203
- /* @__PURE__ */ jsx24("div", { children: sourceChainData?.displayName })
1264
+ /* @__PURE__ */ jsx26("div", { children: sourceChainData?.displayName })
1204
1265
  ] }),
1205
- /* @__PURE__ */ jsx24("div", { className: "w-3.5 h-3.5 my-0 mx-1.5", children: /* @__PURE__ */ jsx24(ArrowRightIcon, {}) }),
1266
+ /* @__PURE__ */ jsx26("div", { className: "w-3.5 h-3.5 my-0 mx-1.5", children: /* @__PURE__ */ jsx26(ArrowRightIcon, {}) }),
1206
1267
  /* @__PURE__ */ jsxs7("div", { className: "flex items-center", children: [
1207
- /* @__PURE__ */ jsx24(
1268
+ /* @__PURE__ */ jsx26(
1208
1269
  "img",
1209
1270
  {
1210
1271
  src: targetChainData?.image,
@@ -1212,35 +1273,35 @@ var HistoryCard = ({ transaction, supportedChains }) => {
1212
1273
  className: "w-5 h-5 mr-1"
1213
1274
  }
1214
1275
  ),
1215
- /* @__PURE__ */ jsx24("div", { children: targetChainData?.displayName })
1276
+ /* @__PURE__ */ jsx26("div", { children: targetChainData?.displayName })
1216
1277
  ] })
1217
1278
  ] }),
1218
- /* @__PURE__ */ jsx24("div", { className: "flex items-center mb-2 last:mb-0", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center flex-wrap", children: [
1279
+ /* @__PURE__ */ jsx26("div", { className: "flex items-center mb-2 last:mb-0", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center flex-wrap", children: [
1219
1280
  /* @__PURE__ */ jsxs7("div", { className: "flex items-center", children: [
1220
1281
  Number(transferredAmount) < MINIMUM_DISPLAYED_TOKEN_AMOUNT ? `<${MINIMUM_DISPLAYED_TOKEN_AMOUNT}` : transferredAmount,
1221
- /* @__PURE__ */ jsx24("div", { className: "ml-1", children: tokenData?.symbol }),
1222
- tokenData?.image ? /* @__PURE__ */ jsx24(
1282
+ /* @__PURE__ */ jsx26("div", { className: "ml-1", children: tokenData?.symbol }),
1283
+ tokenData?.image ? /* @__PURE__ */ jsx26(
1223
1284
  "img",
1224
1285
  {
1225
1286
  src: tokenData?.image,
1226
1287
  alt: tokenData?.name || "",
1227
1288
  className: "w-5 h-5 ml-1"
1228
1289
  }
1229
- ) : /* @__PURE__ */ jsx24("div", { className: "flex items-center justify-center w-5 h-5 text-[10px] ml-1 rounded-full bg-[#272e40] text-[#e0e7fa]", children: tokenData?.symbol.substring(0, 1) })
1290
+ ) : /* @__PURE__ */ jsx26("div", { className: "flex items-center justify-center w-5 h-5 text-[10px] ml-1 rounded-full bg-[#272e40] text-[#e0e7fa]", children: tokenData?.symbol.substring(0, 1) })
1230
1291
  ] }),
1231
1292
  transaction.tokenOutAddress && /* @__PURE__ */ jsxs7(Fragment, { children: [
1232
- /* @__PURE__ */ jsx24("div", { className: "w-3.5 h-3.5 my-0 mx-1.5", children: /* @__PURE__ */ jsx24(ArrowRightIcon, {}) }),
1293
+ /* @__PURE__ */ jsx26("div", { className: "w-3.5 h-3.5 my-0 mx-1.5", children: /* @__PURE__ */ jsx26(ArrowRightIcon, {}) }),
1233
1294
  /* @__PURE__ */ jsxs7("div", { className: "flex items-center", children: [
1234
1295
  Number(receivedAmount) < 1e-4 ? "<0.0001" : receivedAmount,
1235
- /* @__PURE__ */ jsx24("div", { className: "ml-1", children: tokenOutData?.symbol }),
1236
- tokenOutData?.image ? /* @__PURE__ */ jsx24(
1296
+ /* @__PURE__ */ jsx26("div", { className: "ml-1", children: tokenOutData?.symbol }),
1297
+ tokenOutData?.image ? /* @__PURE__ */ jsx26(
1237
1298
  "img",
1238
1299
  {
1239
1300
  src: tokenOutData?.image,
1240
1301
  alt: tokenOutData?.name || "",
1241
1302
  className: "w-5 h-5 ml-1"
1242
1303
  }
1243
- ) : /* @__PURE__ */ jsx24("div", { className: "flex items-center justify-center w-5 h-5 text-[10px] ml-1 rounded-full bg-[#272e40] text-[#e0e7fa]", children: tokenData?.symbol.substring(0, 1) })
1304
+ ) : /* @__PURE__ */ jsx26("div", { className: "flex items-center justify-center w-5 h-5 text-[10px] ml-1 rounded-full bg-[#272e40] text-[#e0e7fa]", children: tokenData?.symbol.substring(0, 1) })
1244
1305
  ] })
1245
1306
  ] })
1246
1307
  ] }) })
@@ -1249,7 +1310,7 @@ var HistoryCard = ({ transaction, supportedChains }) => {
1249
1310
  };
1250
1311
 
1251
1312
  // src/components/TxConfigForm/History.tsx
1252
- import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
1313
+ import { jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
1253
1314
  var History = ({ signer, supportedChains }) => {
1254
1315
  const [fetchedHistory, setFetchedHistory] = useState2();
1255
1316
  const [historyLoadedOnce, setHistoryLoadedOnce] = useState2(false);
@@ -1301,11 +1362,11 @@ var History = ({ signer, supportedChains }) => {
1301
1362
  return () => clearInterval(timer);
1302
1363
  }, [signer, fetchHistory, getHistory, historyLoadedOnce]);
1303
1364
  if (!signer)
1304
- return /* @__PURE__ */ jsx25("div", { className: "flex items-center justify-center w-full h-[30vh]", children: "Connect a wallet to browse history" });
1305
- return /* @__PURE__ */ jsx25("div", { className: "flex items-center justify-center w-full", children: /* @__PURE__ */ jsxs8("div", { className: "w-full h-96 overflow-scroll overflow-x-hidden", children: [
1306
- fetchedHistory?.length === 0 && historyLoadedOnce && /* @__PURE__ */ jsx25("div", { className: "w-full text-center py-4 px-0 text-[rgb(158,158,158)]", children: "Your history is empty..." }),
1307
- !fetchedHistory && !historyLoadedOnce && /* @__PURE__ */ jsx25("div", { className: "flex w-full h-full items-center justify-center", children: /* @__PURE__ */ jsx25(CircularProgressIcon, {}) }),
1308
- fetchedHistory?.map((transaction, index) => /* @__PURE__ */ jsx25(
1365
+ return /* @__PURE__ */ jsx27("div", { className: "flex items-center justify-center w-full h-[30vh]", children: "Connect a wallet to browse history" });
1366
+ return /* @__PURE__ */ jsx27("div", { className: "flex items-center justify-center w-full", children: /* @__PURE__ */ jsxs8("div", { className: "w-full h-96 overflow-scroll overflow-x-hidden", children: [
1367
+ fetchedHistory?.length === 0 && historyLoadedOnce && /* @__PURE__ */ jsx27("div", { className: "w-full text-center py-4 px-0 text-[rgb(158,158,158)]", children: "Your history is empty..." }),
1368
+ !fetchedHistory && !historyLoadedOnce && /* @__PURE__ */ jsx27("div", { className: "flex w-full h-full items-center justify-center", children: /* @__PURE__ */ jsx27(CircularProgressIcon, {}) }),
1369
+ fetchedHistory?.map((transaction, index) => /* @__PURE__ */ jsx27(
1309
1370
  HistoryCard,
1310
1371
  {
1311
1372
  transaction,
@@ -1317,39 +1378,41 @@ var History = ({ signer, supportedChains }) => {
1317
1378
  };
1318
1379
 
1319
1380
  // src/components/TxConfigForm/TopBar.tsx
1320
- import { Fragment as Fragment2, jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
1381
+ import { Fragment as Fragment2, jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
1321
1382
  var TopBar = ({
1322
1383
  signer,
1323
1384
  setSettingsShown,
1324
1385
  setHistoryTabShown,
1325
- historyTabShown
1386
+ historyTabShown,
1387
+ onClose
1326
1388
  }) => {
1327
- return /* @__PURE__ */ jsxs9("div", { className: "flex w-full justify-between items-center mx-auto sm:pl-4 pr-8 pt-2", children: [
1328
- /* @__PURE__ */ jsx26("div", { className: "rounded-lg text-[rgba(255,255,255,0.6)] text-xs sm:text-base whitespace-nowrap", children: signer ? `Connected wallet: ${shortAddress(signer)}` : `Wallet disconnected` }),
1329
- /* @__PURE__ */ jsxs9("div", { className: "flex gap-2", children: [
1330
- !historyTabShown && /* @__PURE__ */ jsx26(
1389
+ return /* @__PURE__ */ jsxs9("div", { className: "flex w-full justify-between items-center mx-auto p-2", children: [
1390
+ /* @__PURE__ */ jsx28("div", { className: "rounded-lg text-[rgba(255,255,255,0.6)] text-xs sm:text-base whitespace-nowrap", children: signer ? `Connected wallet: ${shortAddress(signer)}` : `Wallet disconnected` }),
1391
+ /* @__PURE__ */ jsxs9("div", { className: "flex gap-2 justify-center items-center", children: [
1392
+ !historyTabShown && /* @__PURE__ */ jsx28(
1331
1393
  "div",
1332
1394
  {
1333
1395
  onClick: () => setSettingsShown(true),
1334
1396
  className: "flex items-center text-xs gap-1 cursor-pointer",
1335
- children: /* @__PURE__ */ jsx26("div", { className: "w-7 h-7 rounded-full bg-gradient-to-r from-x_blue_light to-x_blue_dark flex items-center justify-center", children: /* @__PURE__ */ jsx26(SettingsIcon, {}) })
1397
+ children: /* @__PURE__ */ jsx28("div", { className: "w-7 h-7 rounded-full bg-gradient-to-r from-x_blue_light to-x_blue_dark flex items-center justify-center", children: /* @__PURE__ */ jsx28(SettingsIcon, {}) })
1336
1398
  }
1337
1399
  ),
1338
- /* @__PURE__ */ jsx26(
1400
+ /* @__PURE__ */ jsx28(
1339
1401
  "div",
1340
1402
  {
1341
1403
  onClick: () => setHistoryTabShown((x) => !x),
1342
1404
  className: "flex items-center text-sm gap-1 cursor-pointer",
1343
- children: !historyTabShown ? /* @__PURE__ */ jsx26(Fragment2, { children: /* @__PURE__ */ jsx26("div", { className: "w-7 h-7 rounded-full bg-gradient-to-r from-x_blue_light to-x_blue_dark flex items-center justify-center", children: /* @__PURE__ */ jsx26(HistoryIcon, {}) }) }) : /* @__PURE__ */ jsx26("div", { children: "Back" })
1405
+ children: !historyTabShown ? /* @__PURE__ */ jsx28(Fragment2, { children: /* @__PURE__ */ jsx28("div", { className: "w-7 h-7 rounded-full bg-gradient-to-r from-x_blue_light to-x_blue_dark flex items-center justify-center", children: /* @__PURE__ */ jsx28(HistoryIcon, {}) }) }) : /* @__PURE__ */ jsx28("div", { children: "Back" })
1344
1406
  }
1345
- )
1407
+ ),
1408
+ /* @__PURE__ */ jsx28("div", { className: "cursor-pointer text-white", onClick: onClose, children: /* @__PURE__ */ jsx28(CloseIcon, {}) })
1346
1409
  ] })
1347
1410
  ] });
1348
1411
  };
1349
1412
 
1350
1413
  // src/components/TxConfigForm/Settings.tsx
1351
1414
  import { useState as useState3, useEffect as useEffect3 } from "react";
1352
- import { jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
1415
+ import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
1353
1416
  var Settings = ({
1354
1417
  setSlippage,
1355
1418
  setSettingsShown,
@@ -1366,22 +1429,22 @@ var Settings = ({
1366
1429
  );
1367
1430
  }
1368
1431
  }, [slippageActivePresetIndex, usingSlippageInput]);
1369
- return /* @__PURE__ */ jsx27("div", { className: "absolute w-[310px] right-0 top-[46px] z-10 bg-black border border-solid border-[rgba(54,129,198,1)] p-4 rounded-xl", children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-4 justify-between", children: [
1432
+ return /* @__PURE__ */ jsx29("div", { className: "absolute w-[310px] right-0 top-[46px] z-10 bg-black border border-solid border-[rgba(54,129,198,1)] p-4 rounded-xl", children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-4 justify-between", children: [
1370
1433
  /* @__PURE__ */ jsxs10("div", { className: "flex justify-between", children: [
1371
- /* @__PURE__ */ jsx27("div", { className: "text-base", children: "Settings" }),
1372
- /* @__PURE__ */ jsx27(
1434
+ /* @__PURE__ */ jsx29("div", { className: "text-base", children: "Settings" }),
1435
+ /* @__PURE__ */ jsx29(
1373
1436
  "div",
1374
1437
  {
1375
1438
  className: "cursor-pointer",
1376
1439
  onClick: () => setSettingsShown(false),
1377
- children: /* @__PURE__ */ jsx27(CloseIcon, {})
1440
+ children: /* @__PURE__ */ jsx29(CloseIcon, {})
1378
1441
  }
1379
1442
  )
1380
1443
  ] }),
1381
1444
  /* @__PURE__ */ jsxs10("div", { children: [
1382
1445
  /* @__PURE__ */ jsxs10("div", { className: "flex gap-2 items-center", children: [
1383
- /* @__PURE__ */ jsx27("div", { className: "text-sm text-[rgba(255,255,255,0.6)]", children: "Express delivery" }),
1384
- /* @__PURE__ */ jsx27("div", { children: /* @__PURE__ */ jsxs10(
1446
+ /* @__PURE__ */ jsx29("div", { className: "text-sm text-[rgba(255,255,255,0.6)]", children: "Express delivery" }),
1447
+ /* @__PURE__ */ jsx29("div", { children: /* @__PURE__ */ jsxs10(
1385
1448
  "span",
1386
1449
  {
1387
1450
  className: "inline-flex w-14 h-9 p-3 relative align-middle box-border overflow-hidden cursor-pointer",
@@ -1389,8 +1452,8 @@ var Settings = ({
1389
1452
  setExpressChecked((x) => !x);
1390
1453
  },
1391
1454
  children: [
1392
- /* @__PURE__ */ jsx27("span", { className: "h-full, w-full rounded-lg bg-[rgba(255,255,255,0.3)]" }),
1393
- /* @__PURE__ */ jsx27(
1455
+ /* @__PURE__ */ jsx29("span", { className: "h-full, w-full rounded-lg bg-[rgba(255,255,255,0.3)]" }),
1456
+ /* @__PURE__ */ jsx29(
1394
1457
  "span",
1395
1458
  {
1396
1459
  className: `transition-all w-5 h-5 rounded-full absolute translate-y-[-4px]
@@ -1402,14 +1465,14 @@ var Settings = ({
1402
1465
  ) })
1403
1466
  ] }),
1404
1467
  /* @__PURE__ */ jsxs10("div", { className: "flex gap-4", children: [
1405
- /* @__PURE__ */ jsx27("div", { className: "min-w-[26px] min-h-[26px] text-[#ffa726]", children: /* @__PURE__ */ jsx27(InfoIcon, {}) }),
1406
- /* @__PURE__ */ jsx27("div", { className: "text-xs text-left", children: "Express delivery is a special feature of XSwap that reduces transaction time across chains to around 30 seconds. It is currently available for swaps below a value of $ 1000 USD." })
1468
+ /* @__PURE__ */ jsx29("div", { className: "min-w-[26px] min-h-[26px] text-[#ffa726]", children: /* @__PURE__ */ jsx29(InfoIcon, {}) }),
1469
+ /* @__PURE__ */ jsx29("div", { className: "text-xs text-left", children: "Express delivery is a special feature of XSwap that reduces transaction time across chains to around 30 seconds. It is currently available for swaps below a value of $ 1000 USD." })
1407
1470
  ] })
1408
1471
  ] }),
1409
1472
  /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-2 ", children: [
1410
- /* @__PURE__ */ jsx27("div", { className: " text-[rgba(255,255,255,0.6)] text-sm", children: "Slippage" }),
1473
+ /* @__PURE__ */ jsx29("div", { className: " text-[rgba(255,255,255,0.6)] text-sm", children: "Slippage" }),
1411
1474
  /* @__PURE__ */ jsxs10("div", { className: "flex gap-2", children: [
1412
- /* @__PURE__ */ jsx27("div", { className: "flex items-center bg-[rgba(15,15,15,1)] p-1 globalBorder rounded-xl", children: SLIPPAGE_PRESETS.map((preset, index) => /* @__PURE__ */ jsx27(
1475
+ /* @__PURE__ */ jsx29("div", { className: "flex items-center bg-[rgba(15,15,15,1)] p-1 globalBorder rounded-xl", children: SLIPPAGE_PRESETS.map((preset, index) => /* @__PURE__ */ jsx29(
1413
1476
  "div",
1414
1477
  {
1415
1478
  className: `transition-all cursor-pointer block rounded-lg p-2 border-none text-sm leading-[10px] ${index === slippageActivePresetIndex && !usingSlippageInput ? "text-white" : "text-[rgba(255,255,255,0.2)]"} ${index === slippageActivePresetIndex && !usingSlippageInput ? "bg-gradient-to-r from-[#3681c6] to-[#2b4a9d]" : ""}`,
@@ -1422,7 +1485,7 @@ var Settings = ({
1422
1485
  index
1423
1486
  )) }),
1424
1487
  /* @__PURE__ */ jsxs10("div", { className: "bg-[rgba(39,39,39,1)] p-2 border border-solid border-[rgba(82,82,82,1)] rounded-xl text-white flex items-center", children: [
1425
- /* @__PURE__ */ jsx27(
1488
+ /* @__PURE__ */ jsx29(
1426
1489
  "input",
1427
1490
  {
1428
1491
  className: "text-white border-none bg-[rgba(39,39,39,1)] w-10 placeholder:text-[rgba(255,255,255,0.2)] focus:outline-none text-sm leading-none",
@@ -1441,16 +1504,16 @@ var Settings = ({
1441
1504
  }
1442
1505
  }
1443
1506
  ),
1444
- /* @__PURE__ */ jsx27(PercentageIcon, {})
1507
+ /* @__PURE__ */ jsx29(PercentageIcon, {})
1445
1508
  ] })
1446
1509
  ] }),
1447
1510
  /* @__PURE__ */ jsxs10("div", { className: "flex gap-4", children: [
1448
- /* @__PURE__ */ jsx27("div", { className: "min-w-[26px] min-h-[26px] text-[#ffa726]", children: /* @__PURE__ */ jsx27(InfoIcon, {}) }),
1511
+ /* @__PURE__ */ jsx29("div", { className: "min-w-[26px] min-h-[26px] text-[#ffa726]", children: /* @__PURE__ */ jsx29(InfoIcon, {}) }),
1449
1512
  /* @__PURE__ */ jsxs10("div", { className: "text-xs text-left", children: [
1450
1513
  "Slippage is the price variation you are willing to accept in the event that the price of the trade changes while it is processing.",
1451
- /* @__PURE__ */ jsx27("br", {}),
1514
+ /* @__PURE__ */ jsx29("br", {}),
1452
1515
  " ",
1453
- /* @__PURE__ */ jsx27("br", {}),
1516
+ /* @__PURE__ */ jsx29("br", {}),
1454
1517
  "If the trade fails due to too-low slippage, you will receive USDC on the destination chain."
1455
1518
  ] })
1456
1519
  ] })
@@ -1459,23 +1522,24 @@ var Settings = ({
1459
1522
  };
1460
1523
 
1461
1524
  // src/components/TxConfigForm/FeesDetails.tsx
1462
- import { jsx as jsx28, jsxs as jsxs11 } from "react/jsx-runtime";
1525
+ import { jsx as jsx30, jsxs as jsxs11 } from "react/jsx-runtime";
1463
1526
  var FeesDetails = ({
1464
1527
  isGettingRoute,
1465
1528
  route,
1466
1529
  paymentToken,
1467
1530
  dstToken,
1468
1531
  expressChecked,
1532
+ exceedsExpressDeliveryLimit,
1469
1533
  slippage,
1470
1534
  feesDetailsShown,
1471
1535
  setFeesDetailsShown
1472
1536
  }) => {
1473
- return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-3 globalBorder rounded-lg bg-[rgba(15,15,15,1)] p-4 mb-1", children: [
1474
- /* @__PURE__ */ jsxs11("div", { className: "flex w-full items-center justify-between text-xs sm:text-sm ", children: [
1537
+ return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-3 globalBorder rounded-lg bg-[rgba(15,15,15,1)] p-2 sm:p-4 mb-1", children: [
1538
+ /* @__PURE__ */ jsxs11("div", { className: "flex w-full items-center justify-between text-xs sm:text-sm", children: [
1475
1539
  /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-1 font-medium text-white opacity-60", children: [
1476
- /* @__PURE__ */ jsx28(CoinsIcon, {}),
1477
- /* @__PURE__ */ jsx28("div", { className: "mr-1", children: "Fees:" }),
1478
- isGettingRoute ? /* @__PURE__ */ jsx28("div", { className: "bg-current rounded animate-pulse w-20 h-4" }) : ` ${weiToHumanReadable({
1540
+ /* @__PURE__ */ jsx30(CoinsIcon, {}),
1541
+ /* @__PURE__ */ jsx30("div", { className: "mr-1", children: "Fees:" }),
1542
+ isGettingRoute ? /* @__PURE__ */ jsx30(Skeleton, { width: "w-20", height: "h-4" }) : ` ${weiToHumanReadable({
1479
1543
  amount: safeBigNumberFrom(
1480
1544
  route?.xSwapFees.xSwapFee.nativeFee || "0"
1481
1545
  ).add(safeBigNumberFrom(route?.xSwapFees.ccipFee || "0")).add(
@@ -1489,57 +1553,58 @@ var FeesDetails = ({
1489
1553
  /* @__PURE__ */ jsxs11(
1490
1554
  "div",
1491
1555
  {
1492
- className: `flex gap-1 items-center font-medium ${expressChecked ? "text-x_green" : "text-white opacity-60"}`,
1556
+ className: `flex gap-1 items-center font-medium ${expressChecked && !exceedsExpressDeliveryLimit ? "text-x_green" : "text-white opacity-60"}`,
1493
1557
  children: [
1494
- /* @__PURE__ */ jsx28(TimerIcon, {}),
1495
- expressChecked ? "Fast ~ 30sec " : "Normal ~ 30min"
1558
+ /* @__PURE__ */ jsx30(TimerIcon, {}),
1559
+ expressChecked && !exceedsExpressDeliveryLimit ? "Fast ~ 30sec " : "Normal ~ 30min"
1496
1560
  ]
1497
1561
  }
1498
1562
  ),
1499
- /* @__PURE__ */ jsx28(
1563
+ /* @__PURE__ */ jsx30(
1500
1564
  "div",
1501
1565
  {
1502
1566
  onClick: () => setFeesDetailsShown((x) => !x),
1503
1567
  className: "font-medium text-white opacity-60 cursor-pointer flex items-center w-[15px] h-[9px]",
1504
- children: feesDetailsShown ? /* @__PURE__ */ jsx28(ChevronUpIcon, {}) : /* @__PURE__ */ jsx28(ChevronDownIcon, {})
1568
+ children: feesDetailsShown ? /* @__PURE__ */ jsx30(ChevronUpIcon, {}) : /* @__PURE__ */ jsx30(ChevronDownIcon, {})
1505
1569
  }
1506
1570
  )
1507
1571
  ] })
1508
1572
  ] }),
1509
- feesDetailsShown && /* @__PURE__ */ jsxs11("div", { className: "flex w-full items-center justify-between ", children: [
1573
+ feesDetailsShown && /* @__PURE__ */ jsxs11("div", { className: "flex w-full items-center justify-between gap-2", children: [
1510
1574
  /* @__PURE__ */ jsxs11("div", { className: "flex flex-col text-[10px] gap-1", children: [
1511
- /* @__PURE__ */ jsxs11("div", { className: "font-medium text-white opacity-60", children: [
1512
- "CCIP Fee:",
1513
- ` ${weiToHumanReadable({
1575
+ /* @__PURE__ */ jsxs11("div", { className: "flex justify-between font-medium text-white opacity-60 gap-1", children: [
1576
+ /* @__PURE__ */ jsx30("div", { children: "CCIP Fee:" }),
1577
+ /* @__PURE__ */ jsx30("div", { className: "whitespace-nowrap", children: ` ${weiToHumanReadable({
1514
1578
  amount: route?.xSwapFees.ccipFee || "0",
1515
1579
  decimals: 18,
1516
1580
  precisionFractionalPlaces: 5
1517
- })} ${paymentToken?.symbol}`
1581
+ })} ${paymentToken?.symbol}` })
1518
1582
  ] }),
1519
- /* @__PURE__ */ jsxs11("div", { className: "font-medium text-white opacity-60", children: [
1520
- "Native Fee:",
1521
- ` ${weiToHumanReadable({
1583
+ /* @__PURE__ */ jsxs11("div", { className: "flex justify-between font-medium text-white opacity-60 gap-1", children: [
1584
+ /* @__PURE__ */ jsx30("div", { children: "Native Fee:" }),
1585
+ /* @__PURE__ */ jsx30("div", { className: "whitespace-nowrap", children: ` ${weiToHumanReadable({
1522
1586
  amount: route?.xSwapFees.xSwapFee.nativeFee || "0",
1523
1587
  decimals: 18,
1524
1588
  precisionFractionalPlaces: 5
1525
- })} ${paymentToken?.symbol}`
1589
+ })} ${paymentToken?.symbol}` })
1526
1590
  ] })
1527
1591
  ] }),
1528
1592
  /* @__PURE__ */ jsxs11("div", { className: "flex flex-col text-[10px] gap-1", children: [
1529
- /* @__PURE__ */ jsxs11("div", { className: "font-medium text-white opacity-60", children: [
1530
- "Slippage: ",
1531
- `${slippage}%`
1593
+ /* @__PURE__ */ jsxs11("div", { className: "flex justify-between font-medium text-white opacity-60 gap-1", children: [
1594
+ /* @__PURE__ */ jsx30("div", { children: "Slippage:" }),
1595
+ /* @__PURE__ */ jsx30("div", { className: "whitespace-nowrap", children: `${slippage}%` })
1532
1596
  ] }),
1533
- /* @__PURE__ */ jsxs11("div", { className: "font-medium text-white opacity-60", children: [
1534
- "Min amount out:",
1535
- " ",
1536
- weiToHumanReadable({
1537
- amount: route?.minAmountOut || "0",
1538
- decimals: dstToken?.decimals || 18,
1539
- precisionFractionalPlaces: 5
1540
- }),
1541
- " ",
1542
- dstToken?.symbol
1597
+ /* @__PURE__ */ jsxs11("div", { className: "flex justify-between font-medium text-white opacity-60 gap-1", children: [
1598
+ /* @__PURE__ */ jsx30("div", { children: "Min amount out:" }),
1599
+ /* @__PURE__ */ jsxs11("div", { className: "whitespace-nowrap", children: [
1600
+ weiToHumanReadable({
1601
+ amount: route?.minAmountOut || "0",
1602
+ decimals: dstToken?.decimals || 18,
1603
+ precisionFractionalPlaces: 5
1604
+ }),
1605
+ " ",
1606
+ dstToken?.symbol
1607
+ ] })
1543
1608
  ] })
1544
1609
  ] })
1545
1610
  ] })
@@ -1551,24 +1616,32 @@ import { useEffect as useEffect5, useMemo as useMemo3, useState as useState5 } f
1551
1616
 
1552
1617
  // src/components/TxConfigForm/UsdPrice.tsx
1553
1618
  import { useEffect as useEffect4, useState as useState4 } from "react";
1554
- import { Fragment as Fragment3, jsx as jsx29 } from "react/jsx-runtime";
1619
+ import { Fragment as Fragment3, jsx as jsx31 } from "react/jsx-runtime";
1555
1620
  var UsdPrice = ({
1556
1621
  prices,
1557
1622
  token,
1558
1623
  amount = "0",
1559
- loading = false
1624
+ loading = false,
1625
+ type,
1626
+ setExceedsExpressDeliveryLimit
1560
1627
  }) => {
1561
1628
  const [usdPrice, setUsdPrice] = useState4("0.00");
1562
1629
  useEffect4(() => {
1563
1630
  if (token && prices && prices[token.address]) {
1564
- setUsdPrice((Number(amount) * Number(prices[token.address])).toFixed(2));
1631
+ const newUsdPrice = (Number(amount) * Number(prices[token.address])).toFixed(2);
1632
+ if (type === "src" && setExceedsExpressDeliveryLimit) {
1633
+ setExceedsExpressDeliveryLimit(
1634
+ Number(newUsdPrice) > EXPRESS_DELIVERY_LIMIT
1635
+ );
1636
+ }
1637
+ setUsdPrice(newUsdPrice);
1565
1638
  }
1566
1639
  }, [token, prices, amount]);
1567
- return /* @__PURE__ */ jsx29("div", { className: "opacity-60 py-4", children: loading ? /* @__PURE__ */ jsx29(Skeleton, { width: "w-12", height: "h-4" }) : token ? prices && prices[token.address] ? /* @__PURE__ */ jsx29("div", { children: `$${usdPrice}` }) : /* @__PURE__ */ jsx29(Alert, { desc: "Unknown price" }) : /* @__PURE__ */ jsx29(Fragment3, { children: "$0.00" }) });
1640
+ return /* @__PURE__ */ jsx31("div", { className: "opacity-60 py-4", children: loading ? /* @__PURE__ */ jsx31(Skeleton, { width: "w-12", height: "h-4" }) : token ? prices && prices[token.address] ? /* @__PURE__ */ jsx31("div", { children: `$${usdPrice}` }) : /* @__PURE__ */ jsx31(Alert, { desc: "Unknown price" }) : /* @__PURE__ */ jsx31(Fragment3, { children: "$0.00" }) });
1568
1641
  };
1569
1642
 
1570
1643
  // src/components/TxConfigForm/Summary.tsx
1571
- import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
1644
+ import { jsx as jsx32, jsxs as jsxs12 } from "react/jsx-runtime";
1572
1645
  var Summary = ({
1573
1646
  isGettingRoute,
1574
1647
  route,
@@ -1594,38 +1667,41 @@ var Summary = ({
1594
1667
  return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col globalBorder rounded-lg bg-[rgba(15,15,15,1)] p-4 relative", children: [
1595
1668
  /* @__PURE__ */ jsxs12("div", { className: "flex justify-between", children: [
1596
1669
  /* @__PURE__ */ jsxs12("div", { className: "flex flex-col gap-1", children: [
1597
- /* @__PURE__ */ jsx30("p", { className: "text-[rgba(255,255,255,0.6)] text-sm", children: "You receive" }),
1598
- isGettingRoute ? /* @__PURE__ */ jsx30(
1670
+ /* @__PURE__ */ jsx32("p", { className: "text-[rgba(255,255,255,0.6)] text-sm", children: "You receive" }),
1671
+ isGettingRoute ? /* @__PURE__ */ jsx32(
1599
1672
  Skeleton,
1600
1673
  {
1601
1674
  width: "w-[100px]",
1602
1675
  height: "h-[36px]",
1603
1676
  other: "sm:w-[190px]"
1604
1677
  }
1605
- ) : /* @__PURE__ */ jsxs12("div", { className: "flex gap-2 items-center text-white text-xl sm:text-3xl", children: [
1606
- amountReadable,
1607
- /* @__PURE__ */ jsx30("div", { className: "w-4 sm:w-6 h-4 sm:h-6", children: /* @__PURE__ */ jsx30("img", { src: dstToken?.image, alt: dstToken?.name }) }),
1608
- /* @__PURE__ */ jsx30("p", { className: "text-base sm:text-xl", children: dstToken?.symbol })
1609
- ] })
1678
+ ) : /* @__PURE__ */ jsx32("div", { className: "flex gap-2 items-center text-white text-xl sm:text-3xl", children: amountReadable })
1610
1679
  ] }),
1611
- /* @__PURE__ */ jsxs12("div", { className: "flex flex-col gap-1 text-sm", children: [
1612
- /* @__PURE__ */ jsx30("p", { className: "text-[rgba(255,255,255,0.6)] text-right", children: "on chain:" }),
1613
- /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-1 text-white", children: [
1614
- /* @__PURE__ */ jsx30("div", { className: "w-4 h-4", children: /* @__PURE__ */ jsx30("img", { src: dstChain?.image, alt: dstChain?.name }) }),
1615
- /* @__PURE__ */ jsx30("div", { children: dstChain?.displayName })
1680
+ /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-end gap-1 text-sm", children: [
1681
+ /* @__PURE__ */ jsxs12("div", { className: "flex justify-center items-center gap-1", children: [
1682
+ /* @__PURE__ */ jsx32("div", { className: "w-4 sm:w-6 h-4 sm:h-6", children: /* @__PURE__ */ jsx32("img", { src: dstToken?.image, alt: dstToken?.name }) }),
1683
+ /* @__PURE__ */ jsx32("p", { className: "text-base sm:text-xl", children: dstToken?.symbol })
1684
+ ] }),
1685
+ /* @__PURE__ */ jsxs12("div", { className: "flex justify-center items-center gap-1", children: [
1686
+ /* @__PURE__ */ jsx32("p", { className: "text-[rgba(255,255,255,0.6)] text-right", children: "on " }),
1687
+ /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-1 text-white", children: [
1688
+ /* @__PURE__ */ jsx32("div", { className: "w-4 h-4", children: /* @__PURE__ */ jsx32("img", { src: dstChain?.image, alt: dstChain?.name }) }),
1689
+ /* @__PURE__ */ jsx32("div", { children: dstChain?.displayName })
1690
+ ] })
1616
1691
  ] })
1617
1692
  ] })
1618
1693
  ] }),
1619
- /* @__PURE__ */ jsx30(
1694
+ /* @__PURE__ */ jsx32(
1620
1695
  UsdPrice,
1621
1696
  {
1622
1697
  prices,
1623
1698
  token: dstToken,
1624
1699
  amount: amountReadable,
1625
- loading: isGettingRoute
1700
+ loading: isGettingRoute,
1701
+ type: "dst"
1626
1702
  }
1627
1703
  ),
1628
- /* @__PURE__ */ jsx30("div", { className: "absolute right-[50%] top-0 translate-x-1/2 translate-y-[-60%] globalBorder rounded-xl p-[5px] bg-[rgba(15,15,15,1)]", children: /* @__PURE__ */ jsx30("div", { className: " flex items-center justify-center rounded-lg w-8 h-8 bg-gradient-to-l from-[rgba(54,129,198,1)] to-[rgba(43,74,157,1)] ", children: /* @__PURE__ */ jsx30(ArrowDownIcon, {}) }) })
1704
+ /* @__PURE__ */ jsx32("div", { className: "absolute right-[50%] top-0 translate-x-1/2 translate-y-[-60%] globalBorder rounded-xl p-[5px] bg-[rgba(15,15,15,1)]", children: /* @__PURE__ */ jsx32("div", { className: " flex items-center justify-center rounded-lg w-8 h-8 bg-gradient-to-l from-[rgba(54,129,198,1)] to-[rgba(43,74,157,1)] ", children: /* @__PURE__ */ jsx32(ArrowDownIcon, {}) }) })
1629
1705
  ] });
1630
1706
  };
1631
1707
 
@@ -1635,7 +1711,7 @@ import { useState as useState7, useEffect as useEffect6, useRef as useRef2, useM
1635
1711
  // src/components/TxConfigForm/TokenPicker.tsx
1636
1712
  import { useState as useState6, useMemo as useMemo4 } from "react";
1637
1713
  import { createPortal } from "react-dom";
1638
- import { Fragment as Fragment4, jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
1714
+ import { Fragment as Fragment4, jsx as jsx33, jsxs as jsxs13 } from "react/jsx-runtime";
1639
1715
  var TokenPicker = ({
1640
1716
  onCloseClick,
1641
1717
  tokens,
@@ -1662,24 +1738,24 @@ var TokenPicker = ({
1662
1738
  );
1663
1739
  }, [searchValue, tokens]);
1664
1740
  return modalRoot ? createPortal(
1665
- /* @__PURE__ */ jsx31(
1741
+ /* @__PURE__ */ jsx33(
1666
1742
  "div",
1667
1743
  {
1668
1744
  onClick: onBackdropClick,
1669
1745
  className: "box-border fixed h-full w-full z-[999] top-0 left-0 bg-[rgba(0,0,0,0.8)] flex items-center justify-center p-5",
1670
1746
  children: /* @__PURE__ */ jsxs13("div", { className: "relative bg-black rounded-3xl p-6 max-h-[70%] flex flex-col text-base text-white w-[452px] h-[70%] border border-solid border-[rgba(255,255,255,0.2)]", children: [
1671
- /* @__PURE__ */ jsx31(
1747
+ /* @__PURE__ */ jsx33(
1672
1748
  "div",
1673
1749
  {
1674
1750
  onClick: onCloseClick,
1675
1751
  className: "absolute top-4 right-4 cursor-pointer",
1676
- children: /* @__PURE__ */ jsx31(CloseIcon, {})
1752
+ children: /* @__PURE__ */ jsx33(CloseIcon, {})
1677
1753
  }
1678
1754
  ),
1679
- /* @__PURE__ */ jsx31("p", { className: "text-base mb-4", children: "Pick a token" }),
1755
+ /* @__PURE__ */ jsx33("p", { className: "text-base mb-4", children: "Pick a token" }),
1680
1756
  /* @__PURE__ */ jsxs13("div", { className: "flex items-center border border-solid border-[rgba(255,255,255,0.1)] rounded-lg py-0 px-3 gap-2 bg-[rgba(15,15,15,1)]", children: [
1681
- /* @__PURE__ */ jsx31("div", { className: "w-6 h-6", children: /* @__PURE__ */ jsx31(SearchIcon, {}) }),
1682
- /* @__PURE__ */ jsx31(
1757
+ /* @__PURE__ */ jsx33("div", { className: "w-6 h-6", children: /* @__PURE__ */ jsx33(SearchIcon, {}) }),
1758
+ /* @__PURE__ */ jsx33(
1683
1759
  "input",
1684
1760
  {
1685
1761
  placeholder: "Search name or paste address",
@@ -1689,7 +1765,7 @@ var TokenPicker = ({
1689
1765
  }
1690
1766
  )
1691
1767
  ] }),
1692
- /* @__PURE__ */ jsx31("div", { className: "my-4 mx-0 flex flex-wrap gap-3", children: tokens?.filter((token) => token?.quickPick).map((token) => /* @__PURE__ */ jsxs13(
1768
+ /* @__PURE__ */ jsx33("div", { className: "my-4 mx-0 flex flex-wrap gap-3", children: tokens?.filter((token) => token?.quickPick).map((token) => /* @__PURE__ */ jsxs13(
1693
1769
  "div",
1694
1770
  {
1695
1771
  className: `flex gap-2 py-1 px-2 items-center bg-[rgb(15,15,15)] rounded-2xl border border-solid border-[rgba(255,255,255,0.1)] hover:bg-[rgb(25,25,25)] hover:cursor-pointer ${token.address === selectedToken?.address ? "bg-[rgb(35, 35, 35)]" : ""}`,
@@ -1698,14 +1774,14 @@ var TokenPicker = ({
1698
1774
  onCloseClick();
1699
1775
  },
1700
1776
  children: [
1701
- /* @__PURE__ */ jsx31("img", { src: token.image, alt: token.name, className: "w-5" }),
1702
- /* @__PURE__ */ jsx31("div", { className: "text-sm", children: token.symbol })
1777
+ /* @__PURE__ */ jsx33("img", { src: token.image, alt: token.name, className: "w-5" }),
1778
+ /* @__PURE__ */ jsx33("div", { className: "text-sm", children: token.symbol })
1703
1779
  ]
1704
1780
  },
1705
1781
  token.address
1706
1782
  )) }),
1707
- /* @__PURE__ */ jsx31("div", { className: "h-[2px] my-0 mx-[-24px] w-[100%+48px] px-12 bg-[rgba(255,255,255,0.1)]" }),
1708
- /* @__PURE__ */ jsx31("div", { className: "overflow-y-scroll h-full mx-[-24px] w-[100%+48px] flex flex-col", children: filteredTokens && filteredTokens.length > 0 ? filteredTokens.map((token, index) => /* @__PURE__ */ jsxs13(
1783
+ /* @__PURE__ */ jsx33("div", { className: "h-[2px] my-0 mx-[-24px] w-[100%+48px] px-12 bg-[rgba(255,255,255,0.1)]" }),
1784
+ /* @__PURE__ */ jsx33("div", { className: "overflow-y-scroll h-full mx-[-24px] w-[100%+48px] flex flex-col", children: filteredTokens && filteredTokens.length > 0 ? filteredTokens.map((token, index) => /* @__PURE__ */ jsxs13(
1709
1785
  "div",
1710
1786
  {
1711
1787
  className: `flex gap-3 py-2 px-[24px] w-full items-center hover:bg-[rgb(25,25,25)] hover:cursor-pointer ${token.address === selectedToken?.address ? "bg-[rgb(35,35,35)]" : ""}`,
@@ -1714,29 +1790,29 @@ var TokenPicker = ({
1714
1790
  onCloseClick();
1715
1791
  },
1716
1792
  children: [
1717
- token.image ? /* @__PURE__ */ jsx31(
1793
+ token.image ? /* @__PURE__ */ jsx33(
1718
1794
  "img",
1719
1795
  {
1720
1796
  src: token.image,
1721
1797
  alt: token.name,
1722
1798
  className: "token-picker__all__logo"
1723
1799
  }
1724
- ) : /* @__PURE__ */ jsx31("div", { className: "flex items-center justify-center w-9 h-9 text-[15px] ml-1 rounded-full bg-[#272e40] text-[#e0e7fa]", children: token?.symbol.substring(0, 1) }),
1800
+ ) : /* @__PURE__ */ jsx33("div", { className: "flex items-center justify-center w-9 h-9 text-[15px] ml-1 rounded-full bg-[#272e40] text-[#e0e7fa]", children: token?.symbol.substring(0, 1) }),
1725
1801
  /* @__PURE__ */ jsxs13("div", { className: "flex justify-between items-center gap-1 overflow-hidden grow", children: [
1726
1802
  /* @__PURE__ */ jsxs13("div", { className: "flex flex-col leading-[16px]", children: [
1727
- /* @__PURE__ */ jsx31("div", { className: "overflow-hidden whitespace-nowrap text-ellipsis text-[15px]", children: token.name }),
1728
- /* @__PURE__ */ jsx31("div", { className: "text-[#888] text-[11px]", children: token.symbol })
1803
+ /* @__PURE__ */ jsx33("div", { className: "overflow-hidden whitespace-nowrap text-ellipsis text-[15px]", children: token.name }),
1804
+ /* @__PURE__ */ jsx33("div", { className: "text-[#888] text-[11px]", children: token.symbol })
1729
1805
  ] }),
1730
- signer && /* @__PURE__ */ jsx31(Fragment4, { children: balances && balances[token.address] && token.decimals ? /* @__PURE__ */ jsx31("div", { className: "text-xs", children: weiToHumanReadable({
1806
+ signer && /* @__PURE__ */ jsx33(Fragment4, { children: balances && balances[token.address] && token.decimals ? /* @__PURE__ */ jsx33("div", { className: "text-xs", children: weiToHumanReadable({
1731
1807
  amount: balances[token.address]?.toString() || "0",
1732
1808
  decimals: token.decimals,
1733
1809
  precisionFractionalPlaces: 4
1734
- }) }) : /* @__PURE__ */ jsx31(Skeleton, { width: "w-12", height: "h-3" }) })
1810
+ }) }) : /* @__PURE__ */ jsx33(Skeleton, { width: "w-12", height: "h-3" }) })
1735
1811
  ] })
1736
1812
  ]
1737
1813
  },
1738
1814
  `${index}_${token.address}`
1739
- )) : /* @__PURE__ */ jsx31("div", { className: "mt-4 flex justify-center", children: /* @__PURE__ */ jsx31("p", { className: "text-sm text-white", children: "No tokens found." }) }) })
1815
+ )) : /* @__PURE__ */ jsx33("div", { className: "mt-4 flex justify-center", children: /* @__PURE__ */ jsx33("p", { className: "text-sm text-white", children: "No tokens found." }) }) })
1740
1816
  ] })
1741
1817
  }
1742
1818
  ),
@@ -1745,7 +1821,7 @@ var TokenPicker = ({
1745
1821
  };
1746
1822
 
1747
1823
  // src/components/TxConfigForm/ChainListElement.tsx
1748
- import { jsx as jsx32, jsxs as jsxs14 } from "react/jsx-runtime";
1824
+ import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
1749
1825
  var ChainListElement = ({
1750
1826
  chain,
1751
1827
  setSrcChain,
@@ -1763,19 +1839,19 @@ var ChainListElement = ({
1763
1839
  setChainListShown(false);
1764
1840
  },
1765
1841
  children: [
1766
- /* @__PURE__ */ jsx32("img", { width: 12, height: 12, src: chain.image, alt: chain.displayName }),
1842
+ /* @__PURE__ */ jsx34("img", { width: 12, height: 12, src: chain.image, alt: chain.displayName }),
1767
1843
  chain.displayName
1768
1844
  ]
1769
1845
  }
1770
1846
  ),
1771
- index !== length - 1 && /* @__PURE__ */ jsx32("div", { className: "h-px mx-2 bg-[rgba(255,255,255,0.15)]" })
1847
+ index !== length - 1 && /* @__PURE__ */ jsx34("div", { className: "h-px mx-2 bg-[rgba(255,255,255,0.15)]" })
1772
1848
  ] }, `${chain.ecosystem}-${chain.chainId}`);
1773
1849
  };
1774
1850
 
1775
1851
  // src/components/TxConfigForm/BalanceComponent.tsx
1776
1852
  import { useMemo as useMemo5 } from "react";
1777
1853
  import BigNumber3 from "bignumber.js";
1778
- import { Fragment as Fragment5, jsx as jsx33, jsxs as jsxs15 } from "react/jsx-runtime";
1854
+ import { Fragment as Fragment5, jsx as jsx35, jsxs as jsxs15 } from "react/jsx-runtime";
1779
1855
  var BalanceComponent = ({ srcToken, balances }) => {
1780
1856
  const balanceText = useMemo5(() => {
1781
1857
  if (!balances || !srcToken) return "0";
@@ -1803,12 +1879,12 @@ var BalanceComponent = ({ srcToken, balances }) => {
1803
1879
  decimals: srcToken.decimals,
1804
1880
  precisionFractionalPlaces: 4
1805
1881
  }) : 0,
1806
- /* @__PURE__ */ jsx33("span", { className: "bg-gradient-to-r from-x_blue_light to-x_blue_dark bg-clip-text text-transparent", children: "Max" })
1882
+ /* @__PURE__ */ jsx35("span", { className: "bg-gradient-to-r from-x_blue_light to-x_blue_dark bg-clip-text text-transparent", children: "Max" })
1807
1883
  ] });
1808
1884
  };
1809
1885
 
1810
1886
  // src/components/TxConfigForm/SwapPanel.tsx
1811
- import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
1887
+ import { jsx as jsx36, jsxs as jsxs16 } from "react/jsx-runtime";
1812
1888
  var SwapPanel = ({
1813
1889
  amount,
1814
1890
  setAmount,
@@ -1819,7 +1895,8 @@ var SwapPanel = ({
1819
1895
  signer,
1820
1896
  balances,
1821
1897
  prices,
1822
- supportedChains
1898
+ supportedChains,
1899
+ setExceedsExpressDeliveryLimit
1823
1900
  }) => {
1824
1901
  const [chainListShown, setChainListShown] = useState7(false);
1825
1902
  const [tokenListShown, setTokenListShown] = useState7(false);
@@ -1856,8 +1933,8 @@ var SwapPanel = ({
1856
1933
  return /* @__PURE__ */ jsxs16("div", { className: "flex justify-between globalBorder rounded-lg bg-[rgba(15,15,15,1)] p-4", children: [
1857
1934
  /* @__PURE__ */ jsxs16("div", { className: "flex flex-col justify-between gap-2 overflow-hidden w-1/2", children: [
1858
1935
  /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-1", children: [
1859
- /* @__PURE__ */ jsx34("p", { className: "text-white opacity-60 text-xs sm:text-sm font-medium", children: "You pay" }),
1860
- /* @__PURE__ */ jsx34(
1936
+ /* @__PURE__ */ jsx36("p", { className: "text-white opacity-60 text-xs sm:text-sm font-medium", children: "You pay" }),
1937
+ /* @__PURE__ */ jsx36(
1861
1938
  "input",
1862
1939
  {
1863
1940
  className: "p-0 border-none outline-none bg-transparent text-2xl overflow-ellipsis",
@@ -1876,13 +1953,15 @@ var SwapPanel = ({
1876
1953
  }
1877
1954
  )
1878
1955
  ] }),
1879
- /* @__PURE__ */ jsx34("div", { className: "flex items-center text-sm text-[rgba(255,255,255,0.6)]", children: /* @__PURE__ */ jsx34(
1956
+ /* @__PURE__ */ jsx36("div", { className: "flex items-center text-sm text-[rgba(255,255,255,0.6)]", children: /* @__PURE__ */ jsx36(
1880
1957
  UsdPrice,
1881
1958
  {
1882
1959
  prices,
1883
1960
  token: srcToken,
1884
1961
  amount,
1885
- loading: false
1962
+ loading: false,
1963
+ type: "src",
1964
+ setExceedsExpressDeliveryLimit
1886
1965
  }
1887
1966
  ) })
1888
1967
  ] }),
@@ -1895,7 +1974,7 @@ var SwapPanel = ({
1895
1974
  setTokenListShown((state) => !state);
1896
1975
  },
1897
1976
  children: [
1898
- /* @__PURE__ */ jsx34(
1977
+ /* @__PURE__ */ jsx36(
1899
1978
  "img",
1900
1979
  {
1901
1980
  height: 16,
@@ -1904,12 +1983,12 @@ var SwapPanel = ({
1904
1983
  alt: srcToken?.name
1905
1984
  }
1906
1985
  ),
1907
- /* @__PURE__ */ jsx34("div", { children: srcToken?.symbol }),
1908
- /* @__PURE__ */ jsx34(DownArrowIcon, {})
1986
+ /* @__PURE__ */ jsx36("div", { children: srcToken?.symbol }),
1987
+ /* @__PURE__ */ jsx36(DownArrowIcon, {})
1909
1988
  ]
1910
1989
  }
1911
1990
  ),
1912
- tokenListShown && /* @__PURE__ */ jsx34(
1991
+ tokenListShown && /* @__PURE__ */ jsx36(
1913
1992
  TokenPicker,
1914
1993
  {
1915
1994
  onCloseClick: () => setTokenListShown(false),
@@ -1920,12 +1999,12 @@ var SwapPanel = ({
1920
1999
  balances
1921
2000
  }
1922
2001
  ),
1923
- /* @__PURE__ */ jsx34(
2002
+ /* @__PURE__ */ jsx36(
1924
2003
  "div",
1925
2004
  {
1926
2005
  onClick: handleMaxClick,
1927
2006
  className: "flex gap-1 items-center font-medium text-white opacity-60 py-0.5 cursor-pointer",
1928
- children: signer && /* @__PURE__ */ jsx34(BalanceComponent, { balances, srcToken })
2007
+ children: signer && /* @__PURE__ */ jsx36(BalanceComponent, { balances, srcToken })
1929
2008
  }
1930
2009
  ),
1931
2010
  /* @__PURE__ */ jsxs16(
@@ -1935,7 +2014,7 @@ var SwapPanel = ({
1935
2014
  className: "bg-black globalBorder rounded-2xl whitespace-nowrap flex items-center p-2 cursor-pointer gap-2",
1936
2015
  onClick: () => setChainListShown((prev) => !prev),
1937
2016
  children: [
1938
- /* @__PURE__ */ jsx34(
2017
+ /* @__PURE__ */ jsx36(
1939
2018
  "img",
1940
2019
  {
1941
2020
  width: "16",
@@ -1944,17 +2023,17 @@ var SwapPanel = ({
1944
2023
  alt: srcChain?.name
1945
2024
  }
1946
2025
  ),
1947
- /* @__PURE__ */ jsx34("div", { children: srcChain?.displayName }),
1948
- /* @__PURE__ */ jsx34(DownArrowIcon, {})
2026
+ /* @__PURE__ */ jsx36("div", { children: srcChain?.displayName }),
2027
+ /* @__PURE__ */ jsx36(DownArrowIcon, {})
1949
2028
  ]
1950
2029
  }
1951
2030
  ),
1952
- chainListShown && /* @__PURE__ */ jsx34(
2031
+ chainListShown && /* @__PURE__ */ jsx36(
1953
2032
  "ul",
1954
2033
  {
1955
2034
  ref: listRef,
1956
2035
  className: "bg-black globalBorder rounded-lg whitespace-nowrap z-1 right-0 top-10 px-2 max-w-full max-h-[40vh] overflow-auto absolute text-sm z-20",
1957
- children: chainListOptions.map((chain, index) => /* @__PURE__ */ jsx34(
2036
+ children: chainListOptions.map((chain, index) => /* @__PURE__ */ jsx36(
1958
2037
  ChainListElement,
1959
2038
  {
1960
2039
  index,
@@ -1971,9 +2050,9 @@ var SwapPanel = ({
1971
2050
  };
1972
2051
 
1973
2052
  // src/components/TxConfigForm/ErrorField.tsx
1974
- import { jsx as jsx35 } from "react/jsx-runtime";
2053
+ import { jsx as jsx37 } from "react/jsx-runtime";
1975
2054
  var ErrorField = ({ error }) => {
1976
- return /* @__PURE__ */ jsx35(
2055
+ return /* @__PURE__ */ jsx37(
1977
2056
  "div",
1978
2057
  {
1979
2058
  className: `flex justify-center mb-1 items-center w-full rounded-2xl bg-x_error_background border border-solid ${error.length > 0 ? "border-x_error_border" : "border-transparent"}`,
@@ -1983,15 +2062,15 @@ var ErrorField = ({ error }) => {
1983
2062
  };
1984
2063
 
1985
2064
  // src/components/TxConfigForm/Description.tsx
1986
- import { jsx as jsx36 } from "react/jsx-runtime";
2065
+ import { jsx as jsx38 } from "react/jsx-runtime";
1987
2066
  var Description = ({ description }) => {
1988
- return /* @__PURE__ */ jsx36("div", { className: "flex flex-col items-start rounded-lg px-4 py-2", children: /* @__PURE__ */ jsx36("div", { className: "w-full flex gap-4 items-start justify-between text-xl", children: description }) });
2067
+ return /* @__PURE__ */ jsx38("div", { className: "flex flex-col items-start rounded-lg px-4 py-2", children: /* @__PURE__ */ jsx38("div", { className: "w-full flex gap-4 items-start justify-between text-xl", children: description }) });
1989
2068
  };
1990
2069
 
1991
2070
  // src/components/TxConfigForm/Button.tsx
1992
- import { jsx as jsx37 } from "react/jsx-runtime";
2071
+ import { jsx as jsx39 } from "react/jsx-runtime";
1993
2072
  var Button = ({ children, onClick, type, disabled }) => {
1994
- return /* @__PURE__ */ jsx37(
2073
+ return /* @__PURE__ */ jsx39(
1995
2074
  "button",
1996
2075
  {
1997
2076
  className: "text-white border-none rounded-2xl text-xl py-4 cursor-pointer w-full bg-gradient-to-r from-[#3681c6] to-[#2b4a9d] disabled:opacity-25",
@@ -2004,14 +2083,15 @@ var Button = ({ children, onClick, type, disabled }) => {
2004
2083
  };
2005
2084
 
2006
2085
  // src/components/TxConfigForm/Form.tsx
2007
- import { jsx as jsx38, jsxs as jsxs17 } from "react/jsx-runtime";
2086
+ import { jsx as jsx40, jsxs as jsxs17 } from "react/jsx-runtime";
2008
2087
  var Form = ({
2009
2088
  dstChainId,
2010
2089
  dstTokenAddr,
2011
2090
  customContractCalls,
2012
2091
  desc,
2013
2092
  supportedChains,
2014
- onSubmit
2093
+ onSubmit,
2094
+ onClose
2015
2095
  }) => {
2016
2096
  const [signer, setSigner] = useState8();
2017
2097
  const [dstChain, setDstChain] = useState8();
@@ -2030,6 +2110,7 @@ var Form = ({
2030
2110
  const [formError, setFormError] = useState8("");
2031
2111
  const [slippage, setSlippage] = useState8("1.5");
2032
2112
  const [feesDetailsShown, setFeesDetailsShown] = useState8(false);
2113
+ const [exceedsExpressDeliveryLimit, setExceedsExpressDeliveryLimit] = useState8(false);
2033
2114
  const debouncedAmount = useDebounce(amount, 1e3);
2034
2115
  const account = useAccount();
2035
2116
  const { switchChainAsync } = useSwitchChain();
@@ -2078,7 +2159,7 @@ var Form = ({
2078
2159
  toToken: dstTokenAddr,
2079
2160
  paymentToken: paymentToken.address,
2080
2161
  slippage: Number(slippage),
2081
- expressDelivery: expressChecked,
2162
+ expressDelivery: expressChecked && !exceedsExpressDeliveryLimit,
2082
2163
  customContractCalls
2083
2164
  }).then((response) => {
2084
2165
  setRoute(response);
@@ -2137,19 +2218,20 @@ var Form = ({
2137
2218
  return /* @__PURE__ */ jsxs17(
2138
2219
  "form",
2139
2220
  {
2140
- className: "flex flex-col gap-2 z-10 my-0 mx-auto p-4 rounded-3xl overflow-hidden font-light w-x_mobile sm:w-x_desktop",
2221
+ className: "flex flex-col gap-2 z-10 my-0 p-2 md:p-4 rounded-3xl overflow-hidden font-light sm:w-x_desktop",
2141
2222
  onSubmit: handleSubmit,
2142
2223
  children: [
2143
- /* @__PURE__ */ jsx38(
2224
+ /* @__PURE__ */ jsx40(
2144
2225
  TopBar,
2145
2226
  {
2146
2227
  signer,
2147
2228
  historyTabShown,
2148
2229
  setHistoryTabShown,
2149
- setSettingsShown
2230
+ setSettingsShown,
2231
+ onClose
2150
2232
  }
2151
2233
  ),
2152
- settingsShown && /* @__PURE__ */ jsx38(
2234
+ settingsShown && /* @__PURE__ */ jsx40(
2153
2235
  Settings,
2154
2236
  {
2155
2237
  expressChecked,
@@ -2159,9 +2241,9 @@ var Form = ({
2159
2241
  setSlippage
2160
2242
  }
2161
2243
  ),
2162
- historyTabShown ? /* @__PURE__ */ jsx38(History, { signer, supportedChains }) : /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-2", children: [
2163
- desc && /* @__PURE__ */ jsx38(Description, { description: desc }),
2164
- /* @__PURE__ */ jsx38(
2244
+ historyTabShown ? /* @__PURE__ */ jsx40(History, { signer, supportedChains }) : /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-2", children: [
2245
+ desc && /* @__PURE__ */ jsx40(Description, { description: desc }),
2246
+ /* @__PURE__ */ jsx40(
2165
2247
  SwapPanel,
2166
2248
  {
2167
2249
  amount,
@@ -2173,10 +2255,11 @@ var Form = ({
2173
2255
  balances,
2174
2256
  prices,
2175
2257
  supportedChains,
2176
- setSrcChain
2258
+ setSrcChain,
2259
+ setExceedsExpressDeliveryLimit
2177
2260
  }
2178
2261
  ),
2179
- /* @__PURE__ */ jsx38(
2262
+ /* @__PURE__ */ jsx40(
2180
2263
  Summary,
2181
2264
  {
2182
2265
  isGettingRoute,
@@ -2185,7 +2268,7 @@ var Form = ({
2185
2268
  dstChain
2186
2269
  }
2187
2270
  ),
2188
- /* @__PURE__ */ jsx38(
2271
+ /* @__PURE__ */ jsx40(
2189
2272
  FeesDetails,
2190
2273
  {
2191
2274
  route,
@@ -2193,13 +2276,14 @@ var Form = ({
2193
2276
  paymentToken,
2194
2277
  dstToken,
2195
2278
  expressChecked,
2279
+ exceedsExpressDeliveryLimit,
2196
2280
  slippage,
2197
2281
  feesDetailsShown,
2198
2282
  setFeesDetailsShown
2199
2283
  }
2200
2284
  ),
2201
- formError.length > 0 && /* @__PURE__ */ jsx38(ErrorField, { error: formError }),
2202
- signer && srcChain && srcChain.chainId !== account.chainId?.toString() ? /* @__PURE__ */ jsx38(Button, { type: "button", onClick: handleSwitchChain, children: "Switch chain" }) : /* @__PURE__ */ jsx38(
2285
+ formError.length > 0 && /* @__PURE__ */ jsx40(ErrorField, { error: formError }),
2286
+ signer && srcChain && srcChain.chainId !== account.chainId?.toString() ? /* @__PURE__ */ jsx40(Button, { type: "button", onClick: handleSwitchChain, children: "Switch chain" }) : /* @__PURE__ */ jsx40(
2203
2287
  Button,
2204
2288
  {
2205
2289
  type: "submit",
@@ -2214,7 +2298,7 @@ var Form = ({
2214
2298
  };
2215
2299
 
2216
2300
  // src/components/TxConfigForm/index.tsx
2217
- import { jsx as jsx39, jsxs as jsxs18 } from "react/jsx-runtime";
2301
+ import { jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
2218
2302
  var TxConfigForm = ({
2219
2303
  dstChainId,
2220
2304
  dstTokenAddr,
@@ -2236,13 +2320,13 @@ var TxConfigForm = ({
2236
2320
  () => getWagmiConfig(supportedChains),
2237
2321
  supportedChains
2238
2322
  );
2239
- return /* @__PURE__ */ jsx39(WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ jsx39(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx39(
2323
+ return /* @__PURE__ */ jsx41(WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ jsx41(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx41(
2240
2324
  "div",
2241
2325
  {
2242
2326
  className: "top-0 left-0 right-0 bottom-0 bg-[rgba(0,0,0,0.8)] fixed flex items-center justify-center z-10",
2243
2327
  onClick: onBackdropClick,
2244
- children: /* @__PURE__ */ jsxs18("div", { className: "relative bg-black rounded-3xl w-lg overflow-auto text-white border-2 border-solid border-[rgba(255,255,255,0.1)]", children: [
2245
- /* @__PURE__ */ jsx39(
2328
+ children: /* @__PURE__ */ jsxs18("div", { className: "relative bg-black rounded-3xl overflow-auto text-white border-2 border-solid border-[rgba(255,255,255,0.1)]", children: [
2329
+ /* @__PURE__ */ jsx41(
2246
2330
  Form,
2247
2331
  {
2248
2332
  dstChainId,
@@ -2250,18 +2334,11 @@ var TxConfigForm = ({
2250
2334
  customContractCalls,
2251
2335
  desc,
2252
2336
  supportedChains,
2253
- onSubmit
2337
+ onSubmit,
2338
+ onClose
2254
2339
  }
2255
2340
  ),
2256
- /* @__PURE__ */ jsx39(
2257
- "div",
2258
- {
2259
- className: "absolute top-7 right-4 cursor-pointer text-white",
2260
- onClick: onClose,
2261
- children: /* @__PURE__ */ jsx39(CloseIcon, {})
2262
- }
2263
- ),
2264
- /* @__PURE__ */ jsx39(PoweredBy, {})
2341
+ /* @__PURE__ */ jsx41(PoweredBy, {})
2265
2342
  ] })
2266
2343
  }
2267
2344
  ) }) });
@@ -2274,9 +2351,10 @@ var openTxConfigForm = async ({
2274
2351
  supportedChains
2275
2352
  }) => {
2276
2353
  try {
2277
- return await new Promise((resolve) => {
2354
+ return await new Promise(async (resolve) => {
2355
+ await waitForInitialization();
2278
2356
  xswapRoot.render(
2279
- /* @__PURE__ */ jsx39(
2357
+ /* @__PURE__ */ jsx41(
2280
2358
  TxConfigForm,
2281
2359
  {
2282
2360
  dstChainId,
@@ -2302,7 +2380,7 @@ var openTxConfigForm = async ({
2302
2380
 
2303
2381
  // src/components/TxStatusButton/index.tsx
2304
2382
  import { useMemo as useMemo8, useState as useState9 } from "react";
2305
- import { Fragment as Fragment6, jsx as jsx40, jsxs as jsxs19 } from "react/jsx-runtime";
2383
+ import { Fragment as Fragment6, jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
2306
2384
  var TxStatusButton = ({ transaction }) => {
2307
2385
  const {
2308
2386
  fromChain,
@@ -2333,7 +2411,7 @@ var TxStatusButton = ({ transaction }) => {
2333
2411
  children: [
2334
2412
  /* @__PURE__ */ jsxs19("div", { className: "flex justify-between flex-col gap-2 sm:gap-5 sm:flex-row w-full", children: [
2335
2413
  /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-2", children: [
2336
- /* @__PURE__ */ jsx40(
2414
+ /* @__PURE__ */ jsx42(
2337
2415
  "img",
2338
2416
  {
2339
2417
  className: "w-5 h-5",
@@ -2341,16 +2419,16 @@ var TxStatusButton = ({ transaction }) => {
2341
2419
  alt: "source chain"
2342
2420
  }
2343
2421
  ),
2344
- /* @__PURE__ */ jsx40("div", { children: fromChain }),
2345
- /* @__PURE__ */ jsx40("div", { className: "w-3.5 h-3.5", children: /* @__PURE__ */ jsx40(ArrowRightIcon, {}) }),
2346
- /* @__PURE__ */ jsx40("img", { className: "w-5 h-5", src: toChainImage, alt: "to chain" }),
2347
- /* @__PURE__ */ jsx40("div", { children: toChain })
2422
+ /* @__PURE__ */ jsx42("div", { children: fromChain }),
2423
+ /* @__PURE__ */ jsx42("div", { className: "w-3.5 h-3.5", children: /* @__PURE__ */ jsx42(ArrowRightIcon, {}) }),
2424
+ /* @__PURE__ */ jsx42("img", { className: "w-5 h-5", src: toChainImage, alt: "to chain" }),
2425
+ /* @__PURE__ */ jsx42("div", { children: toChain })
2348
2426
  ] }),
2349
2427
  /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-2", children: [
2350
- /* @__PURE__ */ jsx40("div", { children: "Sent" }),
2351
- /* @__PURE__ */ jsx40("div", { children: fromAmount }),
2352
- /* @__PURE__ */ jsx40("div", { children: fromToken }),
2353
- /* @__PURE__ */ jsx40(
2428
+ /* @__PURE__ */ jsx42("div", { children: "Sent" }),
2429
+ /* @__PURE__ */ jsx42("div", { children: fromAmount }),
2430
+ /* @__PURE__ */ jsx42("div", { children: fromToken }),
2431
+ /* @__PURE__ */ jsx42(
2354
2432
  "img",
2355
2433
  {
2356
2434
  className: "w-5 h-5",
@@ -2360,7 +2438,7 @@ var TxStatusButton = ({ transaction }) => {
2360
2438
  )
2361
2439
  ] })
2362
2440
  ] }),
2363
- /* @__PURE__ */ jsx40(
2441
+ /* @__PURE__ */ jsx42(
2364
2442
  "a",
2365
2443
  {
2366
2444
  href: explorer,
@@ -2368,21 +2446,21 @@ var TxStatusButton = ({ transaction }) => {
2368
2446
  rel: "noreferrer",
2369
2447
  className: "no-underline cursor-pointer",
2370
2448
  "aria-label": "Show the transaction in the chain explorer",
2371
- children: /* @__PURE__ */ jsx40("div", { className: "w-3.5 h-3.5", children: /* @__PURE__ */ jsx40(ArrowUpRightIcon, {}) })
2449
+ children: /* @__PURE__ */ jsx42("div", { className: "w-3.5 h-3.5", children: /* @__PURE__ */ jsx42(ArrowUpRightIcon, {}) })
2372
2450
  }
2373
2451
  )
2374
2452
  ]
2375
2453
  }
2376
2454
  ),
2377
- /* @__PURE__ */ jsx40(
2455
+ /* @__PURE__ */ jsx42(
2378
2456
  "div",
2379
2457
  {
2380
2458
  className: `text-white rounded-xl cursor-pointer ${background} ${border}`,
2381
2459
  children: /* @__PURE__ */ jsxs19("div", { className: "flex gap-2 items-center h-14 w-20 justify-center", children: [
2382
- /* @__PURE__ */ jsx40(ArrowLeftIcon, {}),
2383
- /* @__PURE__ */ jsx40("div", { className: "relative flex items-center justify-center w-9 h-9", children: isDone ? /* @__PURE__ */ jsx40("div", { className: "text-x_green w-5 h-5", children: /* @__PURE__ */ jsx40(CheckIcon, {}) }) : /* @__PURE__ */ jsxs19(Fragment6, { children: [
2384
- /* @__PURE__ */ jsx40("div", { className: "w-5 h-5", children: /* @__PURE__ */ jsx40(XSwapLogo, {}) }),
2385
- /* @__PURE__ */ jsx40("div", { className: "absolute flex items-center justify-center top-0 left-0 right-0 bottom-0 text-white", children: /* @__PURE__ */ jsx40(CircularProgressIcon, {}) })
2460
+ /* @__PURE__ */ jsx42(ArrowLeftIcon, {}),
2461
+ /* @__PURE__ */ jsx42("div", { className: "relative flex items-center justify-center w-9 h-9", children: isDone ? /* @__PURE__ */ jsx42("div", { className: "text-x_green w-5 h-5", children: /* @__PURE__ */ jsx42(CheckIcon, {}) }) : /* @__PURE__ */ jsxs19(Fragment6, { children: [
2462
+ /* @__PURE__ */ jsx42("div", { className: "w-5 h-5", children: /* @__PURE__ */ jsx42(XSwapLogo, {}) }),
2463
+ /* @__PURE__ */ jsx42("div", { className: "absolute flex items-center justify-center top-0 left-0 right-0 bottom-0 text-white", children: /* @__PURE__ */ jsx42(CircularProgressIcon, {}) })
2386
2464
  ] }) })
2387
2465
  ] })
2388
2466
  }
@@ -2409,14 +2487,14 @@ var updateTransactionDoneInRenderedTransactions = (txHash) => {
2409
2487
  }
2410
2488
  };
2411
2489
  var renderTxStatusButtons = () => {
2412
- const buttons = renderedTransactions.map((item) => /* @__PURE__ */ jsx40(TxStatusButton, { transaction: item }, item.txHash));
2490
+ const buttons = renderedTransactions.map((item) => /* @__PURE__ */ jsx42(TxStatusButton, { transaction: item }, item.txHash));
2413
2491
  txStatusRoot.render(buttons);
2414
2492
  };
2415
2493
 
2416
2494
  // src/components/Skeleton/index.tsx
2417
- import { jsx as jsx41 } from "react/jsx-runtime";
2495
+ import { jsx as jsx43 } from "react/jsx-runtime";
2418
2496
  var Skeleton = ({ width, height }) => {
2419
- return /* @__PURE__ */ jsx41("div", { className: `bg-current rounded animate-pulse ${width} ${height}` });
2497
+ return /* @__PURE__ */ jsx43("div", { className: `bg-current rounded animate-pulse ${width} ${height}` });
2420
2498
  };
2421
2499
 
2422
2500
  // src/services/integrations/monitoring.ts