@matchain/matchid-sdk-react 0.1.56-alpha.2 → 0.1.56-alpha.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.
Files changed (40) hide show
  1. package/dist/api.js +57 -48
  2. package/dist/api.js.map +1 -1
  3. package/dist/api.mjs +3 -3
  4. package/dist/{chunk-NIGHV7RT.mjs → chunk-2HVTQUPR.mjs} +358 -343
  5. package/dist/chunk-2HVTQUPR.mjs.map +1 -0
  6. package/dist/{chunk-SPVA3A6Z.mjs → chunk-NGNJ44SH.mjs} +2 -2
  7. package/dist/{chunk-FKXS2XRG.mjs → chunk-OSY7MTZY.mjs} +34 -1
  8. package/dist/chunk-OSY7MTZY.mjs.map +1 -0
  9. package/dist/components.js +369 -360
  10. package/dist/components.js.map +1 -1
  11. package/dist/components.mjs +2 -2
  12. package/dist/hooks.js +187 -178
  13. package/dist/hooks.js.map +1 -1
  14. package/dist/hooks.mjs +2 -2
  15. package/dist/icon.d.mts +1 -1
  16. package/dist/icon.d.ts +1 -1
  17. package/dist/icon.js +33 -0
  18. package/dist/icon.js.map +1 -1
  19. package/dist/icon.mjs +5 -1
  20. package/dist/{index-C82WIWvx.d.ts → index-AtpUyTIk.d.ts} +9 -2
  21. package/dist/{index-D7E317WV.d.mts → index-CRLiCVf9.d.mts} +9 -2
  22. package/dist/{index-DK7l3lsH.d.ts → index-nwqg5fYH.d.ts} +8 -2
  23. package/dist/{index-YPRyEYt6.d.mts → index-zmJl2a0q.d.mts} +8 -2
  24. package/dist/index.d.mts +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +456 -413
  27. package/dist/index.js.map +1 -1
  28. package/dist/index.mjs +3 -3
  29. package/dist/ui.d.mts +1 -1
  30. package/dist/ui.d.ts +1 -1
  31. package/dist/ui.js +145 -105
  32. package/dist/ui.js.map +1 -1
  33. package/dist/ui.mjs +4 -2
  34. package/example/src/pages/UI/components/Checkbox.tsx +10 -0
  35. package/example/src/pages/UI/components/Modal.tsx +38 -0
  36. package/example/src/pages/UI/index.tsx +4 -0
  37. package/package.json +1 -1
  38. package/dist/chunk-FKXS2XRG.mjs.map +0 -1
  39. package/dist/chunk-NIGHV7RT.mjs.map +0 -1
  40. /package/dist/{chunk-SPVA3A6Z.mjs.map → chunk-NGNJ44SH.mjs.map} +0 -0
package/dist/hooks.js CHANGED
@@ -628,6 +628,12 @@ var import_jsx_runtime49 = require("react/jsx-runtime");
628
628
  // src/assets/icon/MoreIcon.tsx
629
629
  var import_jsx_runtime50 = require("react/jsx-runtime");
630
630
 
631
+ // src/assets/icon/CheckboxIcon.tsx
632
+ var import_jsx_runtime51 = require("react/jsx-runtime");
633
+
634
+ // src/assets/icon/CheckboxCheckedIcon.tsx
635
+ var import_jsx_runtime52 = require("react/jsx-runtime");
636
+
631
637
  // src/hooks/useLayout.tsx
632
638
  var useLayout_exports = {};
633
639
  __export(useLayout_exports, {
@@ -649,7 +655,7 @@ function useDownMd() {
649
655
  }
650
656
 
651
657
  // src/hooks/useConfig.tsx
652
- var import_jsx_runtime51 = require("react/jsx-runtime");
658
+ var import_jsx_runtime53 = require("react/jsx-runtime");
653
659
  var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
654
660
 
655
661
  // src/store/useModalStore.ts
@@ -699,7 +705,7 @@ var import_react3 = require("react");
699
705
 
700
706
  // src/ui/Overlay/index.tsx
701
707
  var import_react2 = require("react");
702
- var import_jsx_runtime52 = require("react/jsx-runtime");
708
+ var import_jsx_runtime54 = require("react/jsx-runtime");
703
709
  function Overlay({
704
710
  isOpen = false,
705
711
  children,
@@ -715,7 +721,7 @@ function Overlay({
715
721
  document.body.style.overflow = "";
716
722
  };
717
723
  }, [isOpen]);
718
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
724
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
719
725
  "div",
720
726
  {
721
727
  className: "matchid-overlay",
@@ -724,12 +730,12 @@ function Overlay({
724
730
  },
725
731
  children
726
732
  }
727
- ) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, {});
733
+ ) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {});
728
734
  }
729
735
 
730
736
  // src/ui/Modal/index.tsx
731
737
  var import_react_intl = require("react-intl");
732
- var import_jsx_runtime53 = require("react/jsx-runtime");
738
+ var import_jsx_runtime55 = require("react/jsx-runtime");
733
739
  function Modal({
734
740
  children,
735
741
  isOpen,
@@ -737,10 +743,10 @@ function Modal({
737
743
  zIndex = 100,
738
744
  className = ""
739
745
  }) {
740
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: `matchid-modal ${className}`, style: {
746
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-modal ${className}`, style: {
741
747
  width
742
748
  }, children: [
743
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "matchid-modal-mobile-header" }),
749
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-modal-mobile-header" }),
744
750
  children
745
751
  ] }) });
746
752
  }
@@ -754,13 +760,13 @@ function ModalWithHeader({
754
760
  ...props
755
761
  }) {
756
762
  const isDownMd = useDownMd();
757
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Modal, { ...props, children: [
758
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
759
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "matchid-modal-header-content", children: [
760
- onBack && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
761
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "matchid-modal-header-title", children: title })
763
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Modal, { ...props, children: [
764
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
765
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-modal-header-content", children: [
766
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
767
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "matchid-modal-header-title", children: title })
762
768
  ] }),
763
- onClose && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
769
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
764
770
  ] }),
765
771
  children
766
772
  ] });
@@ -771,7 +777,7 @@ var import_react5 = require("react");
771
777
 
772
778
  // src/utils/index.tsx
773
779
  var import_moment = __toESM(require("moment"));
774
- var import_jsx_runtime54 = require("react/jsx-runtime");
780
+ var import_jsx_runtime56 = require("react/jsx-runtime");
775
781
  var getVersion = () => {
776
782
  return "0.0.2";
777
783
  };
@@ -803,10 +809,10 @@ var NumberFormatter = ({
803
809
  const [intPart, decimalPart] = numberValue.toString().split(".");
804
810
  const intFormat = separator ? intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",") : intPart;
805
811
  if (Math.abs(parseFloat(numberValue)) >= 1) {
806
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className, children: [
807
- prefix && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: prefixClassName, children: prefix }),
808
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: intClassName, children: intFormat }),
809
- decimalPart ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className: decimalClassName, children: [
812
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className, children: [
813
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: prefixClassName, children: prefix }),
814
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: intClassName, children: intFormat }),
815
+ decimalPart ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className: decimalClassName, children: [
810
816
  ".",
811
817
  decimalPart.substring(0, fixNum)
812
818
  ] }) : "",
@@ -823,30 +829,30 @@ var NumberFormatter = ({
823
829
  }
824
830
  }
825
831
  if (zeroCount < tFixNum) {
826
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className, children: [
827
- prefix && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: prefixClassName, children: prefix }),
828
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: intClassName, children: intFormat }),
829
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className: decimalClassName, children: [
832
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className, children: [
833
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: prefixClassName, children: prefix }),
834
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: intClassName, children: intFormat }),
835
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className: decimalClassName, children: [
830
836
  ".",
831
837
  decimalPart.substring(0, tFixNum)
832
838
  ] }),
833
839
  suffix
834
840
  ] });
835
841
  }
836
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className, children: [
837
- prefix && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: prefixClassName, children: prefix }),
838
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: intClassName, children: intFormat }),
839
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className: decimalClassName, children: [
842
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className, children: [
843
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: prefixClassName, children: prefix }),
844
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: intClassName, children: intFormat }),
845
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className: decimalClassName, children: [
840
846
  ".0",
841
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("sub", { children: zeroCount }),
847
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("sub", { children: zeroCount }),
842
848
  decimalPart?.substring(zeroCount, zeroCount + tFixNum - 2)
843
849
  ] }),
844
850
  suffix
845
851
  ] });
846
852
  }
847
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className, children: [
848
- prefix && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: prefixClassName, children: prefix }),
849
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: intClassName, children: intPart }),
853
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className, children: [
854
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: prefixClassName, children: prefix }),
855
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: intClassName, children: intPart }),
850
856
  suffix
851
857
  ] });
852
858
  };
@@ -855,7 +861,7 @@ var isInTgApp = () => {
855
861
  };
856
862
 
857
863
  // src/ui/Button/index.tsx
858
- var import_jsx_runtime55 = require("react/jsx-runtime");
864
+ var import_jsx_runtime57 = require("react/jsx-runtime");
859
865
  function Button({
860
866
  size = "df",
861
867
  disabled = false,
@@ -875,7 +881,7 @@ function Button({
875
881
  onClick && onClick();
876
882
  }
877
883
  };
878
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
884
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
879
885
  "button",
880
886
  {
881
887
  type,
@@ -886,14 +892,14 @@ function Button({
886
892
  },
887
893
  onClick: onAction,
888
894
  ...dataset,
889
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
895
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
890
896
  }
891
897
  );
892
898
  }
893
899
 
894
900
  // src/ui/Input/index.tsx
895
901
  var import_react4 = require("react");
896
- var import_jsx_runtime56 = require("react/jsx-runtime");
902
+ var import_jsx_runtime58 = require("react/jsx-runtime");
897
903
  function Input({
898
904
  onChange,
899
905
  type,
@@ -903,17 +909,17 @@ function Input({
903
909
  }) {
904
910
  const [inputType, setInputType] = (0, import_react4.useState)(type);
905
911
  const isDownMd = useDownMd();
906
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
912
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
907
913
  "div",
908
914
  {
909
915
  className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
910
916
  children: [
911
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
912
- props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
917
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
918
+ props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
913
919
  if (onChange) {
914
920
  onChange({ target: { value: "" } });
915
921
  }
916
- }, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
922
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
917
923
  DeleteRoundIcon,
918
924
  {
919
925
  height: isDownMd ? 16 : 21,
@@ -921,9 +927,9 @@ function Input({
921
927
  color: "var(--matchid-input-delete-icon-color)"
922
928
  }
923
929
  ) }),
924
- type === "password" && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
930
+ type === "password" && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
925
931
  setInputType(inputType === "password" ? "text" : "password");
926
- }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
932
+ }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
927
933
  after
928
934
  ]
929
935
  }
@@ -931,7 +937,7 @@ function Input({
931
937
  }
932
938
 
933
939
  // src/ui/Field/index.tsx
934
- var import_jsx_runtime57 = require("react/jsx-runtime");
940
+ var import_jsx_runtime59 = require("react/jsx-runtime");
935
941
  function Field({
936
942
  label,
937
943
  children,
@@ -939,19 +945,19 @@ function Field({
939
945
  required,
940
946
  className = ""
941
947
  }) {
942
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
943
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "matchid-field-label", children: [
944
- required && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "matchid-field-required", children: "*" }),
948
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
949
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-field-label", children: [
950
+ required && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "matchid-field-required", children: "*" }),
945
951
  label
946
952
  ] }),
947
953
  children,
948
- error && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "matchid-field-error", children: error })
954
+ error && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-field-error", children: error })
949
955
  ] });
950
956
  }
951
957
 
952
958
  // src/components/EmailModal/StepEmail.tsx
953
959
  var import_react_intl2 = require("react-intl");
954
- var import_jsx_runtime58 = require("react/jsx-runtime");
960
+ var import_jsx_runtime60 = require("react/jsx-runtime");
955
961
 
956
962
  // src/components/EmailModal/StepVerify.tsx
957
963
  var import_react6 = require("react");
@@ -961,15 +967,15 @@ var NATIVE_TOKEN_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
961
967
 
962
968
  // src/components/EmailModal/StepVerify.tsx
963
969
  var import_react_intl3 = require("react-intl");
964
- var import_jsx_runtime59 = require("react/jsx-runtime");
970
+ var import_jsx_runtime61 = require("react/jsx-runtime");
965
971
 
966
972
  // src/components/EmailModal/index.tsx
967
973
  var import_react_intl4 = require("react-intl");
968
- var import_jsx_runtime60 = require("react/jsx-runtime");
974
+ var import_jsx_runtime62 = require("react/jsx-runtime");
969
975
 
970
976
  // src/ui/Popover/index.tsx
971
977
  var import_react8 = require("react");
972
- var import_jsx_runtime61 = require("react/jsx-runtime");
978
+ var import_jsx_runtime63 = require("react/jsx-runtime");
973
979
 
974
980
  // src/components/LoginBox/index.tsx
975
981
  var import_react9 = require("react");
@@ -979,39 +985,39 @@ var import_react_intl5 = require("react-intl");
979
985
  var import_react_query = require("@tanstack/react-query");
980
986
 
981
987
  // src/components/LoginBox/index.tsx
982
- var import_jsx_runtime62 = require("react/jsx-runtime");
988
+ var import_jsx_runtime64 = require("react/jsx-runtime");
983
989
 
984
990
  // src/components/LoginButton/index.tsx
985
991
  var import_react11 = require("react");
986
992
 
987
993
  // src/components/LoginPanel/index.tsx
988
994
  var import_react_intl6 = require("react-intl");
989
- var import_jsx_runtime63 = require("react/jsx-runtime");
995
+ var import_jsx_runtime65 = require("react/jsx-runtime");
990
996
 
991
997
  // src/components/LoginModal/index.tsx
992
- var import_jsx_runtime64 = require("react/jsx-runtime");
998
+ var import_jsx_runtime66 = require("react/jsx-runtime");
993
999
 
994
1000
  // src/components/UserPopover/index.tsx
995
1001
  var import_react10 = require("react");
996
1002
 
997
1003
  // src/assets/icon/ProfileIcon.tsx
998
- var import_jsx_runtime65 = require("react/jsx-runtime");
1004
+ var import_jsx_runtime67 = require("react/jsx-runtime");
999
1005
 
1000
1006
  // src/components/UserPopover/index.tsx
1001
1007
  var import_react_intl7 = require("react-intl");
1002
- var import_jsx_runtime66 = require("react/jsx-runtime");
1008
+ var import_jsx_runtime68 = require("react/jsx-runtime");
1003
1009
 
1004
1010
  // src/components/LoginButton/index.tsx
1005
1011
  var import_react_intl8 = require("react-intl");
1006
- var import_jsx_runtime67 = require("react/jsx-runtime");
1012
+ var import_jsx_runtime69 = require("react/jsx-runtime");
1007
1013
 
1008
1014
  // src/components/UsernameModal/index.tsx
1009
1015
  var import_react12 = require("react");
1010
1016
  var import_react_intl9 = require("react-intl");
1011
- var import_jsx_runtime68 = require("react/jsx-runtime");
1017
+ var import_jsx_runtime70 = require("react/jsx-runtime");
1012
1018
 
1013
1019
  // src/ui/Drawer/index.tsx
1014
- var import_jsx_runtime69 = require("react/jsx-runtime");
1020
+ var import_jsx_runtime71 = require("react/jsx-runtime");
1015
1021
  function Drawer({
1016
1022
  children,
1017
1023
  showClose = true,
@@ -1022,15 +1028,15 @@ function Drawer({
1022
1028
  onBack
1023
1029
  }) {
1024
1030
  if (!isOpen) {
1025
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_jsx_runtime69.Fragment, {});
1031
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_jsx_runtime71.Fragment, {});
1026
1032
  }
1027
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "matchid-drawer", children: [
1028
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
1029
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
1030
- onBack && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
1033
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-drawer", children: [
1034
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
1035
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
1036
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
1031
1037
  title
1032
1038
  ] }),
1033
- showClose && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
1039
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
1034
1040
  ] }),
1035
1041
  children
1036
1042
  ] }) });
@@ -1040,7 +1046,7 @@ function Drawer({
1040
1046
  var import_react13 = require("react");
1041
1047
 
1042
1048
  // src/ui/ModalDrawer/index.tsx
1043
- var import_jsx_runtime70 = require("react/jsx-runtime");
1049
+ var import_jsx_runtime72 = require("react/jsx-runtime");
1044
1050
  function ModalDrawer({
1045
1051
  title,
1046
1052
  drawerTitleVisible = true,
@@ -1048,9 +1054,9 @@ function ModalDrawer({
1048
1054
  }) {
1049
1055
  const isDownMd = useDownMd();
1050
1056
  if (isDownMd) {
1051
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ModalWithHeader, { ...props, title });
1057
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ModalWithHeader, { ...props, title });
1052
1058
  }
1053
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
1059
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
1054
1060
  }
1055
1061
 
1056
1062
  // src/assets/lottie/confirm.json
@@ -1106,7 +1112,7 @@ function useHash({
1106
1112
  }
1107
1113
 
1108
1114
  // src/ui/HashPanel/index.tsx
1109
- var import_jsx_runtime71 = require("react/jsx-runtime");
1115
+ var import_jsx_runtime73 = require("react/jsx-runtime");
1110
1116
  function HashPanel({
1111
1117
  hash,
1112
1118
  chain,
@@ -1166,14 +1172,14 @@ function HashPanel({
1166
1172
  }
1167
1173
  }, [hashQuery.data]);
1168
1174
  const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
1169
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
1175
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
1170
1176
  ModalDrawer,
1171
1177
  {
1172
1178
  isOpen,
1173
1179
  showClose: true,
1174
1180
  onClose,
1175
1181
  zIndex,
1176
- title: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
1182
+ title: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
1177
1183
  "div",
1178
1184
  {
1179
1185
  className: "matchid-hashpanel-header",
@@ -1183,36 +1189,36 @@ function HashPanel({
1183
1189
  children: statusValue.text
1184
1190
  }
1185
1191
  ),
1186
- children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-hashpanel-box", children: [
1187
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-hashpanel-content", children: [
1188
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1192
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "matchid-hashpanel-box", children: [
1193
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "matchid-hashpanel-content", children: [
1194
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1189
1195
  color: statusValue.color
1190
1196
  }, children: statusValue.text }),
1191
- statusValue.lottie && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
1197
+ statusValue.lottie && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
1192
1198
  width: "96px",
1193
1199
  height: "96px"
1194
1200
  } }),
1195
- hash && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
1201
+ hash && /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
1196
1202
  "Hash:",
1197
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("a", { href: link, target: "_blank", children: hash })
1203
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("a", { href: link, target: "_blank", children: hash })
1198
1204
  ] }),
1199
- error && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "matchid-hashpanel-text", children: error })
1205
+ error && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "matchid-hashpanel-text", children: error })
1200
1206
  ] }),
1201
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
1207
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
1202
1208
  ] })
1203
1209
  }
1204
1210
  );
1205
1211
  }
1206
1212
  function HashPanel_default(props) {
1207
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(HashPanel, { ...props });
1213
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(HashPanel, { ...props });
1208
1214
  }
1209
1215
 
1210
1216
  // src/ui/Switch/index.tsx
1211
- var import_jsx_runtime72 = require("react/jsx-runtime");
1217
+ var import_jsx_runtime74 = require("react/jsx-runtime");
1212
1218
 
1213
1219
  // src/ui/AlphaAvatar/index.tsx
1214
1220
  var import_react14 = require("react");
1215
- var import_jsx_runtime73 = require("react/jsx-runtime");
1221
+ var import_jsx_runtime75 = require("react/jsx-runtime");
1216
1222
  function AlphaAvatar({
1217
1223
  name,
1218
1224
  size = "default",
@@ -1229,7 +1235,7 @@ function AlphaAvatar({
1229
1235
  return "";
1230
1236
  }, [name]);
1231
1237
  const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
1232
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1238
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1233
1239
  width: numberSize,
1234
1240
  height: numberSize,
1235
1241
  fontSize: Math.ceil(numberSize / 2),
@@ -1238,7 +1244,7 @@ function AlphaAvatar({
1238
1244
  }
1239
1245
 
1240
1246
  // src/ui/Radio/index.tsx
1241
- var import_jsx_runtime74 = require("react/jsx-runtime");
1247
+ var import_jsx_runtime76 = require("react/jsx-runtime");
1242
1248
  function Radio({
1243
1249
  checked = false,
1244
1250
  onChange,
@@ -1247,23 +1253,23 @@ function Radio({
1247
1253
  className = "",
1248
1254
  style = {}
1249
1255
  }) {
1250
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
1256
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
1251
1257
  width: size,
1252
1258
  height: size,
1253
1259
  ...style,
1254
1260
  // @ts-ignore
1255
1261
  "--matchid-radio-checked": color
1256
- }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: `matchid-radio-content`, style: {
1262
+ }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: `matchid-radio-content`, style: {
1257
1263
  width: Math.floor(size * 0.7),
1258
1264
  height: Math.floor(size * 0.7)
1259
1265
  } }) });
1260
1266
  }
1261
1267
 
1262
1268
  // src/ui/Skeleton/index.tsx
1263
- var import_jsx_runtime75 = require("react/jsx-runtime");
1269
+ var import_jsx_runtime77 = require("react/jsx-runtime");
1264
1270
 
1265
1271
  // src/ui/Tabs/index.tsx
1266
- var import_jsx_runtime76 = require("react/jsx-runtime");
1272
+ var import_jsx_runtime78 = require("react/jsx-runtime");
1267
1273
 
1268
1274
  // src/ui/Lottie/index.tsx
1269
1275
  var import_lottie_react = require("lottie-react");
@@ -1278,6 +1284,9 @@ var LazyLottie = (props) => {
1278
1284
  };
1279
1285
  var Lottie_default = LazyLottie;
1280
1286
 
1287
+ // src/ui/Checkbox/index.tsx
1288
+ var import_jsx_runtime79 = require("react/jsx-runtime");
1289
+
1281
1290
  // src/components/EVMModal/index.tsx
1282
1291
  var import_react17 = require("react");
1283
1292
 
@@ -1314,7 +1323,7 @@ var import_react_intl10 = require("react-intl");
1314
1323
 
1315
1324
  // src/components/WalletModalContent/index.tsx
1316
1325
  var import_react15 = require("react");
1317
- var import_jsx_runtime77 = require("react/jsx-runtime");
1326
+ var import_jsx_runtime80 = require("react/jsx-runtime");
1318
1327
 
1319
1328
  // src/components/EVMModal/index.tsx
1320
1329
  var import_rainbowkit = require("@rainbow-me/rainbowkit");
@@ -1331,7 +1340,7 @@ var import_ethers = require("ethers");
1331
1340
  // src/components/EVMModal/index.tsx
1332
1341
  var import_siwe = require("siwe");
1333
1342
  var import_styles = require("@rainbow-me/rainbowkit/styles.css");
1334
- var import_jsx_runtime78 = require("react/jsx-runtime");
1343
+ var import_jsx_runtime81 = require("react/jsx-runtime");
1335
1344
 
1336
1345
  // src/components/TRONModal/index.tsx
1337
1346
  var import_react19 = __toESM(require("react"));
@@ -1341,13 +1350,13 @@ var import_react_intl11 = require("react-intl");
1341
1350
  var import_react18 = require("react");
1342
1351
 
1343
1352
  // src/components/TRONModal/index.tsx
1344
- var import_jsx_runtime79 = require("react/jsx-runtime");
1353
+ var import_jsx_runtime82 = require("react/jsx-runtime");
1345
1354
 
1346
1355
  // src/components/TONModal/index.tsx
1347
1356
  var import_react20 = __toESM(require("react"));
1348
1357
  var import_react_intl12 = require("react-intl");
1349
1358
  var import_ui_react = require("@tonconnect/ui-react");
1350
- var import_jsx_runtime80 = require("react/jsx-runtime");
1359
+ var import_jsx_runtime83 = require("react/jsx-runtime");
1351
1360
 
1352
1361
  // src/components/BTCModal/index.tsx
1353
1362
  var import_react22 = __toESM(require("react"));
@@ -1360,16 +1369,16 @@ var import_sats_connect = require("sats-connect");
1360
1369
  var import_react21 = require("react");
1361
1370
 
1362
1371
  // src/components/BTCModal/index.tsx
1363
- var import_jsx_runtime81 = require("react/jsx-runtime");
1372
+ var import_jsx_runtime84 = require("react/jsx-runtime");
1364
1373
 
1365
1374
  // src/components/WalletModal/index.tsx
1366
1375
  var import_react23 = require("react");
1367
1376
  var import_react_intl14 = require("react-intl");
1368
- var import_jsx_runtime82 = require("react/jsx-runtime");
1377
+ var import_jsx_runtime85 = require("react/jsx-runtime");
1369
1378
 
1370
1379
  // src/components/AlphaAvatar/index.tsx
1371
1380
  var import_react24 = require("react");
1372
- var import_jsx_runtime83 = require("react/jsx-runtime");
1381
+ var import_jsx_runtime86 = require("react/jsx-runtime");
1373
1382
  function AlphaAvatar2({ name, size = 40, className = "" }) {
1374
1383
  const [avatar, setAvatar] = (0, import_react24.useState)(void 0);
1375
1384
  (0, import_react24.useEffect)(() => {
@@ -1378,7 +1387,7 @@ function AlphaAvatar2({ name, size = 40, className = "" }) {
1378
1387
  setAvatar(char);
1379
1388
  }
1380
1389
  }, [name]);
1381
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1390
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1382
1391
  width: size,
1383
1392
  height: size,
1384
1393
  fontSize: Math.ceil(size / 2)
@@ -1386,13 +1395,13 @@ function AlphaAvatar2({ name, size = 40, className = "" }) {
1386
1395
  }
1387
1396
 
1388
1397
  // src/components/WalletAsset/index.tsx
1389
- var import_jsx_runtime84 = require("react/jsx-runtime");
1398
+ var import_jsx_runtime87 = require("react/jsx-runtime");
1390
1399
 
1391
1400
  // src/components/TokenSend/index.tsx
1392
1401
  var import_react25 = require("react");
1393
1402
  var import_viem2 = require("viem");
1394
1403
  var import_react_intl15 = require("react-intl");
1395
- var import_jsx_runtime85 = require("react/jsx-runtime");
1404
+ var import_jsx_runtime88 = require("react/jsx-runtime");
1396
1405
  function Input2({
1397
1406
  onChange,
1398
1407
  placeholder,
@@ -1402,8 +1411,8 @@ function Input2({
1402
1411
  error,
1403
1412
  size = "df"
1404
1413
  }) {
1405
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
1406
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
1414
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
1415
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
1407
1416
  "input",
1408
1417
  {
1409
1418
  placeholder,
@@ -1414,7 +1423,7 @@ function Input2({
1414
1423
  className: `matchid-token-input ${error ? "matchid-token-input-error" : ""}`
1415
1424
  }
1416
1425
  ),
1417
- error && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "matchid-token-input-error-text", children: error })
1426
+ error && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "matchid-token-input-error-text", children: error })
1418
1427
  ] });
1419
1428
  }
1420
1429
  function TokenSend({
@@ -1542,24 +1551,24 @@ function TokenSend({
1542
1551
  window.removeEventListener("message", receiveMessage);
1543
1552
  };
1544
1553
  }, []);
1545
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_intl15.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-send-box`, children: [
1546
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "matchid-token-send-content", children: [
1547
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-amount-content`, children: [
1548
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-amount-header`, children: [
1549
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_intl15.FormattedMessage, { id: "amount" }) }),
1550
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
1551
- token.icon ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
1554
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_intl15.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-send-box`, children: [
1555
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "matchid-token-send-content", children: [
1556
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-amount-content`, children: [
1557
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-amount-header`, children: [
1558
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_intl15.FormattedMessage, { id: "amount" }) }),
1559
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
1560
+ token.icon ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
1552
1561
  "img",
1553
1562
  {
1554
1563
  src: token?.icon,
1555
1564
  alt: token?.symbol,
1556
1565
  className: `matchid-token-amount-chain-icon`
1557
1566
  }
1558
- ) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(AlphaAvatar, { name: token.symbol || token.name || "", size: 16 }),
1559
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { children: token?.symbol })
1567
+ ) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(AlphaAvatar, { name: token.symbol || token.name || "", size: 16 }),
1568
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { children: token?.symbol })
1560
1569
  ] })
1561
1570
  ] }),
1562
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
1571
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
1563
1572
  Input2,
1564
1573
  {
1565
1574
  type: "text",
@@ -1572,18 +1581,18 @@ function TokenSend({
1572
1581
  error: error.amount || txError
1573
1582
  }
1574
1583
  ),
1575
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
1576
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-amount-title`, children: [
1577
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_intl15.FormattedMessage, { id: "balance" }),
1584
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
1585
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-amount-title`, children: [
1586
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_intl15.FormattedMessage, { id: "balance" }),
1578
1587
  ":"
1579
1588
  ] }),
1580
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
1589
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
1581
1590
  ] }),
1582
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
1591
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
1583
1592
  ] }),
1584
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: `matchid-token-address-content`, children: [
1585
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_intl15.FormattedMessage, { id: "receiveTitle" }) }) }),
1586
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
1593
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: `matchid-token-address-content`, children: [
1594
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_intl15.FormattedMessage, { id: "receiveTitle" }) }) }),
1595
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
1587
1596
  Input2,
1588
1597
  {
1589
1598
  type: "text",
@@ -1599,7 +1608,7 @@ function TokenSend({
1599
1608
  )
1600
1609
  ] })
1601
1610
  ] }),
1602
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
1611
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
1603
1612
  Button,
1604
1613
  {
1605
1614
  size: "lg",
@@ -1608,7 +1617,7 @@ function TokenSend({
1608
1617
  disabled: !canSend || !!txError,
1609
1618
  onClick: onNext,
1610
1619
  loading: loading || sending,
1611
- children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_react_intl15.FormattedMessage, { id: "next" })
1620
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_intl15.FormattedMessage, { id: "next" })
1612
1621
  }
1613
1622
  )
1614
1623
  ] }) });
@@ -1616,12 +1625,12 @@ function TokenSend({
1616
1625
 
1617
1626
  // src/components/TokenDetail/index.tsx
1618
1627
  var import_react_intl16 = require("react-intl");
1619
- var import_jsx_runtime86 = require("react/jsx-runtime");
1628
+ var import_jsx_runtime89 = require("react/jsx-runtime");
1620
1629
 
1621
1630
  // src/components/TokenSendList/index.tsx
1622
1631
  var import_react26 = require("react");
1623
1632
  var import_react_intl17 = require("react-intl");
1624
- var import_jsx_runtime87 = require("react/jsx-runtime");
1633
+ var import_jsx_runtime90 = require("react/jsx-runtime");
1625
1634
  function TokenSendList({ close }) {
1626
1635
  const isDownMd = useDownMd();
1627
1636
  const walletAssets = useMatchWalletAssets();
@@ -1633,16 +1642,16 @@ function TokenSendList({ close }) {
1633
1642
  const modal = useModal();
1634
1643
  const onNext = () => {
1635
1644
  checked && modal.show((props) => {
1636
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(TokenSend, { onClose: () => {
1645
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(TokenSend, { onClose: () => {
1637
1646
  props.close();
1638
1647
  close();
1639
1648
  }, onBack: props.close, zIndex: props.zIndex, token: checked });
1640
1649
  });
1641
1650
  };
1642
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "matchid-token-send-list-box", children: [
1643
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
1651
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "matchid-token-send-list-box", children: [
1652
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
1644
1653
  const chain = list?.find((m) => m.id.toString() === n.chain_id);
1645
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
1654
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
1646
1655
  "div",
1647
1656
  {
1648
1657
  className: `matchid-token-send-item ${checked?.address == n.address ? "matchid-token-send-chekced" : ""}`,
@@ -1650,10 +1659,10 @@ function TokenSendList({ close }) {
1650
1659
  setChecked(n);
1651
1660
  },
1652
1661
  children: [
1653
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
1654
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "matchid-token-send-content", children: [
1655
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "matchid-token-send-logo", children: [
1656
- n.icon ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
1662
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
1663
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "matchid-token-send-content", children: [
1664
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "matchid-token-send-logo", children: [
1665
+ n.icon ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
1657
1666
  AlphaAvatar2,
1658
1667
  {
1659
1668
  className: `matchid-token-send-icon`,
@@ -1661,7 +1670,7 @@ function TokenSendList({ close }) {
1661
1670
  name: n.symbol || n.name || ""
1662
1671
  }
1663
1672
  ),
1664
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
1673
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
1665
1674
  "img",
1666
1675
  {
1667
1676
  src: chain.iconUrl,
@@ -1670,9 +1679,9 @@ function TokenSendList({ close }) {
1670
1679
  }
1671
1680
  )
1672
1681
  ] }),
1673
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: `matchid-token-send-info`, children: [
1674
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
1675
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
1682
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: `matchid-token-send-info`, children: [
1683
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
1684
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
1676
1685
  ] })
1677
1686
  ] })
1678
1687
  ]
@@ -1680,7 +1689,7 @@ function TokenSendList({ close }) {
1680
1689
  index
1681
1690
  );
1682
1691
  }) }),
1683
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_intl17.FormattedMessage, { id: "next" }) })
1692
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_intl17.FormattedMessage, { id: "next" }) })
1684
1693
  ] });
1685
1694
  }
1686
1695
 
@@ -1748,12 +1757,12 @@ var useContractStore_default = useContractStore;
1748
1757
 
1749
1758
  // src/components/TransactionList/index.tsx
1750
1759
  var import_react_intl18 = require("react-intl");
1751
- var import_jsx_runtime88 = require("react/jsx-runtime");
1760
+ var import_jsx_runtime91 = require("react/jsx-runtime");
1752
1761
 
1753
1762
  // src/components/CEXBindModal/index.tsx
1754
1763
  var import_react28 = require("react");
1755
1764
  var import_react_intl19 = require("react-intl");
1756
- var import_jsx_runtime89 = require("react/jsx-runtime");
1765
+ var import_jsx_runtime92 = require("react/jsx-runtime");
1757
1766
 
1758
1767
  // src/context/BusinessProvider.tsx
1759
1768
  var import_react_query3 = require("@tanstack/react-query");
@@ -1771,12 +1780,12 @@ var useStore = (0, import_zustand4.create)((set) => ({
1771
1780
  var useStore_default = useStore;
1772
1781
 
1773
1782
  // src/context/BusinessProvider.tsx
1774
- var import_jsx_runtime90 = require("react/jsx-runtime");
1783
+ var import_jsx_runtime93 = require("react/jsx-runtime");
1775
1784
 
1776
1785
  // src/context/ModalContext.tsx
1777
- var import_react29 = __toESM(require("react"));
1786
+ var import_react29 = require("react");
1778
1787
  var import_react_dom = require("react-dom");
1779
- var import_jsx_runtime91 = require("react/jsx-runtime");
1788
+ var import_jsx_runtime94 = require("react/jsx-runtime");
1780
1789
  var ModalContext = (0, import_react29.createContext)(null);
1781
1790
  function useModal() {
1782
1791
  const context = (0, import_react29.useContext)(ModalContext);
@@ -1789,7 +1798,7 @@ function useModal() {
1789
1798
  // src/context/ToastContext.tsx
1790
1799
  var import_react30 = require("react");
1791
1800
  var import_react_dom2 = require("react-dom");
1792
- var import_jsx_runtime92 = require("react/jsx-runtime");
1801
+ var import_jsx_runtime95 = require("react/jsx-runtime");
1793
1802
  var ToastContext = (0, import_react30.createContext)(null);
1794
1803
  function useToast() {
1795
1804
  const context = (0, import_react30.useContext)(ToastContext);
@@ -1800,7 +1809,7 @@ function useToast() {
1800
1809
  }
1801
1810
 
1802
1811
  // src/context/index.tsx
1803
- var import_jsx_runtime93 = require("react/jsx-runtime");
1812
+ var import_jsx_runtime96 = require("react/jsx-runtime");
1804
1813
 
1805
1814
  // src/hooks/useWalletInit.ts
1806
1815
  var import_react31 = require("react");
@@ -1880,7 +1889,7 @@ var matchTest = /* @__PURE__ */ (0, import_viem6.defineChain)({
1880
1889
 
1881
1890
  // src/MatchContext.tsx
1882
1891
  var import_wagmi3 = require("wagmi");
1883
- var import_jsx_runtime94 = require("react/jsx-runtime");
1892
+ var import_jsx_runtime97 = require("react/jsx-runtime");
1884
1893
  var queryClient = new import_react_query4.QueryClient();
1885
1894
  var wagmiConfig = (0, import_rainbowkit2.getDefaultConfig)({
1886
1895
  appName: "MatchID",
@@ -2262,7 +2271,7 @@ var useTransactionStore = (0, import_zustand5.create)((0, import_middleware3.dev
2262
2271
  var useTransactionStore_default = useTransactionStore;
2263
2272
 
2264
2273
  // src/hooks/useWallet.tsx
2265
- var import_jsx_runtime95 = require("react/jsx-runtime");
2274
+ var import_jsx_runtime98 = require("react/jsx-runtime");
2266
2275
  var AppClientId2 = "react-sdk-" + getVersion();
2267
2276
  function useWallet() {
2268
2277
  const { address, wallet: walletConfig } = useLocalStore_default();
@@ -2436,12 +2445,12 @@ function useWallet() {
2436
2445
  address: evmAccount.address
2437
2446
  });
2438
2447
  modal.show((props) => {
2439
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
2448
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
2440
2449
  });
2441
2450
  return txHash;
2442
2451
  } catch (error) {
2443
2452
  modal.show((props) => {
2444
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, error: typeof error == "string" ? error : error.details || error.message, chain: _chain });
2453
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, error: typeof error == "string" ? error : error.details || error.message, chain: _chain });
2445
2454
  });
2446
2455
  throw error;
2447
2456
  }
@@ -2575,7 +2584,7 @@ function useImportTokenListQuery({
2575
2584
  var import_react38 = require("react");
2576
2585
  var import_viem10 = require("viem");
2577
2586
  var import_react_intl21 = require("react-intl");
2578
- var import_jsx_runtime96 = require("react/jsx-runtime");
2587
+ var import_jsx_runtime99 = require("react/jsx-runtime");
2579
2588
  function useMatchChain() {
2580
2589
  const chainListQuery = useChainListQuery();
2581
2590
  const modal = useModal();
@@ -2606,28 +2615,28 @@ function useMatchChain() {
2606
2615
  const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
2607
2616
  const [selectedChainId, setSelectedChainId] = (0, import_react38.useState)(storeChainId2);
2608
2617
  const isDownMd = useDownMd();
2609
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: `matchid-change-network-box`, children: [
2610
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2611
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
2618
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: `matchid-change-network-box`, children: [
2619
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2620
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
2612
2621
  "div",
2613
2622
  {
2614
2623
  onClick: () => setSelectedChainId(item.id),
2615
2624
  className: `matchid-change-network-item ${selectedChainId == item.id ? "matchid-change-network-selected" : ""}`,
2616
2625
  children: [
2617
- /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
2618
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2619
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2626
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
2627
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2628
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2620
2629
  ] }),
2621
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2630
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2622
2631
  ]
2623
2632
  },
2624
2633
  index
2625
2634
  );
2626
2635
  }) }),
2627
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
2636
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
2628
2637
  setChainId2(selectedChainId || 0);
2629
2638
  close();
2630
- }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_react_intl21.FormattedMessage, { id: "confirm" }) })
2639
+ }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_react_intl21.FormattedMessage, { id: "confirm" }) })
2631
2640
  ] });
2632
2641
  }
2633
2642
  const showChangeNetwork = () => {
@@ -2700,7 +2709,7 @@ function useIsContract({
2700
2709
  }
2701
2710
 
2702
2711
  // src/components/ImportToken/index.tsx
2703
- var import_jsx_runtime97 = require("react/jsx-runtime");
2712
+ var import_jsx_runtime100 = require("react/jsx-runtime");
2704
2713
  function ImportToken({ close }) {
2705
2714
  const [status, setStatus] = (0, import_react39.useState)("");
2706
2715
  const { token } = useUserInfo();
@@ -2811,22 +2820,22 @@ function ImportToken({ close }) {
2811
2820
  enabled: canImport
2812
2821
  });
2813
2822
  if (status == "success" || status == "fail") {
2814
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
2815
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
2816
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: `matchid-import-token-result-img`, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Lottie_default, { animationData: status == "success" ? success_default : fail_default, style: {
2823
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
2824
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
2825
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: `matchid-import-token-result-img`, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Lottie_default, { animationData: status == "success" ? success_default : fail_default, style: {
2817
2826
  width: "96px",
2818
2827
  height: "96px"
2819
2828
  } }) }),
2820
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl22.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl22.FormattedMessage, { id: "importFail" }) })
2829
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl22.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl22.FormattedMessage, { id: "importFail" }) })
2821
2830
  ] }),
2822
- status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl22.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl22.FormattedMessage, { id: "back" }) })
2831
+ status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl22.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl22.FormattedMessage, { id: "back" }) })
2823
2832
  ] });
2824
2833
  }
2825
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: `matchid-import-token`, children: [
2826
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "matchid-import-token-form", children: [
2827
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Field, { label: intl.formatMessage({
2834
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: `matchid-import-token`, children: [
2835
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "matchid-import-token-form", children: [
2836
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Field, { label: intl.formatMessage({
2828
2837
  id: "tokenSmartContract"
2829
- }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
2838
+ }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
2830
2839
  Input,
2831
2840
  {
2832
2841
  placeholder: intl.formatMessage({
@@ -2837,9 +2846,9 @@ function ImportToken({ close }) {
2837
2846
  maxLength: 42
2838
2847
  }
2839
2848
  ) }),
2840
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Field, { label: intl.formatMessage({
2849
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Field, { label: intl.formatMessage({
2841
2850
  id: "tokenSymbol"
2842
- }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
2851
+ }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
2843
2852
  Input,
2844
2853
  {
2845
2854
  placeholder: intl.formatMessage({
@@ -2850,9 +2859,9 @@ function ImportToken({ close }) {
2850
2859
  maxLength: 16
2851
2860
  }
2852
2861
  ) }),
2853
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Field, { label: intl.formatMessage({
2862
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Field, { label: intl.formatMessage({
2854
2863
  id: "tokenDecimals"
2855
- }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
2864
+ }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
2856
2865
  Input,
2857
2866
  {
2858
2867
  placeholder: intl.formatMessage({
@@ -2864,7 +2873,7 @@ function ImportToken({ close }) {
2864
2873
  }
2865
2874
  ) })
2866
2875
  ] }),
2867
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
2876
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
2868
2877
  Button,
2869
2878
  {
2870
2879
  size: "lg",
@@ -2873,14 +2882,14 @@ function ImportToken({ close }) {
2873
2882
  loading: loading || isContractQuery.isLoading,
2874
2883
  disabled: !canImport || !isContractQuery.data,
2875
2884
  highlight: true,
2876
- children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_intl22.FormattedMessage, { id: "import" })
2885
+ children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl22.FormattedMessage, { id: "import" })
2877
2886
  }
2878
2887
  )
2879
2888
  ] });
2880
2889
  }
2881
2890
 
2882
2891
  // src/hooks/useMatchWallet.tsx
2883
- var import_jsx_runtime98 = require("react/jsx-runtime");
2892
+ var import_jsx_runtime101 = require("react/jsx-runtime");
2884
2893
  var ReceiveModal = () => {
2885
2894
  const chain = useMatchChain();
2886
2895
  const { address } = useWallet();
@@ -2894,10 +2903,10 @@ var ReceiveModal = () => {
2894
2903
  }));
2895
2904
  };
2896
2905
  const chainLink = chain.explorerLink("address/" + address);
2897
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: `matchid-receive-modal`, children: [
2898
- /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: "matchid-receive-container", children: [
2899
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_react_intl23.FormattedMessage, { id: "receiveQrcode" }) }),
2900
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
2906
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: `matchid-receive-modal`, children: [
2907
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: "matchid-receive-container", children: [
2908
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl23.FormattedMessage, { id: "receiveQrcode" }) }),
2909
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
2901
2910
  import_react_qrcode.QRCode,
2902
2911
  {
2903
2912
  margin: "0",
@@ -2905,7 +2914,7 @@ var ReceiveModal = () => {
2905
2914
  value: address
2906
2915
  }
2907
2916
  ) }),
2908
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
2917
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
2909
2918
  "a",
2910
2919
  {
2911
2920
  href: chainLink,
@@ -2915,7 +2924,7 @@ var ReceiveModal = () => {
2915
2924
  }
2916
2925
  )
2917
2926
  ] }),
2918
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
2927
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
2919
2928
  import_react_intl23.FormattedMessage,
2920
2929
  {
2921
2930
  id: "copyAddress"