@matchain/matchid-sdk-react 0.1.30 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -841,7 +841,9 @@ var persistedState = (0, import_middleware.persist)(
841
841
  setTheme: (theme) => set({ theme }),
842
842
  setEndpoints: (endpoints) => set({ endpoints }),
843
843
  address: "",
844
- setAddress: (address) => set({ address })
844
+ setAddress: (address) => set({ address }),
845
+ locale: "en",
846
+ setLocale: (locale) => set({ locale })
845
847
  }),
846
848
  { name: "match-local" }
847
849
  );
@@ -890,6 +892,19 @@ var getAppid = () => {
890
892
  return "";
891
893
  }
892
894
  };
895
+ var getLocale = () => {
896
+ try {
897
+ const store = localStore.getState();
898
+ const locale = store?.locale;
899
+ if (locale) {
900
+ return locale;
901
+ } else {
902
+ return "en";
903
+ }
904
+ } catch (e) {
905
+ return "en";
906
+ }
907
+ };
893
908
  var getToken = () => {
894
909
  try {
895
910
  const store = localStore.getState();
@@ -938,6 +953,7 @@ var request = async (config) => {
938
953
  if (token) {
939
954
  instance.defaults.headers.common["Authorization"] = token;
940
955
  }
956
+ instance.defaults.headers.common["Accept-Language"] = getLocale();
941
957
  const { data } = await instance.request(config);
942
958
  matchlog_default.log("api", data);
943
959
  if (data.code == 401001) {
@@ -1158,9 +1174,6 @@ function truncateAddress(address) {
1158
1174
  const end = address.slice(-2);
1159
1175
  return `${start}...${end}`;
1160
1176
  }
1161
- function firstUpperCase(str) {
1162
- return str.toString()[0].toUpperCase() + str.toString().slice(1);
1163
- }
1164
1177
 
1165
1178
  // src/store/useModalStore.ts
1166
1179
  var import_zustand2 = require("zustand");
@@ -1549,6 +1562,7 @@ function useCopyClipboard(timeout = 500) {
1549
1562
  }
1550
1563
 
1551
1564
  // src/components/PasswordModal/index.tsx
1565
+ var import_react_intl = require("react-intl");
1552
1566
  var import_jsx_runtime40 = require("react/jsx-runtime");
1553
1567
  function PasswordModal({
1554
1568
  title,
@@ -1562,13 +1576,20 @@ function PasswordModal({
1562
1576
  const [rePassword, setRePassword] = (0, import_react5.useState)("");
1563
1577
  const [error, setError] = (0, import_react5.useState)("");
1564
1578
  const { generateWallet } = useWallet();
1579
+ const intl = (0, import_react_intl.useIntl)();
1565
1580
  const passwordError = (0, import_react5.useMemo)(() => {
1566
- if (password.length < 6) return "Password must be at least 6 characters";
1581
+ if (password.length < 6) return intl.formatMessage({
1582
+ id: "passwordMinError"
1583
+ }, {
1584
+ length: 6
1585
+ });
1567
1586
  return "";
1568
1587
  }, [password]);
1569
1588
  const rePasswordError = (0, import_react5.useMemo)(() => {
1570
1589
  if (rePassword != password) {
1571
- return "The password you entered twice do not match";
1590
+ return intl.formatMessage({
1591
+ id: "passwordMatchError"
1592
+ });
1572
1593
  }
1573
1594
  return "";
1574
1595
  }, [rePassword, password]);
@@ -1595,26 +1616,32 @@ function PasswordModal({
1595
1616
  setIsSubmitting(false);
1596
1617
  }
1597
1618
  };
1598
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || "Set Password", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "matchid-password-box", children: [
1619
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
1620
+ id: "passwordTitle"
1621
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "matchid-password-box", children: [
1599
1622
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "matchid-password-header", children: [
1600
1623
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(PasswordRoundIcon, {}) }),
1601
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "matchid-password-header-content", children: "Please set the wallet password that will be used to recover the wallet" })
1624
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react_intl.FormattedMessage, { id: "passwordTips" }) })
1602
1625
  ] }),
1603
1626
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "matchid-password-content", children: [
1604
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Field, { label: "Password", error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1627
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1605
1628
  Input,
1606
1629
  {
1607
- placeholder: "Enter the Password",
1630
+ placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
1608
1631
  maxLength: 32,
1609
1632
  type: "password",
1610
1633
  onChange: (e) => setPassword(e.target.value),
1611
1634
  value: password
1612
1635
  }
1613
1636
  ) }),
1614
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Field, { label: "Re Password", error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1637
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Field, { label: intl.formatMessage({
1638
+ id: "rePassword"
1639
+ }), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1615
1640
  Input,
1616
1641
  {
1617
- placeholder: "Re Enter the Password",
1642
+ placeholder: intl.formatMessage({
1643
+ id: "rePasswordPlaceholder"
1644
+ }),
1618
1645
  maxLength: 32,
1619
1646
  onChange: (e) => setRePassword(e.target.value),
1620
1647
  value: rePassword,
@@ -1631,7 +1658,7 @@ function PasswordModal({
1631
1658
  size: "lg",
1632
1659
  onClick: onContinue,
1633
1660
  loading: isSubmitting,
1634
- children: "Continue"
1661
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_react_intl.FormattedMessage, { id: "continue" })
1635
1662
  }
1636
1663
  )
1637
1664
  ] }) });
@@ -1639,6 +1666,7 @@ function PasswordModal({
1639
1666
 
1640
1667
  // src/components/RecoveryModal/index.tsx
1641
1668
  var import_react6 = require("react");
1669
+ var import_react_intl2 = require("react-intl");
1642
1670
  var import_jsx_runtime41 = require("react/jsx-runtime");
1643
1671
  function RecoveryModal({
1644
1672
  title,
@@ -1651,8 +1679,13 @@ function RecoveryModal({
1651
1679
  const [password, setPassword] = (0, import_react6.useState)("");
1652
1680
  const { recoveryWallet } = useWallet();
1653
1681
  const [error, setError] = (0, import_react6.useState)("");
1682
+ const intl = (0, import_react_intl2.useIntl)();
1654
1683
  const passwordError = (0, import_react6.useMemo)(() => {
1655
- if (password.length < 6) return "Password must be at least 6 characters";
1684
+ if (password.length < 6) return intl.formatMessage({
1685
+ id: "passwordMinError"
1686
+ }, {
1687
+ length: 6
1688
+ });
1656
1689
  return "";
1657
1690
  }, [password]);
1658
1691
  (0, import_react6.useEffect)(() => {
@@ -1675,15 +1708,17 @@ function RecoveryModal({
1675
1708
  setIsSubmitting(false);
1676
1709
  }
1677
1710
  };
1678
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || "Recover Wallet", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "matchid-password-box", children: [
1711
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
1712
+ id: "recoverTitle"
1713
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "matchid-password-box", children: [
1679
1714
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "matchid-password-header", children: [
1680
1715
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PasswordRoundIcon, {}) }),
1681
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "matchid-password-header-content", children: "Please enter your password to recover your wallet" })
1716
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_intl2.FormattedMessage, { id: "recoverTips" }) })
1682
1717
  ] }),
1683
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "matchid-password-content", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Field, { label: "Password", error: password.length > 0 ? passwordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1718
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "matchid-password-content", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 ? passwordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1684
1719
  Input,
1685
1720
  {
1686
- placeholder: "Enter the Password",
1721
+ placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
1687
1722
  maxLength: 32,
1688
1723
  type: "password",
1689
1724
  onChange: (e) => setPassword(e.target.value),
@@ -1699,7 +1734,7 @@ function RecoveryModal({
1699
1734
  size: "lg",
1700
1735
  onClick: onContinue,
1701
1736
  loading: isSubmitting,
1702
- children: "Continue"
1737
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
1703
1738
  }
1704
1739
  )
1705
1740
  ] }) });
@@ -1732,8 +1767,10 @@ var import_react9 = require("react");
1732
1767
 
1733
1768
  // src/components/EmailModal/StepEmail.tsx
1734
1769
  var import_react7 = require("react");
1770
+ var import_react_intl3 = require("react-intl");
1735
1771
  var import_jsx_runtime42 = require("react/jsx-runtime");
1736
1772
  function StepEmail(props) {
1773
+ const intl = (0, import_react_intl3.useIntl)();
1737
1774
  const [emailVal, setEmailVal] = (0, import_react7.useState)("");
1738
1775
  (0, import_react7.useEffect)(() => {
1739
1776
  if (props.email) {
@@ -1747,17 +1784,21 @@ function StepEmail(props) {
1747
1784
  props.onContinue(emailVal);
1748
1785
  };
1749
1786
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "matchid-email-email-box", children: [
1750
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Field, { label: "Email Address", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1787
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Field, { label: intl.formatMessage({
1788
+ id: "emailAddress"
1789
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1751
1790
  Input,
1752
1791
  {
1753
- placeholder: "Enter Your Email Address",
1792
+ placeholder: intl.formatMessage({
1793
+ id: "emailAddressPlaceholder"
1794
+ }),
1754
1795
  onChange: (e) => setEmailVal(e.target.value),
1755
1796
  value: emailVal
1756
1797
  }
1757
1798
  ) }),
1758
1799
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Button, { disabled: !canContinue, style: {
1759
1800
  marginTop: "64px"
1760
- }, onClick: onContinue, size: "lg", block: true, highlight: true, children: "Continue" })
1801
+ }, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_intl3.FormattedMessage, { id: "continue" }) })
1761
1802
  ] });
1762
1803
  }
1763
1804
 
@@ -1769,15 +1810,19 @@ var EMAIL_INTERVAL = 60;
1769
1810
  var EMAIL_CODE_LENGTH = 6;
1770
1811
 
1771
1812
  // src/components/EmailModal/StepVerify.tsx
1813
+ var import_react_intl4 = require("react-intl");
1772
1814
  var import_jsx_runtime43 = require("react/jsx-runtime");
1773
1815
  function StepVerify(props) {
1816
+ const intl = (0, import_react_intl4.useIntl)();
1774
1817
  const { getLoginEmailCode, loginByEmail } = useUserInfo();
1775
1818
  const [error, setError] = (0, import_react8.useState)("");
1776
1819
  const [code, setCode] = (0, import_react8.useState)("");
1777
1820
  const [sending, setSending] = (0, import_react8.useState)(false);
1778
1821
  const [submitting, setSubmitting] = (0, import_react8.useState)(false);
1779
1822
  const sendTimeRef = (0, import_react8.useRef)(0);
1780
- const [sendBtnText, setSendBtnText] = (0, import_react8.useState)("Send");
1823
+ const [sendBtnText, setSendBtnText] = (0, import_react8.useState)(intl.formatMessage({
1824
+ id: "send"
1825
+ }));
1781
1826
  const intervalTime = EMAIL_INTERVAL;
1782
1827
  const codeLength = EMAIL_CODE_LENGTH;
1783
1828
  const intervalRef = (0, import_react8.useRef)(null);
@@ -1795,14 +1840,18 @@ function StepVerify(props) {
1795
1840
  sendTimeRef.current--;
1796
1841
  setSendBtnText(`${sendTimeRef.current}s`);
1797
1842
  if (sendTimeRef.current <= 0) {
1798
- setSendBtnText("Resend");
1843
+ setSendBtnText(intl.formatMessage({
1844
+ id: "Resend"
1845
+ }));
1799
1846
  clearInterval(intervalRef.current);
1800
1847
  setSending(false);
1801
1848
  }
1802
1849
  }, 1e3);
1803
1850
  } catch (err) {
1804
1851
  console.error("Send email error", err);
1805
- setError("Failed to send code:" + err.message);
1852
+ setError(intl.formatMessage({
1853
+ id: "sendCodeErrorTip"
1854
+ }, { error: err.message }));
1806
1855
  setSending(false);
1807
1856
  }
1808
1857
  };
@@ -1843,13 +1892,17 @@ function StepVerify(props) {
1843
1892
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(EmailLineIcon, {}) }),
1844
1893
  /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
1845
1894
  /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
1846
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "matchid-email-verify-header-tips", children: "We have sent a verification code to your email" })
1895
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_intl4.FormattedMessage, { id: "sendEmailTips" }) })
1847
1896
  ] })
1848
1897
  ] }),
1849
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Field, { label: "Verification Code", error, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1898
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Field, { label: intl.formatMessage({
1899
+ id: "verificationCode"
1900
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1850
1901
  Input,
1851
1902
  {
1852
- placeholder: "Enter the code",
1903
+ placeholder: intl.formatMessage({
1904
+ id: "codePlaceholder"
1905
+ }),
1853
1906
  maxLength: codeLength,
1854
1907
  onChange: (e) => setCode(e.target.value),
1855
1908
  value: code,
@@ -1872,11 +1925,12 @@ function StepVerify(props) {
1872
1925
  )
1873
1926
  }
1874
1927
  ) }),
1875
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: "Continue" })
1928
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react_intl4.FormattedMessage, { id: "continue" }) })
1876
1929
  ] });
1877
1930
  }
1878
1931
 
1879
1932
  // src/components/EmailModal/index.tsx
1933
+ var import_react_intl5 = require("react-intl");
1880
1934
  var import_jsx_runtime44 = require("react/jsx-runtime");
1881
1935
  function EmailModal({
1882
1936
  isOpen = false,
@@ -1887,6 +1941,7 @@ function EmailModal({
1887
1941
  }) {
1888
1942
  const [step, setStep] = (0, import_react9.useState)("input");
1889
1943
  const [emailVal, setEmailVal] = (0, import_react9.useState)("");
1944
+ const intl = (0, import_react_intl5.useIntl)();
1890
1945
  (0, import_react9.useEffect)(() => {
1891
1946
  if (!isOpen) {
1892
1947
  setStep("input");
@@ -1899,7 +1954,9 @@ function EmailModal({
1899
1954
  isOpen,
1900
1955
  width,
1901
1956
  onClose,
1902
- title: "Email",
1957
+ title: intl.formatMessage({
1958
+ id: "email"
1959
+ }),
1903
1960
  onBack: step == "verify" ? () => setStep("input") : onBack,
1904
1961
  children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
1905
1962
  setEmailVal(email);
@@ -1942,6 +1999,7 @@ function Popover({
1942
1999
 
1943
2000
  // src/components/LoginBox/index.tsx
1944
2001
  var import_react11 = require("react");
2002
+ var import_react_intl6 = require("react-intl");
1945
2003
  var import_jsx_runtime46 = require("react/jsx-runtime");
1946
2004
  var RecommendItem = ({
1947
2005
  icon,
@@ -1996,16 +2054,17 @@ function LoginBox({
1996
2054
  const [emailOpen, setEmailOpen] = (0, import_react11.useState)(false);
1997
2055
  const { login } = useUserInfo();
1998
2056
  const [showWallet, setShowWallet] = (0, import_react11.useState)(false);
2057
+ const intl = (0, import_react_intl6.useIntl)();
1999
2058
  const methodMap = {
2000
2059
  wallet: {
2001
2060
  icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(WalletIcon, {}),
2002
- name: "Wallet",
2061
+ name: intl.formatMessage({ id: "wallet" }),
2003
2062
  onClick: () => setShowWallet(!showWallet),
2004
2063
  type: "wallet"
2005
2064
  },
2006
2065
  email: {
2007
2066
  icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(EmailIcon, {}),
2008
- name: "Email",
2067
+ name: intl.formatMessage({ id: "email" }),
2009
2068
  onClick: () => {
2010
2069
  setEmailOpen(true);
2011
2070
  }
@@ -2115,7 +2174,7 @@ function LoginBox({
2115
2174
  );
2116
2175
  }) }),
2117
2176
  methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "matchid-login-other", children: [
2118
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "matchid-login-other-text", children: "Other login methods" }),
2177
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_intl6.FormattedMessage, { id: "otherLoginMethods" }) }),
2119
2178
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
2120
2179
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2121
2180
  "div",
@@ -2149,6 +2208,7 @@ function LoginBox({
2149
2208
  var import_react13 = require("react");
2150
2209
 
2151
2210
  // src/components/LoginPanel/index.tsx
2211
+ var import_react_intl7 = require("react-intl");
2152
2212
  var import_jsx_runtime47 = require("react/jsx-runtime");
2153
2213
  function LoginPanel({
2154
2214
  header,
@@ -2158,8 +2218,8 @@ function LoginPanel({
2158
2218
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-login-panel", children: [
2159
2219
  header ? header : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-login-panel-header", children: [
2160
2220
  /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
2161
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-login-panel-header-title", children: "Log in / Sign up" }),
2162
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: "You can use the following methods" })
2221
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_intl7.FormattedMessage, { id: "loginTitle" }) }),
2222
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_intl7.FormattedMessage, { id: "loginTips" }) })
2163
2223
  ] }),
2164
2224
  onClose && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(CloseRoundIcon, {}) })
2165
2225
  ] }),
@@ -2215,6 +2275,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
2215
2275
  }
2216
2276
 
2217
2277
  // src/components/UserPopover/index.tsx
2278
+ var import_react_intl8 = require("react-intl");
2218
2279
  var import_jsx_runtime50 = require("react/jsx-runtime");
2219
2280
  function UserContent() {
2220
2281
  const { logout, address, username } = useUserInfo();
@@ -2249,6 +2310,7 @@ function UserContent() {
2249
2310
  };
2250
2311
  const [usernameOpen, setUsernameOpen] = (0, import_react12.useState)(false);
2251
2312
  const [copied, setCopied] = useCopyClipboard();
2313
+ const intl = (0, import_react_intl8.useIntl)();
2252
2314
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-user-popover-content", children: [
2253
2315
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-user-popover-list", children: [
2254
2316
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(UserItem, { onClick: () => {
@@ -2257,9 +2319,11 @@ function UserContent() {
2257
2319
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(UserDivider, {}),
2258
2320
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(UserItem, { onClick: () => {
2259
2321
  setUsernameOpen(true);
2260
- }, icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || "Set a username" })
2322
+ }, icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
2323
+ id: "setUsername"
2324
+ }) })
2261
2325
  ] }),
2262
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onLogout, loading: logouting, children: "Disconnect" }),
2326
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_intl8.FormattedMessage, { id: "disconnect" }) }),
2263
2327
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
2264
2328
  setUsernameOpen(false);
2265
2329
  }, onSuccess: () => {
@@ -2275,6 +2339,7 @@ function UserPopover({
2275
2339
  }
2276
2340
 
2277
2341
  // src/components/LoginButton/index.tsx
2342
+ var import_react_intl9 = require("react-intl");
2278
2343
  var import_jsx_runtime51 = require("react/jsx-runtime");
2279
2344
  function LoginButton({
2280
2345
  loginRender,
@@ -2286,6 +2351,7 @@ function LoginButton({
2286
2351
  popoverGap = 20,
2287
2352
  ...props
2288
2353
  }) {
2354
+ const intl = (0, import_react_intl9.useIntl)();
2289
2355
  const { isLogin, username } = useUserInfo();
2290
2356
  const [loginOpen, setLoginOpen] = (0, import_react13.useState)(false);
2291
2357
  if (!isLogin) {
@@ -2293,13 +2359,15 @@ function LoginButton({
2293
2359
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(LoginModal, { methods, recommendMethods, isOpen: loginOpen, onClose: () => setLoginOpen(false) }),
2294
2360
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
2295
2361
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(UnLoginIcon_default, {}),
2296
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { children: "Login" })
2362
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl9.FormattedMessage, { id: "login" }) })
2297
2363
  ] })
2298
2364
  ] });
2299
2365
  }
2300
2366
  return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
2301
2367
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(LoginIcon_default, {}),
2302
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { children: username ? truncateAddress(username) : "MatchID User" })
2368
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
2369
+ id: "user"
2370
+ }) })
2303
2371
  ] }) });
2304
2372
  }
2305
2373
 
@@ -2328,6 +2396,7 @@ function InfoRoundIcon({
2328
2396
  }
2329
2397
 
2330
2398
  // src/components/UsernameModal/index.tsx
2399
+ var import_react_intl10 = require("react-intl");
2331
2400
  var import_jsx_runtime53 = require("react/jsx-runtime");
2332
2401
  var ValidItem = ({
2333
2402
  success = false,
@@ -2381,11 +2450,18 @@ function UsernameModal({
2381
2450
  setIsSubmitting(false);
2382
2451
  }
2383
2452
  };
2384
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || (username ? "Edit User Name" : "Set User Name"), children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "matchid-username-box", children: [
2385
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Field, { label: "User Name", error, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2453
+ const intl = (0, import_react_intl10.useIntl)();
2454
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
2455
+ id: username ? "editUsernameTitle" : "setUsernameTitle"
2456
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "matchid-username-box", children: [
2457
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Field, { label: intl.formatMessage({
2458
+ id: "username"
2459
+ }), error, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2386
2460
  Input,
2387
2461
  {
2388
- placeholder: "Enter Your User Name",
2462
+ placeholder: intl.formatMessage({
2463
+ id: "usernamePlaceholder"
2464
+ }),
2389
2465
  onChange: (e) => {
2390
2466
  setVal(e.target.value);
2391
2467
  setError("");
@@ -2398,17 +2474,21 @@ function UsernameModal({
2398
2474
  ValidItem,
2399
2475
  {
2400
2476
  success: isValid,
2401
- text: "Name can be composed of numbers and letters as well as characters"
2477
+ text: intl.formatMessage({
2478
+ id: "usernameValidError"
2479
+ })
2402
2480
  }
2403
2481
  ),
2404
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ValidItem, { success: isLength, text: "No less than 2 characters" })
2482
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
2483
+ id: "usernameLengthError"
2484
+ }) })
2405
2485
  ] }),
2406
2486
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
2407
2487
  marginTop: "64px"
2408
- }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: "Confirm" }),
2488
+ }, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_intl10.FormattedMessage, { id: "confirm" }) }),
2409
2489
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { style: {
2410
2490
  marginTop: "24px"
2411
- }, onClick: props.onClose, size: "lg", block: true, children: "Next Time" })
2491
+ }, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_intl10.FormattedMessage, { id: "nextTime" }) })
2412
2492
  ] }) });
2413
2493
  }
2414
2494
 
@@ -2437,6 +2517,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
2437
2517
  var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAABAsUlEQVR4Xu19CXQUx7X2vCUveS/vJdgx+yaJHQwI8G4wzWIbG2LLNrbxPgnY7CC0SyNpJBAIECAZAbLB8gAyKGGxiFnkGJwmz47xsU0mvyEWoGW0D0jgSeK88L84/7l/fS2V3GrNaDRCEiPpfud8p3qqu6tnpvt+favqVpXJxGAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYbYvCwkKlpKREvXDhglpQUKCKz+qlS5e0z8j3N5aXl6tXrlwJMf4OBoPRDD777LPg7Ozs0MOHD1NiYiLNnTuX7rzrDho5ejj179+f+vbt69ccNGgQBQQE0LBhw2jUqFE0ZswYun3sGBo3cQxNmDiexk+8XaTBIh1LwYLfbY/vcvsnTpyofUbqjXfeeSdNnjyZHnnkEXrxxRcpKSmJfvnLX9KuXbtCz5w5ozgcjmDjs8LoQlBVNcBqtZrFjbfjIYAR/fCHP6Qf/OAH9C//8i/0z//8zw2p3P6nf/qnhtRfKH4K00B534z5kvr/71//9V/p3/7t36hHjx6aeM6cOZPWr19Pubm56tmzZ81CCHqYGF0LH3/8sW3lypXqtGnTqHfv3tpDAOLBkakkHiQ8KJ4EwOTmAfMHGoWiO1HeO2O+O+r/M5wDMfiv//ovuuuuuyg6OloTAhOj68But6cvWLBAc51xs40PhHwojHmeiGP9jcbv2N3Y0v/A+L/p/z94gqhiwSPYsWNHuonRuSFc/h5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5Xz/UbqbRYJldj7jPraGnc9G1jHal6OhotPjbTYzOhUPvHlLnL/iZFg2IBh/jA+PpwTHul3MMGvObY2vaCHw9R3ZVGfObI85pzW9pzTnGPG9szTltRf39R5UQ3cqPPvqotlApRnhyi38nBKK6RH3N/M4776CbjyZMmEB9+/bVBnfIh83kRvkl5cPRUQbQXFuEJ/p6HX8WgNb8/rYiro0uXSwzh1GkmzIyKDs721xQUKB890QxOiUqKyuDEeCTkpISumvXLlq1ahU99NBDdP/99xNi/DFqcNiwYcxOSNw7EEFecNcR4+ErMcz7hRde0Gb22bNnz+nU1FRF/egjxfgcMboYzp8/H/zll1+qvz9/Xj3/1VfqVwYWFRWhu0e9cOGCto20sLBQo3gz8P4ust/Bk3kwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDN/x/wHjsXZ4EUApzgAAAABJRU5ErkJggg==";
2438
2518
 
2439
2519
  // src/components/SOLModal/index.tsx
2520
+ var import_react_intl11 = require("react-intl");
2440
2521
  var import_jsx_runtime54 = require("react/jsx-runtime");
2441
2522
  function WalletContent({
2442
2523
  onSuccess,
@@ -2634,7 +2715,12 @@ function SOLModal({
2634
2715
  onSuccess,
2635
2716
  ...props
2636
2717
  }) {
2637
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ModalWithHeader, { ...props, title: props.title || firstUpperCase(type + " SOL Wallet"), children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_wallet_adapter_react.ConnectionProvider, { endpoint: (0, import_web3.clusterApiUrl)("devnet"), children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_wallet_adapter_react.WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_wallet_adapter_react_ui.WalletModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(WalletContent, { onSuccess, type }) }) }) }) });
2718
+ const intl = (0, import_react_intl11.useIntl)();
2719
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
2720
+ id: type == "bind" ? "bindWith" : "loginWith"
2721
+ }, {
2722
+ name: "SOL"
2723
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_wallet_adapter_react.ConnectionProvider, { endpoint: (0, import_web3.clusterApiUrl)("devnet"), children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_wallet_adapter_react.WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_wallet_adapter_react_ui.WalletModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(WalletContent, { onSuccess, type }) }) }) }) });
2638
2724
  }
2639
2725
 
2640
2726
  // src/context/BusinessProvider.tsx
@@ -2817,7 +2903,8 @@ function useInit({
2817
2903
  theme,
2818
2904
  appid,
2819
2905
  events,
2820
- endpoints
2906
+ endpoints,
2907
+ locale
2821
2908
  }) {
2822
2909
  const {
2823
2910
  setAppid,
@@ -2826,7 +2913,9 @@ function useInit({
2826
2913
  setMid,
2827
2914
  token,
2828
2915
  setOverview,
2829
- setTheme
2916
+ setTheme,
2917
+ setLocale,
2918
+ locale: realLocale
2830
2919
  } = useLocalStore_default();
2831
2920
  const overviewLoadingRef = (0, import_react17.useRef)(false);
2832
2921
  const searchParams = new URLSearchParams(window.location.search);
@@ -2841,6 +2930,9 @@ function useInit({
2841
2930
  (0, import_react17.useEffect)(() => {
2842
2931
  setEndpoints(realEndpoints);
2843
2932
  }, [realEndpoints]);
2933
+ (0, import_react17.useEffect)(() => {
2934
+ setLocale(locale || "en");
2935
+ }, [locale]);
2844
2936
  (0, import_react17.useEffect)(() => {
2845
2937
  if (matchToken) {
2846
2938
  const tokenData = JSON.parse(atob(matchToken));
@@ -2913,26 +3005,429 @@ function useInit({
2913
3005
  return {
2914
3006
  loadOverview,
2915
3007
  login,
2916
- endpoints: realEndpoints
3008
+ endpoints: realEndpoints,
3009
+ locale: realLocale
2917
3010
  };
2918
3011
  }
2919
3012
 
2920
3013
  // src/MatchContext.tsx
2921
3014
  var import_react_query = require("@tanstack/react-query");
3015
+ var import_react_intl12 = require("react-intl");
3016
+
3017
+ // src/i18n/en.json
3018
+ var en_default = {
3019
+ email: "Email",
3020
+ emailAddress: "Email Address",
3021
+ emailAddressPlaceholder: "Enter Your Email Address",
3022
+ continue: "Continue",
3023
+ send: "Send",
3024
+ resend: "Resend",
3025
+ sendCodeErrorTip: "Failed to send code: {error}",
3026
+ sendEmailTips: "We have sent a verification code to your email",
3027
+ verificationCode: "Verification Code",
3028
+ codePlaceholder: "Enter the code",
3029
+ wallet: "Wallet",
3030
+ otherLoginMethods: "Other login methods",
3031
+ login: "Login",
3032
+ user: "User",
3033
+ loginTitle: "Log in / Sign up",
3034
+ loginTips: "You can use the following methods",
3035
+ passwordMinError: "Password must be at least {length} characters",
3036
+ passwordMatchError: "The password you entered twice do not match",
3037
+ passwordTitle: "Set Password",
3038
+ passwordTips: "Please set the wallet password that will be used to recover the wallet",
3039
+ password: "Password",
3040
+ passwordPlaceholder: "Enter Your Password",
3041
+ rePassword: "Re Password",
3042
+ rePasswordPlaceholder: "Re Enter the Password",
3043
+ recoverTitle: "Recover Wallet",
3044
+ recoverTips: "Please enter your password to recover your wallet",
3045
+ bindWith: "Bind with {name} Wallet",
3046
+ loginWith: "Login with {name} Wallet",
3047
+ editUsernameTitle: "Edit User Name",
3048
+ setUsernameTitle: "Set User Name",
3049
+ username: "User Name",
3050
+ usernamePlaceholder: "Enter Your User Name",
3051
+ usernameValidError: "Name can be composed of numbers and letters as well as characters",
3052
+ usernameLengthError: "No less than 2 characters",
3053
+ confirm: "Confirm",
3054
+ nextTime: "Next time",
3055
+ setUsername: "Set a User Name",
3056
+ disconnect: "Disconnect"
3057
+ };
3058
+
3059
+ // src/i18n/zh.json
3060
+ var zh_default = {
3061
+ email: "\u90AE\u7BB1",
3062
+ emailAddress: "\u90AE\u7BB1\u5730\u5740",
3063
+ emailAddressPlaceholder: "\u8BF7\u8F93\u5165\u60A8\u7684\u90AE\u7BB1\u5730\u5740",
3064
+ continue: "\u7EE7\u7EED",
3065
+ send: "\u53D1\u9001",
3066
+ resend: "\u91CD\u65B0\u53D1\u9001",
3067
+ sendCodeErrorTip: "\u53D1\u9001\u9A8C\u8BC1\u7801\u5931\u8D25\uFF1A{error}",
3068
+ sendEmailTips: "\u6211\u4EEC\u5DF2\u5411\u60A8\u7684\u90AE\u7BB1\u53D1\u9001\u9A8C\u8BC1\u7801",
3069
+ verificationCode: "\u9A8C\u8BC1\u7801",
3070
+ codePlaceholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",
3071
+ wallet: "\u94B1\u5305",
3072
+ otherLoginMethods: "\u5176\u4ED6\u767B\u5F55\u65B9\u5F0F",
3073
+ login: "\u767B\u5F55",
3074
+ user: "\u7528\u6237",
3075
+ loginTitle: "\u767B\u5F55 / \u6CE8\u518C",
3076
+ loginTips: "\u60A8\u53EF\u4EE5\u4F7F\u7528\u4EE5\u4E0B\u65B9\u5F0F\u767B\u5F55",
3077
+ passwordMinError: "\u5BC6\u7801\u5FC5\u987B\u81F3\u5C11\u5305\u542B {length} \u4E2A\u5B57\u7B26",
3078
+ passwordMatchError: "\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4",
3079
+ passwordTitle: "\u8BBE\u7F6E\u5BC6\u7801",
3080
+ passwordTips: "\u8BF7\u8BBE\u7F6E\u7528\u4E8E\u6062\u590D\u94B1\u5305\u7684\u94B1\u5305\u5BC6\u7801",
3081
+ password: "\u5BC6\u7801",
3082
+ passwordPlaceholder: "\u8BF7\u8F93\u5165\u60A8\u7684\u5BC6\u7801",
3083
+ rePassword: "\u786E\u8BA4\u5BC6\u7801",
3084
+ rePasswordPlaceholder: "\u8BF7\u518D\u6B21\u8F93\u5165\u5BC6\u7801",
3085
+ recoverTitle: "\u6062\u590D\u94B1\u5305",
3086
+ recoverTips: "\u8BF7\u8F93\u5165\u60A8\u7684\u5BC6\u7801\u4EE5\u6062\u590D\u94B1\u5305",
3087
+ bindWith: "\u7ED1\u5B9A {name} \u94B1\u5305",
3088
+ loginWith: "\u4F7F\u7528 {name} \u94B1\u5305\u767B\u5F55",
3089
+ editUsernameTitle: "\u4FEE\u6539\u7528\u6237\u540D",
3090
+ setUsernameTitle: "\u8BBE\u7F6E\u7528\u6237\u540D",
3091
+ username: "\u7528\u6237\u540D",
3092
+ usernamePlaceholder: "\u8BF7\u8F93\u5165\u60A8\u7684\u7528\u6237\u540D",
3093
+ usernameValidError: "\u7528\u6237\u540D\u53EF\u4EE5\u7531\u6570\u5B57\u3001\u5B57\u6BCD\u548C\u5B57\u7B26\u7EC4\u6210",
3094
+ usernameLengthError: "\u7528\u6237\u540D\u4E0D\u5F97\u5C11\u4E8E 2 \u4E2A\u5B57\u7B26",
3095
+ confirm: "\u786E\u8BA4",
3096
+ nextTime: "\u4E0B\u6B21\u518D\u8BF4",
3097
+ setUsername: "\u8BBE\u7F6E\u7528\u6237\u540D",
3098
+ disconnect: "\u65AD\u5F00\u8FDE\u63A5"
3099
+ };
3100
+
3101
+ // src/i18n/tw.json
3102
+ var tw_default = {
3103
+ email: "\u90F5\u7BB1",
3104
+ emailAddress: "\u90F5\u7BB1\u5730\u5740",
3105
+ emailAddressPlaceholder: "\u8ACB\u8F38\u5165\u60A8\u7684\u90F5\u7BB1\u5730\u5740",
3106
+ continue: "\u7E7C\u7E8C",
3107
+ send: "\u767C\u9001",
3108
+ resend: "\u91CD\u65B0\u767C\u9001",
3109
+ sendCodeErrorTip: "\u767C\u9001\u9A57\u8B49\u78BC\u5931\u6557\uFF1A{error}",
3110
+ sendEmailTips: "\u6211\u5011\u5DF2\u5411\u60A8\u7684\u90F5\u7BB1\u767C\u9001\u9A57\u8B49\u78BC",
3111
+ verificationCode: "\u9A57\u8B49\u78BC",
3112
+ codePlaceholder: "\u8ACB\u8F38\u5165\u9A57\u8B49\u78BC",
3113
+ wallet: "\u9322\u5305",
3114
+ otherLoginMethods: "\u5176\u4ED6\u767B\u5165\u65B9\u5F0F",
3115
+ login: "\u767B\u5165",
3116
+ user: "\u7528\u6236",
3117
+ loginTitle: "\u767B\u5165 / \u8A3B\u518A",
3118
+ loginTips: "\u60A8\u53EF\u4EE5\u4F7F\u7528\u4EE5\u4E0B\u65B9\u5F0F\u767B\u5165",
3119
+ passwordMinError: "\u5BC6\u78BC\u5FC5\u9808\u81F3\u5C11\u5305\u542B {length} \u500B\u5B57\u7B26",
3120
+ passwordMatchError: "\u5169\u6B21\u8F38\u5165\u7684\u5BC6\u78BC\u4E0D\u4E00\u81F4",
3121
+ passwordTitle: "\u8A2D\u7F6E\u5BC6\u78BC",
3122
+ passwordTips: "\u8ACB\u8A2D\u7F6E\u7528\u65BC\u6062\u5FA9\u9322\u5305\u7684\u5BC6\u78BC",
3123
+ password: "\u5BC6\u78BC",
3124
+ passwordPlaceholder: "\u8ACB\u8F38\u5165\u60A8\u7684\u5BC6\u78BC",
3125
+ rePassword: "\u78BA\u8A8D\u5BC6\u78BC",
3126
+ rePasswordPlaceholder: "\u8ACB\u518D\u6B21\u8F38\u5165\u5BC6\u78BC",
3127
+ recoverTitle: "\u6062\u5FA9\u9322\u5305",
3128
+ recoverTips: "\u8ACB\u8F38\u5165\u60A8\u7684\u5BC6\u78BC\u4EE5\u6062\u5FA9\u9322\u5305",
3129
+ bindWith: "\u7D81\u5B9A {name} \u9322\u5305",
3130
+ loginWith: "\u4F7F\u7528 {name} \u9322\u5305\u767B\u5165",
3131
+ editUsernameTitle: "\u4FEE\u6539\u7528\u6236\u540D",
3132
+ setUsernameTitle: "\u8A2D\u7F6E\u7528\u6236\u540D",
3133
+ username: "\u7528\u6236\u540D",
3134
+ usernamePlaceholder: "\u8ACB\u8F38\u5165\u60A8\u7684\u7528\u6236\u540D",
3135
+ usernameValidError: "\u7528\u6236\u540D\u53EF\u4EE5\u7531\u6578\u5B57\u3001\u5B57\u6BCD\u548C\u5B57\u7B26\u7D44\u6210",
3136
+ usernameLengthError: "\u7528\u6236\u540D\u4E0D\u5F97\u5C11\u65BC 2 \u500B\u5B57\u7B26",
3137
+ confirm: "\u78BA\u8A8D",
3138
+ nextTime: "\u4E0B\u6B21\u518D\u8AAA",
3139
+ setUsername: "\u8A2D\u7F6E\u7528\u6236\u540D",
3140
+ disconnect: "\u65B7\u958B\u9023\u63A5"
3141
+ };
3142
+
3143
+ // src/i18n/fr.json
3144
+ var fr_default = {
3145
+ email: "Email",
3146
+ emailAddress: "Adresse Email",
3147
+ emailAddressPlaceholder: "Entrez votre adresse email",
3148
+ continue: "Continuer",
3149
+ send: "Envoyer",
3150
+ resend: "Renvoyer",
3151
+ sendCodeErrorTip: "\xC9chec de l'envoi du code : {error}",
3152
+ sendEmailTips: "Un code de v\xE9rification a \xE9t\xE9 envoy\xE9 \xE0 votre email",
3153
+ verificationCode: "Code de v\xE9rification",
3154
+ codePlaceholder: "Entrez le code",
3155
+ wallet: "Portefeuille",
3156
+ otherLoginMethods: "Autres m\xE9thodes de connexion",
3157
+ login: "Connexion",
3158
+ user: "Utilisateur",
3159
+ loginTitle: "Connexion / Inscription",
3160
+ loginTips: "Vous pouvez utiliser les m\xE9thodes suivantes",
3161
+ passwordMinError: "Le mot de passe doit contenir au moins {length} caract\xE8res",
3162
+ passwordMatchError: "Les mots de passe ne correspondent pas",
3163
+ passwordTitle: "D\xE9finir un mot de passe",
3164
+ passwordTips: "Veuillez d\xE9finir le mot de passe pour restaurer le portefeuille",
3165
+ password: "Mot de passe",
3166
+ passwordPlaceholder: "Entrez votre mot de passe",
3167
+ rePassword: "Confirmer le mot de passe",
3168
+ rePasswordPlaceholder: "Ressaisissez le mot de passe",
3169
+ recoverTitle: "Restaurer le portefeuille",
3170
+ recoverTips: "Entrez votre mot de passe pour restaurer le portefeuille",
3171
+ bindWith: "Lier avec le portefeuille {name}",
3172
+ loginWith: "Connexion avec le portefeuille {name}",
3173
+ editUsernameTitle: "Modifier le nom d'utilisateur",
3174
+ setUsernameTitle: "D\xE9finir un nom d'utilisateur",
3175
+ username: "Nom d'utilisateur",
3176
+ usernamePlaceholder: "Entrez votre nom d'utilisateur",
3177
+ usernameValidError: "Le nom peut contenir des lettres, chiffres et caract\xE8res",
3178
+ usernameLengthError: "Le nom doit comporter au moins 2 caract\xE8res",
3179
+ confirm: "Confirmer",
3180
+ nextTime: "La prochaine fois",
3181
+ setUsername: "D\xE9finir un nom d'utilisateur",
3182
+ disconnect: "D\xE9connecter"
3183
+ };
3184
+
3185
+ // src/i18n/ja.json
3186
+ var ja_default = {
3187
+ email: "\u30E1\u30FC\u30EB",
3188
+ emailAddress: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",
3189
+ emailAddressPlaceholder: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
3190
+ continue: "\u7D9A\u3051\u308B",
3191
+ send: "\u9001\u4FE1",
3192
+ resend: "\u518D\u9001\u4FE1",
3193
+ sendCodeErrorTip: "\u30B3\u30FC\u30C9\u9001\u4FE1\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {error}",
3194
+ sendEmailTips: "\u78BA\u8A8D\u30B3\u30FC\u30C9\u3092\u30E1\u30FC\u30EB\u306B\u9001\u4FE1\u3057\u307E\u3057\u305F",
3195
+ verificationCode: "\u78BA\u8A8D\u30B3\u30FC\u30C9",
3196
+ codePlaceholder: "\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
3197
+ wallet: "\u30A6\u30A9\u30EC\u30C3\u30C8",
3198
+ otherLoginMethods: "\u305D\u306E\u4ED6\u306E\u30ED\u30B0\u30A4\u30F3\u65B9\u6CD5",
3199
+ login: "\u30ED\u30B0\u30A4\u30F3",
3200
+ user: "\u30E6\u30FC\u30B6\u30FC",
3201
+ loginTitle: "\u30ED\u30B0\u30A4\u30F3 / \u767B\u9332",
3202
+ loginTips: "\u4EE5\u4E0B\u306E\u65B9\u6CD5\u3067\u30ED\u30B0\u30A4\u30F3\u3067\u304D\u307E\u3059",
3203
+ passwordMinError: "\u30D1\u30B9\u30EF\u30FC\u30C9\u306F\u6700\u4F4E {length} \u6587\u5B57\u5FC5\u8981\u3067\u3059",
3204
+ passwordMatchError: "\u5165\u529B\u3055\u308C\u305F\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093",
3205
+ passwordTitle: "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A2D\u5B9A",
3206
+ passwordTips: "\u30A6\u30A9\u30EC\u30C3\u30C8\u5FA9\u5143\u7528\u306E\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",
3207
+ password: "\u30D1\u30B9\u30EF\u30FC\u30C9",
3208
+ passwordPlaceholder: "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
3209
+ rePassword: "\u30D1\u30B9\u30EF\u30FC\u30C9\u78BA\u8A8D",
3210
+ rePasswordPlaceholder: "\u518D\u5EA6\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
3211
+ recoverTitle: "\u30A6\u30A9\u30EC\u30C3\u30C8\u3092\u5FA9\u5143",
3212
+ recoverTips: "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u30A6\u30A9\u30EC\u30C3\u30C8\u3092\u5FA9\u5143\u3057\u3066\u304F\u3060\u3055\u3044",
3213
+ bindWith: "{name}\u30A6\u30A9\u30EC\u30C3\u30C8\u3068\u9023\u643A",
3214
+ loginWith: "{name}\u30A6\u30A9\u30EC\u30C3\u30C8\u3067\u30ED\u30B0\u30A4\u30F3",
3215
+ editUsernameTitle: "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u7DE8\u96C6",
3216
+ setUsernameTitle: "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u8A2D\u5B9A",
3217
+ username: "\u30E6\u30FC\u30B6\u30FC\u540D",
3218
+ usernamePlaceholder: "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
3219
+ usernameValidError: "\u540D\u524D\u306F\u6587\u5B57\u3001\u6570\u5B57\u3001\u8A18\u53F7\u3067\u69CB\u6210\u3067\u304D\u307E\u3059",
3220
+ usernameLengthError: "2\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
3221
+ confirm: "\u78BA\u8A8D",
3222
+ nextTime: "\u6B21\u56DE",
3223
+ setUsername: "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u8A2D\u5B9A",
3224
+ disconnect: "\u5207\u65AD"
3225
+ };
3226
+
3227
+ // src/i18n/ko.json
3228
+ var ko_default = {
3229
+ email: "\uC774\uBA54\uC77C",
3230
+ emailAddress: "\uC774\uBA54\uC77C \uC8FC\uC18C",
3231
+ emailAddressPlaceholder: "\uC774\uBA54\uC77C \uC8FC\uC18C\uB97C \uC785\uB825\uD558\uC138\uC694",
3232
+ continue: "\uACC4\uC18D\uD558\uAE30",
3233
+ send: "\uBCF4\uB0B4\uAE30",
3234
+ resend: "\uC7AC\uC804\uC1A1",
3235
+ sendCodeErrorTip: "\uCF54\uB4DC \uC804\uC1A1 \uC2E4\uD328: {error}",
3236
+ sendEmailTips: "\uC778\uC99D \uCF54\uB4DC\uB97C \uC774\uBA54\uC77C\uB85C \uBCF4\uB0C8\uC2B5\uB2C8\uB2E4",
3237
+ verificationCode: "\uC778\uC99D \uCF54\uB4DC",
3238
+ codePlaceholder: "\uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",
3239
+ wallet: "\uC9C0\uAC11",
3240
+ otherLoginMethods: "\uB2E4\uB978 \uB85C\uADF8\uC778 \uBC29\uBC95",
3241
+ login: "\uB85C\uADF8\uC778",
3242
+ user: "\uC0AC\uC6A9\uC790",
3243
+ loginTitle: "\uB85C\uADF8\uC778 / \uD68C\uC6D0\uAC00\uC785",
3244
+ loginTips: "\uB2E4\uC74C \uBC29\uBC95\uC73C\uB85C \uB85C\uADF8\uC778\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
3245
+ passwordMinError: "\uBE44\uBC00\uBC88\uD638\uB294 \uCD5C\uC18C {length}\uC790 \uC774\uC0C1\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4",
3246
+ passwordMatchError: "\uB450 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",
3247
+ passwordTitle: "\uBE44\uBC00\uBC88\uD638 \uC124\uC815",
3248
+ passwordTips: "\uC9C0\uAC11 \uBCF5\uAD6C\uC5D0 \uC0AC\uC6A9\uD560 \uBE44\uBC00\uBC88\uD638\uB97C \uC124\uC815\uD558\uC138\uC694",
3249
+ password: "\uBE44\uBC00\uBC88\uD638",
3250
+ passwordPlaceholder: "\uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694",
3251
+ rePassword: "\uBE44\uBC00\uBC88\uD638 \uD655\uC778",
3252
+ rePasswordPlaceholder: "\uBE44\uBC00\uBC88\uD638\uB97C \uB2E4\uC2DC \uC785\uB825\uD558\uC138\uC694",
3253
+ recoverTitle: "\uC9C0\uAC11 \uBCF5\uAD6C",
3254
+ recoverTips: "\uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD574 \uC9C0\uAC11\uC744 \uBCF5\uAD6C\uD558\uC138\uC694",
3255
+ bindWith: "{name} \uC9C0\uAC11\uACFC \uC5F0\uACB0",
3256
+ loginWith: "{name} \uC9C0\uAC11\uC73C\uB85C \uB85C\uADF8\uC778",
3257
+ editUsernameTitle: "\uC0AC\uC6A9\uC790 \uC774\uB984 \uC218\uC815",
3258
+ setUsernameTitle: "\uC0AC\uC6A9\uC790 \uC774\uB984 \uC124\uC815",
3259
+ username: "\uC0AC\uC6A9\uC790 \uC774\uB984",
3260
+ usernamePlaceholder: "\uC0AC\uC6A9\uC790 \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694",
3261
+ usernameValidError: "\uC774\uB984\uC740 \uBB38\uC790, \uC22B\uC790 \uBC0F \uD2B9\uC218\uBB38\uC790\uB85C \uAD6C\uC131\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
3262
+ usernameLengthError: "\uC774\uB984\uC740 \uCD5C\uC18C 2\uC790 \uC774\uC0C1\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4",
3263
+ confirm: "\uD655\uC778",
3264
+ nextTime: "\uB2E4\uC74C\uC5D0",
3265
+ setUsername: "\uC0AC\uC6A9\uC790 \uC774\uB984 \uC124\uC815",
3266
+ disconnect: "\uC5F0\uACB0 \uB04A\uAE30"
3267
+ };
3268
+
3269
+ // src/i18n/vi.json
3270
+ var vi_default = {
3271
+ email: "Email",
3272
+ emailAddress: "\u0110\u1ECBa ch\u1EC9 Email",
3273
+ emailAddressPlaceholder: "Nh\u1EADp \u0111\u1ECBa ch\u1EC9 Email c\u1EE7a b\u1EA1n",
3274
+ continue: "Ti\u1EBFp t\u1EE5c",
3275
+ send: "G\u1EEDi",
3276
+ resend: "G\u1EEDi l\u1EA1i",
3277
+ sendCodeErrorTip: "G\u1EEDi m\xE3 th\u1EA5t b\u1EA1i: {error}",
3278
+ sendEmailTips: "Ch\xFAng t\xF4i \u0111\xE3 g\u1EEDi m\xE3 x\xE1c minh \u0111\u1EBFn email c\u1EE7a b\u1EA1n",
3279
+ verificationCode: "M\xE3 x\xE1c minh",
3280
+ codePlaceholder: "Nh\u1EADp m\xE3",
3281
+ wallet: "V\xED",
3282
+ otherLoginMethods: "Ph\u01B0\u01A1ng th\u1EE9c \u0111\u0103ng nh\u1EADp kh\xE1c",
3283
+ login: "\u0110\u0103ng nh\u1EADp",
3284
+ user: "Ng\u01B0\u1EDDi d\xF9ng",
3285
+ loginTitle: "\u0110\u0103ng nh\u1EADp / \u0110\u0103ng k\xFD",
3286
+ loginTips: "B\u1EA1n c\xF3 th\u1EC3 s\u1EED d\u1EE5ng c\xE1c ph\u01B0\u01A1ng th\u1EE9c sau",
3287
+ passwordMinError: "M\u1EADt kh\u1EA9u ph\u1EA3i c\xF3 \xEDt nh\u1EA5t {length} k\xFD t\u1EF1",
3288
+ passwordMatchError: "Hai m\u1EADt kh\u1EA9u kh\xF4ng kh\u1EDBp",
3289
+ passwordTitle: "T\u1EA1o m\u1EADt kh\u1EA9u",
3290
+ passwordTips: "Vui l\xF2ng \u0111\u1EB7t m\u1EADt kh\u1EA9u \u0111\u1EC3 kh\xF4i ph\u1EE5c v\xED",
3291
+ password: "M\u1EADt kh\u1EA9u",
3292
+ passwordPlaceholder: "Nh\u1EADp m\u1EADt kh\u1EA9u c\u1EE7a b\u1EA1n",
3293
+ rePassword: "X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u",
3294
+ rePasswordPlaceholder: "Nh\u1EADp l\u1EA1i m\u1EADt kh\u1EA9u",
3295
+ recoverTitle: "Kh\xF4i ph\u1EE5c v\xED",
3296
+ recoverTips: "Nh\u1EADp m\u1EADt kh\u1EA9u \u0111\u1EC3 kh\xF4i ph\u1EE5c v\xED",
3297
+ bindWith: "Li\xEAn k\u1EBFt v\u1EDBi v\xED {name}",
3298
+ loginWith: "\u0110\u0103ng nh\u1EADp b\u1EB1ng v\xED {name}",
3299
+ editUsernameTitle: "Ch\u1EC9nh s\u1EEDa t\xEAn ng\u01B0\u1EDDi d\xF9ng",
3300
+ setUsernameTitle: "\u0110\u1EB7t t\xEAn ng\u01B0\u1EDDi d\xF9ng",
3301
+ username: "T\xEAn ng\u01B0\u1EDDi d\xF9ng",
3302
+ usernamePlaceholder: "Nh\u1EADp t\xEAn ng\u01B0\u1EDDi d\xF9ng c\u1EE7a b\u1EA1n",
3303
+ usernameValidError: "T\xEAn ch\u1EC9 \u0111\u01B0\u1EE3c ch\u1EE9a ch\u1EEF, s\u1ED1 v\xE0 k\xFD t\u1EF1",
3304
+ usernameLengthError: "T\xEAn ph\u1EA3i d\xE0i \xEDt nh\u1EA5t 2 k\xFD t\u1EF1",
3305
+ confirm: "X\xE1c nh\u1EADn",
3306
+ nextTime: "L\u1EA7n sau",
3307
+ setUsername: "\u0110\u1EB7t t\xEAn ng\u01B0\u1EDDi d\xF9ng",
3308
+ disconnect: "Ng\u1EAFt k\u1EBFt n\u1ED1i"
3309
+ };
3310
+
3311
+ // src/i18n/es.json
3312
+ var es_default = {
3313
+ email: "Correo",
3314
+ emailAddress: "Direcci\xF3n de correo",
3315
+ emailAddressPlaceholder: "Introduce tu direcci\xF3n de correo",
3316
+ continue: "Continuar",
3317
+ send: "Enviar",
3318
+ resend: "Reenviar",
3319
+ sendCodeErrorTip: "Error al enviar el c\xF3digo: {error}",
3320
+ sendEmailTips: "Hemos enviado un c\xF3digo de verificaci\xF3n a tu correo",
3321
+ verificationCode: "C\xF3digo de verificaci\xF3n",
3322
+ codePlaceholder: "Introduce el c\xF3digo",
3323
+ wallet: "Cartera",
3324
+ otherLoginMethods: "Otros m\xE9todos de inicio de sesi\xF3n",
3325
+ login: "Iniciar sesi\xF3n",
3326
+ user: "Usuario",
3327
+ loginTitle: "Iniciar sesi\xF3n / Registrarse",
3328
+ loginTips: "Puedes usar los siguientes m\xE9todos",
3329
+ passwordMinError: "La contrase\xF1a debe tener al menos {length} caracteres",
3330
+ passwordMatchError: "Las contrase\xF1as no coinciden",
3331
+ passwordTitle: "Establecer contrase\xF1a",
3332
+ passwordTips: "Configura la contrase\xF1a para recuperar tu cartera",
3333
+ password: "Contrase\xF1a",
3334
+ passwordPlaceholder: "Introduce tu contrase\xF1a",
3335
+ rePassword: "Confirmar contrase\xF1a",
3336
+ rePasswordPlaceholder: "Repite la contrase\xF1a",
3337
+ recoverTitle: "Recuperar cartera",
3338
+ recoverTips: "Introduce tu contrase\xF1a para recuperar la cartera",
3339
+ bindWith: "Vincular con la cartera {name}",
3340
+ loginWith: "Iniciar sesi\xF3n con la cartera {name}",
3341
+ editUsernameTitle: "Editar nombre de usuario",
3342
+ setUsernameTitle: "Establecer nombre de usuario",
3343
+ username: "Nombre de usuario",
3344
+ usernamePlaceholder: "Introduce tu nombre de usuario",
3345
+ usernameValidError: "El nombre puede contener letras, n\xFAmeros y caracteres",
3346
+ usernameLengthError: "El nombre debe tener al menos 2 caracteres",
3347
+ confirm: "Confirmar",
3348
+ nextTime: "La pr\xF3xima vez",
3349
+ setUsername: "Establecer nombre de usuario",
3350
+ disconnect: "Desconectar"
3351
+ };
3352
+
3353
+ // src/i18n/pt.json
3354
+ var pt_default = {
3355
+ email: "Email",
3356
+ emailAddress: "Endere\xE7o de Email",
3357
+ emailAddressPlaceholder: "Digite seu endere\xE7o de email",
3358
+ continue: "Continuar",
3359
+ send: "Enviar",
3360
+ resend: "Reenviar",
3361
+ sendCodeErrorTip: "Falha ao enviar c\xF3digo: {error}",
3362
+ sendEmailTips: "Enviamos um c\xF3digo de verifica\xE7\xE3o para seu email",
3363
+ verificationCode: "C\xF3digo de Verifica\xE7\xE3o",
3364
+ codePlaceholder: "Digite o c\xF3digo",
3365
+ wallet: "Carteira",
3366
+ otherLoginMethods: "Outros m\xE9todos de login",
3367
+ login: "Entrar",
3368
+ user: "Usu\xE1rio",
3369
+ loginTitle: "Entrar / Registrar",
3370
+ loginTips: "Voc\xEA pode usar os m\xE9todos abaixo",
3371
+ passwordMinError: "A senha deve ter pelo menos {length} caracteres",
3372
+ passwordMatchError: "As senhas digitadas n\xE3o coincidem",
3373
+ passwordTitle: "Definir Senha",
3374
+ passwordTips: "Configure uma senha para recuperar sua carteira",
3375
+ password: "Senha",
3376
+ passwordPlaceholder: "Digite sua senha",
3377
+ rePassword: "Confirmar Senha",
3378
+ rePasswordPlaceholder: "Digite a senha novamente",
3379
+ recoverTitle: "Recuperar Carteira",
3380
+ recoverTips: "Digite sua senha para recuperar a carteira",
3381
+ bindWith: "Vincular com Carteira {name}",
3382
+ loginWith: "Entrar com Carteira {name}",
3383
+ editUsernameTitle: "Editar Nome de Usu\xE1rio",
3384
+ setUsernameTitle: "Definir Nome de Usu\xE1rio",
3385
+ username: "Nome de Usu\xE1rio",
3386
+ usernamePlaceholder: "Digite seu nome de usu\xE1rio",
3387
+ usernameValidError: "O nome pode conter letras, n\xFAmeros e caracteres",
3388
+ usernameLengthError: "Deve ter no m\xEDnimo 2 caracteres",
3389
+ confirm: "Confirmar",
3390
+ nextTime: "Pr\xF3xima vez",
3391
+ setUsername: "Definir Nome de Usu\xE1rio",
3392
+ disconnect: "Desconectar"
3393
+ };
3394
+
3395
+ // src/i18n/index.ts
3396
+ var messages = {
3397
+ en: en_default,
3398
+ zh: zh_default,
3399
+ tw: tw_default,
3400
+ fr: fr_default,
3401
+ ja: ja_default,
3402
+ ko: ko_default,
3403
+ vi: vi_default,
3404
+ es: es_default,
3405
+ pt: pt_default
3406
+ };
3407
+
3408
+ // src/MatchContext.tsx
2922
3409
  var import_jsx_runtime57 = require("react/jsx-runtime");
2923
3410
  var queryClient = new import_react_query.QueryClient();
2924
3411
  var MatchContext = (0, import_react18.createContext)(void 0);
2925
- var MatchProvider = ({ children, appid, events, theme = "light", endpoints }) => {
2926
- const { loadOverview, login, endpoints: realEndPoints } = useInit({
3412
+ var MatchProvider = ({ children, appid, events, theme = "light", endpoints, locale }) => {
3413
+ const { loadOverview, login, endpoints: realEndPoints, locale: realLocale } = useInit({
2927
3414
  theme,
2928
3415
  appid,
2929
3416
  events,
2930
- endpoints
3417
+ endpoints,
3418
+ locale
3419
+ });
3420
+ matchlog_default.log("config", {
3421
+ appid,
3422
+ theme,
3423
+ endpoints,
3424
+ locale,
3425
+ realLocale
2931
3426
  });
2932
3427
  useWalletInit({
2933
3428
  refreshOverview: loadOverview
2934
3429
  });
2935
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_query.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3430
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_intl12.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_query.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2936
3431
  MatchContext.Provider,
2937
3432
  {
2938
3433
  value: {
@@ -2940,11 +3435,12 @@ var MatchProvider = ({ children, appid, events, theme = "light", endpoints }) =>
2940
3435
  endpoints: realEndPoints,
2941
3436
  events,
2942
3437
  login,
2943
- theme
3438
+ theme,
3439
+ locale: realLocale
2944
3440
  },
2945
3441
  children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(context_default, { children })
2946
3442
  }
2947
- ) });
3443
+ ) }) });
2948
3444
  };
2949
3445
  var useMatch = () => {
2950
3446
  const context = (0, import_react18.useContext)(MatchContext);