@cfxjs/sirius-next-common 0.2.17 → 0.2.18

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 (157) hide show
  1. package/dist/{chunk-SX6R4MHO.js → chunk-2WEBXRNL.js} +2 -2
  2. package/dist/{chunk-CNF26YY7.js → chunk-6L4ZEJQI.js} +2 -2
  3. package/dist/{chunk-2KXTTKRI.js → chunk-7AVQOIDM.js} +2 -2
  4. package/dist/{chunk-ZLNQICQZ.js → chunk-7VQL3G7K.js} +4 -4
  5. package/dist/{chunk-GSWIFV2B.js → chunk-AYCHKB2Y.js} +2 -2
  6. package/dist/{chunk-E3ZD2GGG.js → chunk-BEI5TWJL.js} +2 -2
  7. package/dist/{chunk-CKVDFS45.js → chunk-BHAXBHVC.js} +8 -13
  8. package/dist/chunk-BHAXBHVC.js.map +1 -0
  9. package/dist/{chunk-LBWKTQYK.js → chunk-C6CGZ6KN.js} +2 -2
  10. package/dist/{chunk-P4EE3QGM.js → chunk-C7OIVXE3.js} +3 -3
  11. package/dist/{chunk-BUSBM33B.js → chunk-CMOP3BKX.js} +3 -3
  12. package/dist/{chunk-6H5A42YS.js → chunk-DCQANK66.js} +2 -2
  13. package/dist/{chunk-OZ4OJLIM.js → chunk-DYNSSHD5.js} +7 -7
  14. package/dist/{chunk-OCQIWTDC.js → chunk-ELF2EOGF.js} +2 -2
  15. package/dist/{chunk-5M5ECKFB.js → chunk-GG7ROFBQ.js} +45 -41
  16. package/dist/chunk-GG7ROFBQ.js.map +1 -0
  17. package/dist/{chunk-YIZCD4WG.js → chunk-GHHUAWSG.js} +3 -3
  18. package/dist/{chunk-DF3PVTB5.js → chunk-GQRCW7WX.js} +2 -2
  19. package/dist/{chunk-YIXV7A4J.js → chunk-H5ZJBRIK.js} +4 -4
  20. package/dist/{chunk-JRB53YY7.js → chunk-K4SBN5ZT.js} +22 -18
  21. package/dist/chunk-K4SBN5ZT.js.map +1 -0
  22. package/dist/{chunk-3PXUIH3S.js → chunk-LCIBOT5P.js} +2 -2
  23. package/dist/chunk-MUW5KBWU.js +25 -0
  24. package/dist/chunk-MUW5KBWU.js.map +1 -0
  25. package/dist/{chunk-7OSADJ6H.js → chunk-NFPBS22O.js} +24 -9
  26. package/dist/chunk-NFPBS22O.js.map +1 -0
  27. package/dist/{chunk-CPPQCJEV.js → chunk-NM3BMITL.js} +4 -5
  28. package/dist/chunk-NM3BMITL.js.map +1 -0
  29. package/dist/{chunk-L62OTV7F.js → chunk-OT7NZ4PK.js} +3 -3
  30. package/dist/{chunk-EMPFZFBS.js → chunk-RUU22F7R.js} +2 -2
  31. package/dist/{chunk-CPR4QZT6.js → chunk-UF5BN4QN.js} +2 -2
  32. package/dist/{chunk-TP67325Z.js → chunk-UZALXR3J.js} +4 -4
  33. package/dist/{chunk-5EDEEGZK.js → chunk-VGYNHJFT.js} +16 -3
  34. package/dist/chunk-VGYNHJFT.js.map +1 -0
  35. package/dist/{chunk-CL6QEKM6.js → chunk-W64AF7LA.js} +5 -5
  36. package/dist/chunk-WZIT54AU.js +51 -0
  37. package/dist/chunk-WZIT54AU.js.map +1 -0
  38. package/dist/{chunk-LUCBUM2Y.js → chunk-XZL5CZFT.js} +4 -4
  39. package/dist/{chunk-5Y7I6VYA.js → chunk-YEAWH772.js} +2 -2
  40. package/dist/{chunk-5CDCNIBM.js → chunk-YKHDBNJD.js} +21 -24
  41. package/dist/chunk-YKHDBNJD.js.map +1 -0
  42. package/dist/{chunk-LVFMTP5H.js → chunk-YVV32ON3.js} +2 -2
  43. package/dist/components/AceEditor/index.js +4 -4
  44. package/dist/components/AddressContainer/CoreAddressContainer.d.ts +1 -0
  45. package/dist/components/AddressContainer/CoreAddressContainer.js +10 -10
  46. package/dist/components/AddressContainer/EVMAddressContainer.d.ts +1 -0
  47. package/dist/components/AddressContainer/EVMAddressContainer.js +9 -9
  48. package/dist/components/AddressContainer/addressSwitcher.d.ts +1 -0
  49. package/dist/components/AddressContainer/addressSwitcher.js +7 -7
  50. package/dist/components/AddressContainer/addressView.d.ts +2 -1
  51. package/dist/components/AddressContainer/addressView.js +6 -6
  52. package/dist/components/AddressContainer/label.js +45 -6
  53. package/dist/components/AddressContainer/label.js.map +1 -1
  54. package/dist/components/AddressContainer/types.d.ts +20 -23
  55. package/dist/components/AddressContainer/utils.d.ts +17 -2
  56. package/dist/components/AddressContainer/utils.js +6 -20
  57. package/dist/components/AddressContainer/utils.js.map +1 -1
  58. package/dist/components/Age/index.js +4 -4
  59. package/dist/components/AutoComplete/index.js +3 -3
  60. package/dist/components/Charts/PreviewChartTemplate.js +1 -1
  61. package/dist/components/Charts/StockChartTemplate.js +1 -1
  62. package/dist/components/CopyButton/index.js +3 -3
  63. package/dist/components/DecimalsSelect/index.js +3 -3
  64. package/dist/components/DownloadCSV/index.js +4 -4
  65. package/dist/components/GasPriceDropdown/index.js +2 -2
  66. package/dist/components/IncreasePercent/index.js +2 -2
  67. package/dist/components/InfoIconWithTooltip/index.js +4 -4
  68. package/dist/components/InputData/AddressLabel.js +8 -9
  69. package/dist/components/InputData/ContractDetail.js +3 -3
  70. package/dist/components/InputData/JsonDecode.js +5 -5
  71. package/dist/components/InputData/OptimizationDecode.js +10 -11
  72. package/dist/components/InputData/UTF8.js +3 -3
  73. package/dist/components/InputData/index.js +14 -15
  74. package/dist/components/Modal/index.js +3 -3
  75. package/dist/components/NetworkIcon/index.js +2 -2
  76. package/dist/components/OutputData/ErrorDecode.js +13 -14
  77. package/dist/components/OutputData/index.js +15 -16
  78. package/dist/components/PhishingAddressContainer/index.js +4 -4
  79. package/dist/components/Popover/index.js +3 -3
  80. package/dist/components/Price/index.js +3 -3
  81. package/dist/components/ProxyContractAddress/index.d.ts +1 -1
  82. package/dist/components/ProxyContractAddress/index.js +24 -15
  83. package/dist/components/ProxyContractAddress/index.js.map +1 -1
  84. package/dist/components/Radio/index.js +2 -2
  85. package/dist/components/SearchInput/index.js +4 -4
  86. package/dist/components/Select/index.js +4 -4
  87. package/dist/components/Select/select.js +3 -3
  88. package/dist/components/Text/index.js +4 -4
  89. package/dist/components/Tooltip/index.js +3 -3
  90. package/dist/components/TransactionAction/coreTransactionAction.js +13 -18
  91. package/dist/components/TransactionAction/coreTransactionAction.js.map +1 -1
  92. package/dist/components/TransactionAction/evmTransactionAction.js +12 -17
  93. package/dist/components/TransactionAction/evmTransactionAction.js.map +1 -1
  94. package/dist/components/TransactionTrace/TraceDetail.js +23 -24
  95. package/dist/components/TransactionTrace/TreeTraceTable.js +24 -25
  96. package/dist/components/TransactionTrace/index.js +24 -25
  97. package/dist/utils/address.js +2 -2
  98. package/dist/utils/contractManagerTool.js +2 -2
  99. package/dist/utils/hooks/useAddressLabel.js +3 -3
  100. package/dist/utils/hooks/useAddressNameMap.d.ts +6 -0
  101. package/dist/utils/hooks/useAddressNameMap.js +12 -0
  102. package/dist/utils/hooks/useAddressNameMap.js.map +1 -0
  103. package/dist/utils/hooks/useAge.js +1 -1
  104. package/dist/utils/hooks/useAge.js.map +1 -1
  105. package/dist/utils/hooks/useAutoSetHolderFilterParams.js +2 -2
  106. package/dist/utils/hooks/useContractDetail.js +2 -2
  107. package/dist/utils/hooks/useDecodeFunctionData.js +5 -5
  108. package/dist/utils/hooks/useDecodeFunctionError.js +3 -3
  109. package/dist/utils/hooks/useENS.js +3 -3
  110. package/dist/utils/hooks/useEnhanceDataWithNameMap.d.ts +30 -0
  111. package/dist/utils/hooks/useEnhanceDataWithNameMap.js +71 -0
  112. package/dist/utils/hooks/useEnhanceDataWithNameMap.js.map +1 -0
  113. package/dist/utils/hooks/useMethodAbi.js +2 -2
  114. package/dist/utils/hooks/useTableData.d.ts +34 -0
  115. package/dist/utils/hooks/useTableData.js +95 -0
  116. package/dist/utils/hooks/useTableData.js.map +1 -0
  117. package/dist/utils/hooks/useTxTrace.d.ts +3 -40
  118. package/dist/utils/hooks/useTxTrace.js +5 -15
  119. package/dist/utils/hooks/useTxTrace.js.map +1 -1
  120. package/dist/utils/index.js +2 -2
  121. package/dist/utils/request.d.ts +7 -2
  122. package/dist/utils/request.js +3 -1
  123. package/dist/utils/request.types.d.ts +35 -1
  124. package/package.json +10 -10
  125. package/dist/chunk-5CDCNIBM.js.map +0 -1
  126. package/dist/chunk-5EDEEGZK.js.map +0 -1
  127. package/dist/chunk-5M5ECKFB.js.map +0 -1
  128. package/dist/chunk-7OSADJ6H.js.map +0 -1
  129. package/dist/chunk-CKVDFS45.js.map +0 -1
  130. package/dist/chunk-CPPQCJEV.js.map +0 -1
  131. package/dist/chunk-JRB53YY7.js.map +0 -1
  132. package/dist/chunk-Q2DX6IDH.js +0 -49
  133. package/dist/chunk-Q2DX6IDH.js.map +0 -1
  134. /package/dist/{chunk-SX6R4MHO.js.map → chunk-2WEBXRNL.js.map} +0 -0
  135. /package/dist/{chunk-CNF26YY7.js.map → chunk-6L4ZEJQI.js.map} +0 -0
  136. /package/dist/{chunk-2KXTTKRI.js.map → chunk-7AVQOIDM.js.map} +0 -0
  137. /package/dist/{chunk-ZLNQICQZ.js.map → chunk-7VQL3G7K.js.map} +0 -0
  138. /package/dist/{chunk-GSWIFV2B.js.map → chunk-AYCHKB2Y.js.map} +0 -0
  139. /package/dist/{chunk-E3ZD2GGG.js.map → chunk-BEI5TWJL.js.map} +0 -0
  140. /package/dist/{chunk-LBWKTQYK.js.map → chunk-C6CGZ6KN.js.map} +0 -0
  141. /package/dist/{chunk-P4EE3QGM.js.map → chunk-C7OIVXE3.js.map} +0 -0
  142. /package/dist/{chunk-BUSBM33B.js.map → chunk-CMOP3BKX.js.map} +0 -0
  143. /package/dist/{chunk-6H5A42YS.js.map → chunk-DCQANK66.js.map} +0 -0
  144. /package/dist/{chunk-OZ4OJLIM.js.map → chunk-DYNSSHD5.js.map} +0 -0
  145. /package/dist/{chunk-OCQIWTDC.js.map → chunk-ELF2EOGF.js.map} +0 -0
  146. /package/dist/{chunk-YIZCD4WG.js.map → chunk-GHHUAWSG.js.map} +0 -0
  147. /package/dist/{chunk-DF3PVTB5.js.map → chunk-GQRCW7WX.js.map} +0 -0
  148. /package/dist/{chunk-YIXV7A4J.js.map → chunk-H5ZJBRIK.js.map} +0 -0
  149. /package/dist/{chunk-3PXUIH3S.js.map → chunk-LCIBOT5P.js.map} +0 -0
  150. /package/dist/{chunk-L62OTV7F.js.map → chunk-OT7NZ4PK.js.map} +0 -0
  151. /package/dist/{chunk-EMPFZFBS.js.map → chunk-RUU22F7R.js.map} +0 -0
  152. /package/dist/{chunk-CPR4QZT6.js.map → chunk-UF5BN4QN.js.map} +0 -0
  153. /package/dist/{chunk-TP67325Z.js.map → chunk-UZALXR3J.js.map} +0 -0
  154. /package/dist/{chunk-CL6QEKM6.js.map → chunk-W64AF7LA.js.map} +0 -0
  155. /package/dist/{chunk-LUCBUM2Y.js.map → chunk-XZL5CZFT.js.map} +0 -0
  156. /package/dist/{chunk-5Y7I6VYA.js.map → chunk-YEAWH772.js.map} +0 -0
  157. /package/dist/{chunk-LVFMTP5H.js.map → chunk-YVV32ON3.js.map} +0 -0
@@ -1,21 +1,21 @@
1
+ import {
2
+ getAddressNameInfo
3
+ } from "./chunk-WZIT54AU.js";
1
4
  import {
2
5
  ContractAddress,
3
6
  ContractCreatedAddress,
4
7
  InvalidAddress,
5
8
  MyAddress
6
- } from "./chunk-JRB53YY7.js";
9
+ } from "./chunk-K4SBN5ZT.js";
7
10
  import {
8
11
  RenderAddress
9
- } from "./chunk-7OSADJ6H.js";
12
+ } from "./chunk-NFPBS22O.js";
10
13
  import {
11
14
  convertCheckSum,
12
15
  formatAddress,
13
16
  isEvmAddress,
14
17
  isZeroAddress
15
- } from "./chunk-CNF26YY7.js";
16
- import {
17
- getLabelInfo
18
- } from "./chunk-Q2DX6IDH.js";
18
+ } from "./chunk-6L4ZEJQI.js";
19
19
  import {
20
20
  getTranslations,
21
21
  useGlobalData
@@ -27,37 +27,34 @@ import { withTranslation } from "react-i18next";
27
27
  import _ from "lodash";
28
28
  import { Fragment, jsx } from "react/jsx-runtime";
29
29
  var parseProps = (props, globalData) => {
30
- const { alias, t, showAddressLabel, showNametag, nametagInfo } = props;
30
+ const { t, showAddressLabel, showNametag, nametag, nameMap } = props;
31
31
  const value = props.value || "";
32
32
  const cfxAddress = formatAddress(value, "hex");
33
+ const nameInfo = getAddressNameInfo(cfxAddress, nameMap);
33
34
  const translations = getTranslations();
34
- let aliasLabel = alias;
35
- if (!alias && isZeroAddress(cfxAddress)) {
36
- aliasLabel = t(translations.general.zeroAddress);
35
+ let innerName = props.innerName;
36
+ if (!innerName && isZeroAddress(cfxAddress)) {
37
+ innerName = t(translations.general.zeroAddress);
37
38
  }
38
39
  let officalNametag = null;
39
40
  let addressLabel = null;
40
41
  if (cfxAddress && showAddressLabel) {
41
42
  const addressLabels = globalData?.["CONFLUX_SCAN_ADDRESS_LABELS" /* addressLabel */];
42
- const gAddressLabel = addressLabels?.[convertCheckSum(cfxAddress)] || addressLabels?.[cfxAddress.toLowerCase()];
43
- if (gAddressLabel) {
44
- const { label } = getLabelInfo(gAddressLabel, "tag");
45
- addressLabel = label;
46
- }
43
+ addressLabel = addressLabels?.[convertCheckSum(cfxAddress)] || addressLabels?.[cfxAddress.toLowerCase()];
47
44
  }
48
45
  if (cfxAddress && showNametag) {
49
- const nametags = nametagInfo?.[convertCheckSum(cfxAddress)] || nametagInfo?.[cfxAddress.toLowerCase()];
50
- if (nametags) {
51
- const nametag = nametags?.nametag ?? "";
52
- const { label } = getLabelInfo(nametag, "nametag");
53
- officalNametag = label;
54
- }
46
+ officalNametag = nametag || nameInfo?.nametag;
55
47
  }
56
48
  return {
57
- alias: aliasLabel,
49
+ innerName,
58
50
  nametag: officalNametag,
59
51
  addressLabel,
60
- cfxAddress
52
+ cfxAddress,
53
+ tokenName: props.tokenName || nameInfo?.tokenName,
54
+ contractName: props.contractName || nameInfo?.contractName,
55
+ verificationName: props.verificationName || nameInfo?.verificationName,
56
+ verify: props.verify || nameInfo?.verify,
57
+ isContract: props.isContract || nameInfo?.isContract
61
58
  };
62
59
  };
63
60
  var EVMAddressContainer = withTranslation()(
@@ -105,4 +102,4 @@ var EVMAddressContainer = withTranslation()(
105
102
  export {
106
103
  EVMAddressContainer
107
104
  };
108
- //# sourceMappingURL=chunk-5CDCNIBM.js.map
105
+ //# sourceMappingURL=chunk-YKHDBNJD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/AddressContainer/EVMAddressContainer.tsx"],"sourcesContent":["import { memo } from 'react';\nimport { WithTranslation, withTranslation } from 'react-i18next';\nimport _ from 'lodash';\nimport {\n formatAddress,\n isEvmAddress,\n isZeroAddress,\n convertCheckSum,\n} from '../../utils/address';\nimport { useGlobalData, getTranslations } from '../../store';\nimport { LOCALSTORAGE_KEYS_MAP } from '../../utils/constants';\n\nimport { RenderAddress } from './addressView';\nimport {\n ContractCreatedAddress,\n InvalidAddress,\n ContractAddress,\n MyAddress,\n} from './addressSwitcher';\nimport { GlobalDataType } from 'src/store/types';\nimport { EVMAddressContainerProps } from './types';\nimport { getAddressNameInfo } from './utils';\n\nconst parseProps = (\n props: EVMAddressContainerProps & WithTranslation,\n globalData: GlobalDataType,\n) => {\n const { t, showAddressLabel, showNametag, nametag, nameMap } = props;\n const value: string = props.value || '';\n const cfxAddress = formatAddress(value, 'hex');\n\n const nameInfo = getAddressNameInfo(cfxAddress, nameMap);\n\n const translations = getTranslations();\n\n let innerName = props.innerName;\n if (!innerName && isZeroAddress(cfxAddress)) {\n innerName = t(translations.general.zeroAddress);\n }\n\n // official name tag\n let officalNametag: React.ReactNode = null;\n // private name tag\n let addressLabel: React.ReactNode = null;\n\n if (cfxAddress && showAddressLabel) {\n // global private name tag\n const addressLabels = globalData?.[LOCALSTORAGE_KEYS_MAP.addressLabel];\n addressLabel =\n addressLabels?.[convertCheckSum(cfxAddress)] ||\n addressLabels?.[cfxAddress.toLowerCase()];\n }\n\n if (cfxAddress && showNametag) {\n officalNametag = nametag || nameInfo?.nametag;\n }\n\n return {\n innerName,\n nametag: officalNametag,\n addressLabel,\n cfxAddress,\n tokenName: props.tokenName || nameInfo?.tokenName,\n contractName: props.contractName || nameInfo?.contractName,\n verificationName: props.verificationName || nameInfo?.verificationName,\n verify: props.verify || nameInfo?.verify,\n isContract: props.isContract || nameInfo?.isContract,\n };\n};\n\nexport const EVMAddressContainer = withTranslation()(\n memo((props: EVMAddressContainerProps & WithTranslation) => {\n const { globalData } = useGlobalData();\n\n // If a txn receipt has no 'to' address or 'contractCreated', show -- for temp\n if (!props.value && !props.contractCreated) {\n return <>--</>;\n }\n\n const defaultProps = {\n isFull: false,\n isFullNameTag: false,\n link: true,\n isMe: false,\n showIcon: true,\n verify: false,\n showAddressLabel: true,\n showENSLabel: true,\n showNametag: true,\n };\n\n const mergeDefaultProps = _.assign({}, defaultProps, props);\n\n const mergeParseProps = _.merge(\n {},\n mergeDefaultProps,\n parseProps(mergeDefaultProps, globalData),\n );\n\n if (!mergeParseProps.value && mergeParseProps.contractCreated) {\n return ContractCreatedAddress({\n ...mergeParseProps,\n outputType: 'hex',\n });\n }\n\n if (!isEvmAddress(mergeParseProps.value)) {\n return InvalidAddress(mergeParseProps);\n }\n\n if (mergeParseProps.isContract) {\n return ContractAddress(mergeParseProps);\n }\n\n if (mergeParseProps.isMe) {\n return MyAddress(mergeParseProps);\n }\n\n return RenderAddress(mergeParseProps);\n }),\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,YAAY;AACrB,SAA0B,uBAAuB;AACjD,OAAO,OAAO;AA0ED;AArDb,IAAM,aAAa,CACjB,OACA,eACG;AACH,QAAM,EAAE,GAAG,kBAAkB,aAAa,SAAS,QAAQ,IAAI;AAC/D,QAAM,QAAgB,MAAM,SAAS;AACrC,QAAM,aAAa,cAAc,OAAO,KAAK;AAE7C,QAAM,WAAW,mBAAmB,YAAY,OAAO;AAEvD,QAAM,eAAe,gBAAgB;AAErC,MAAI,YAAY,MAAM;AACtB,MAAI,CAAC,aAAa,cAAc,UAAU,GAAG;AAC3C,gBAAY,EAAE,aAAa,QAAQ,WAAW;AAAA,EAChD;AAGA,MAAI,iBAAkC;AAEtC,MAAI,eAAgC;AAEpC,MAAI,cAAc,kBAAkB;AAElC,UAAM,gBAAgB,6DAA+C;AACrE,mBACE,gBAAgB,gBAAgB,UAAU,CAAC,KAC3C,gBAAgB,WAAW,YAAY,CAAC;AAAA,EAC5C;AAEA,MAAI,cAAc,aAAa;AAC7B,qBAAiB,WAAW,UAAU;AAAA,EACxC;AAEA,SAAO;AAAA,IACL;AAAA,IACA,SAAS;AAAA,IACT;AAAA,IACA;AAAA,IACA,WAAW,MAAM,aAAa,UAAU;AAAA,IACxC,cAAc,MAAM,gBAAgB,UAAU;AAAA,IAC9C,kBAAkB,MAAM,oBAAoB,UAAU;AAAA,IACtD,QAAQ,MAAM,UAAU,UAAU;AAAA,IAClC,YAAY,MAAM,cAAc,UAAU;AAAA,EAC5C;AACF;AAEO,IAAM,sBAAsB,gBAAgB;AAAA,EACjD,KAAK,CAAC,UAAsD;AAC1D,UAAM,EAAE,WAAW,IAAI,cAAc;AAGrC,QAAI,CAAC,MAAM,SAAS,CAAC,MAAM,iBAAiB;AAC1C,aAAO,gCAAE,gBAAE;AAAA,IACb;AAEA,UAAM,eAAe;AAAA,MACnB,QAAQ;AAAA,MACR,eAAe;AAAA,MACf,MAAM;AAAA,MACN,MAAM;AAAA,MACN,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,kBAAkB;AAAA,MAClB,cAAc;AAAA,MACd,aAAa;AAAA,IACf;AAEA,UAAM,oBAAoB,EAAE,OAAO,CAAC,GAAG,cAAc,KAAK;AAE1D,UAAM,kBAAkB,EAAE;AAAA,MACxB,CAAC;AAAA,MACD;AAAA,MACA,WAAW,mBAAmB,UAAU;AAAA,IAC1C;AAEA,QAAI,CAAC,gBAAgB,SAAS,gBAAgB,iBAAiB;AAC7D,aAAO,uBAAuB;AAAA,QAC5B,GAAG;AAAA,QACH,YAAY;AAAA,MACd,CAAC;AAAA,IACH;AAEA,QAAI,CAAC,aAAa,gBAAgB,KAAK,GAAG;AACxC,aAAO,eAAe,eAAe;AAAA,IACvC;AAEA,QAAI,gBAAgB,YAAY;AAC9B,aAAO,gBAAgB,eAAe;AAAA,IACxC;AAEA,QAAI,gBAAgB,MAAM;AACxB,aAAO,UAAU,eAAe;AAAA,IAClC;AAEA,WAAO,cAAc,eAAe;AAAA,EACtC,CAAC;AACH;","names":[]}
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-BMO4IZHV.js";
30
30
  import {
31
31
  cn
32
- } from "./chunk-CPPQCJEV.js";
32
+ } from "./chunk-NM3BMITL.js";
33
33
 
34
34
  // src/components/Popover/index.tsx
35
35
  import { useRef } from "react";
@@ -2146,4 +2146,4 @@ focus-trap/dist/focus-trap.esm.js:
2146
2146
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
2147
2147
  *)
2148
2148
  */
2149
- //# sourceMappingURL=chunk-LVFMTP5H.js.map
2149
+ //# sourceMappingURL=chunk-YVV32ON3.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AceEditor
3
- } from "../../chunk-5Y7I6VYA.js";
4
- import "../../chunk-DF3PVTB5.js";
3
+ } from "../../chunk-YEAWH772.js";
4
+ import "../../chunk-GQRCW7WX.js";
5
5
  import "../../chunk-BMO4IZHV.js";
6
6
  import "../../chunk-LRCAKRPK.js";
7
- import "../../chunk-CPPQCJEV.js";
7
+ import "../../chunk-NM3BMITL.js";
8
8
  import "../../chunk-WIB76E7O.js";
9
- import "../../chunk-5EDEEGZK.js";
9
+ import "../../chunk-VGYNHJFT.js";
10
10
  import "../../chunk-J2I22Q2M.js";
11
11
  import "../../chunk-YEINMVAR.js";
12
12
  import "../../chunk-DQGLZCIG.js";
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import * as react_i18next from 'react-i18next';
3
3
  import { WithTranslation } from 'react-i18next';
4
4
  import { CoreAddressContainerProps } from './types.js';
5
+ import '../../utils/request.types.js';
5
6
 
6
7
  declare const CoreAddressContainer: React.ComponentType<Omit<react_i18next.Subtract<CoreAddressContainerProps & WithTranslation<"translation", undefined>, react_i18next.WithTranslationProps>, keyof WithTranslation<N, undefined>> & react_i18next.WithTranslationProps>;
7
8
 
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  CoreAddressContainer
3
- } from "../../chunk-5M5ECKFB.js";
4
- import "../../chunk-BUSBM33B.js";
5
- import "../../chunk-JRB53YY7.js";
3
+ } from "../../chunk-GG7ROFBQ.js";
4
+ import "../../chunk-CMOP3BKX.js";
5
+ import "../../chunk-WZIT54AU.js";
6
+ import "../../chunk-K4SBN5ZT.js";
6
7
  import "../../chunk-MWAD4CIG.js";
7
- import "../../chunk-7OSADJ6H.js";
8
- import "../../chunk-CNF26YY7.js";
9
- import "../../chunk-P4EE3QGM.js";
8
+ import "../../chunk-NFPBS22O.js";
9
+ import "../../chunk-6L4ZEJQI.js";
10
+ import "../../chunk-C7OIVXE3.js";
10
11
  import "../../chunk-TOKKKTFG.js";
11
- import "../../chunk-Q2DX6IDH.js";
12
- import "../../chunk-DF3PVTB5.js";
12
+ import "../../chunk-GQRCW7WX.js";
13
13
  import "../../chunk-BMO4IZHV.js";
14
14
  import "../../chunk-LRCAKRPK.js";
15
- import "../../chunk-CPPQCJEV.js";
15
+ import "../../chunk-NM3BMITL.js";
16
16
  import "../../chunk-WIB76E7O.js";
17
- import "../../chunk-5EDEEGZK.js";
17
+ import "../../chunk-VGYNHJFT.js";
18
18
  import "../../chunk-J2I22Q2M.js";
19
19
  import "../../chunk-YEINMVAR.js";
20
20
  import "../../chunk-DQGLZCIG.js";
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import * as react_i18next from 'react-i18next';
3
3
  import { WithTranslation } from 'react-i18next';
4
4
  import { EVMAddressContainerProps } from './types.js';
5
+ import '../../utils/request.types.js';
5
6
 
6
7
  declare const EVMAddressContainer: React.ComponentType<Omit<react_i18next.Subtract<EVMAddressContainerProps & WithTranslation<"translation", undefined>, react_i18next.WithTranslationProps>, keyof WithTranslation<N, undefined>> & react_i18next.WithTranslationProps>;
7
8
 
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  EVMAddressContainer
3
- } from "../../chunk-5CDCNIBM.js";
4
- import "../../chunk-JRB53YY7.js";
3
+ } from "../../chunk-YKHDBNJD.js";
4
+ import "../../chunk-WZIT54AU.js";
5
+ import "../../chunk-K4SBN5ZT.js";
5
6
  import "../../chunk-MWAD4CIG.js";
6
- import "../../chunk-7OSADJ6H.js";
7
- import "../../chunk-CNF26YY7.js";
8
- import "../../chunk-P4EE3QGM.js";
7
+ import "../../chunk-NFPBS22O.js";
8
+ import "../../chunk-6L4ZEJQI.js";
9
+ import "../../chunk-C7OIVXE3.js";
9
10
  import "../../chunk-TOKKKTFG.js";
10
- import "../../chunk-Q2DX6IDH.js";
11
- import "../../chunk-DF3PVTB5.js";
11
+ import "../../chunk-GQRCW7WX.js";
12
12
  import "../../chunk-BMO4IZHV.js";
13
13
  import "../../chunk-LRCAKRPK.js";
14
- import "../../chunk-CPPQCJEV.js";
14
+ import "../../chunk-NM3BMITL.js";
15
15
  import "../../chunk-WIB76E7O.js";
16
- import "../../chunk-5EDEEGZK.js";
16
+ import "../../chunk-VGYNHJFT.js";
17
17
  import "../../chunk-J2I22Q2M.js";
18
18
  import "../../chunk-YEINMVAR.js";
19
19
  import "../../chunk-DQGLZCIG.js";
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { WithTranslation } from 'react-i18next';
3
3
  import { Props } from './types.js';
4
+ import '../../utils/request.types.js';
4
5
 
5
6
  declare const ContractCreatedAddress: (props: Props & WithTranslation & {
6
7
  outputType: 'hex' | 'base32';
@@ -5,18 +5,18 @@ import {
5
5
  InvalidAddress,
6
6
  MyAddress,
7
7
  PosAddress
8
- } from "../../chunk-JRB53YY7.js";
8
+ } from "../../chunk-K4SBN5ZT.js";
9
9
  import "../../chunk-MWAD4CIG.js";
10
- import "../../chunk-7OSADJ6H.js";
11
- import "../../chunk-CNF26YY7.js";
12
- import "../../chunk-P4EE3QGM.js";
10
+ import "../../chunk-NFPBS22O.js";
11
+ import "../../chunk-6L4ZEJQI.js";
12
+ import "../../chunk-C7OIVXE3.js";
13
13
  import "../../chunk-TOKKKTFG.js";
14
- import "../../chunk-DF3PVTB5.js";
14
+ import "../../chunk-GQRCW7WX.js";
15
15
  import "../../chunk-BMO4IZHV.js";
16
16
  import "../../chunk-LRCAKRPK.js";
17
- import "../../chunk-CPPQCJEV.js";
17
+ import "../../chunk-NM3BMITL.js";
18
18
  import "../../chunk-WIB76E7O.js";
19
- import "../../chunk-5EDEEGZK.js";
19
+ import "../../chunk-VGYNHJFT.js";
20
20
  import "../../chunk-J2I22Q2M.js";
21
21
  import "../../chunk-YEINMVAR.js";
22
22
  import "../../chunk-DQGLZCIG.js";
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { RenderAddressProps } from './types.js';
3
+ import '../../utils/request.types.js';
3
4
 
4
- declare const RenderAddress: ({ cfxAddress, alias, hoverValue, hrefAddress, content, link, isFull, isFullNameTag, style, maxWidth, prefix, ENSIcon, suffix, type, addressLabel, ENSLabel, nametag, hideAliasPrefixInHover, }: RenderAddressProps) => react_jsx_runtime.JSX.Element;
5
+ declare const RenderAddress: ({ cfxAddress, tokenName, contractName, showVerificationName, verificationName, hoverValue, hrefAddress, link, isFull, isFullNameTag, style, maxWidth, prefix, ENSIcon, suffix, type, addressLabel, ENSLabel, nametag, innerName, hideAliasPrefixInHover, }: RenderAddressProps) => react_jsx_runtime.JSX.Element;
5
6
 
6
7
  export { RenderAddress };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  RenderAddress
3
- } from "../../chunk-7OSADJ6H.js";
4
- import "../../chunk-CNF26YY7.js";
5
- import "../../chunk-P4EE3QGM.js";
3
+ } from "../../chunk-NFPBS22O.js";
4
+ import "../../chunk-6L4ZEJQI.js";
5
+ import "../../chunk-C7OIVXE3.js";
6
6
  import "../../chunk-TOKKKTFG.js";
7
- import "../../chunk-DF3PVTB5.js";
7
+ import "../../chunk-GQRCW7WX.js";
8
8
  import "../../chunk-BMO4IZHV.js";
9
9
  import "../../chunk-LRCAKRPK.js";
10
- import "../../chunk-CPPQCJEV.js";
10
+ import "../../chunk-NM3BMITL.js";
11
11
  import "../../chunk-WIB76E7O.js";
12
- import "../../chunk-5EDEEGZK.js";
12
+ import "../../chunk-VGYNHJFT.js";
13
13
  import "../../chunk-J2I22Q2M.js";
14
14
  import "../../chunk-YEINMVAR.js";
15
15
  import "../../chunk-DQGLZCIG.js";
@@ -1,16 +1,55 @@
1
1
  import {
2
- getLabelInfo
3
- } from "../../chunk-Q2DX6IDH.js";
4
- import "../../chunk-DF3PVTB5.js";
2
+ Tooltip
3
+ } from "../../chunk-GQRCW7WX.js";
5
4
  import "../../chunk-BMO4IZHV.js";
6
5
  import "../../chunk-LRCAKRPK.js";
7
- import "../../chunk-CPPQCJEV.js";
6
+ import "../../chunk-NM3BMITL.js";
8
7
  import "../../chunk-WIB76E7O.js";
9
- import "../../chunk-5EDEEGZK.js";
8
+ import "../../chunk-VGYNHJFT.js";
10
9
  import "../../chunk-J2I22Q2M.js";
11
10
  import "../../chunk-YEINMVAR.js";
12
- import "../../chunk-DQGLZCIG.js";
11
+ import {
12
+ getTranslations
13
+ } from "../../chunk-DQGLZCIG.js";
13
14
  import "../../chunk-WQG2LZMB.js";
15
+
16
+ // src/components/AddressContainer/label.tsx
17
+ import { Translation } from "react-i18next";
18
+ import { Bookmark, Hash } from "@zeit-ui/react-icons";
19
+ import ICON_ENS from "../../logo-cns-7CXISC6I.svg";
20
+ import { jsx } from "react/jsx-runtime";
21
+ var getLabelInfo = (label, type) => {
22
+ const translations = getTranslations();
23
+ if (label) {
24
+ let trans = "";
25
+ let icon = null;
26
+ if (type === "tag") {
27
+ trans = translations.profile.tip.label;
28
+ icon = /* @__PURE__ */ jsx(Bookmark, { color: "var(--theme-color-gray2)", size: 16 });
29
+ } else if (type === "ens") {
30
+ trans = translations.ens.label;
31
+ icon = /* @__PURE__ */ jsx(
32
+ "img",
33
+ {
34
+ src: ICON_ENS,
35
+ className: "w-[16px] h-[16px] mb-[3px] mr-[2px]",
36
+ alt: ""
37
+ }
38
+ );
39
+ } else if (type === "nametag") {
40
+ trans = translations.nametag.label;
41
+ icon = /* @__PURE__ */ jsx(Hash, { color: "var(--theme-color-gray2)", size: 16 });
42
+ }
43
+ return {
44
+ label,
45
+ icon: /* @__PURE__ */ jsx("span", { className: "mr-[2px]", children: /* @__PURE__ */ jsx(Tooltip, { title: /* @__PURE__ */ jsx(Translation, { children: (t) => t(trans) }), children: icon }) })
46
+ };
47
+ }
48
+ return {
49
+ label: "",
50
+ icon: null
51
+ };
52
+ };
14
53
  export {
15
54
  getLabelInfo
16
55
  };
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
1
+ {"version":3,"sources":["../../../src/components/AddressContainer/label.tsx"],"sourcesContent":["import { Translation } from 'react-i18next';\nimport { Bookmark, Hash } from '@zeit-ui/react-icons';\nimport { Tooltip } from '../Tooltip';\nimport { getTranslations } from '../../store';\nimport ICON_ENS from '../../images/logo-cns.svg';\n\nexport const getLabelInfo = (label: string, type: string) => {\n const translations = getTranslations();\n if (label) {\n let trans: string = '';\n let icon: React.ReactNode = null;\n\n if (type === 'tag') {\n trans = translations.profile.tip.label;\n icon = <Bookmark color=\"var(--theme-color-gray2)\" size={16} />;\n } else if (type === 'ens') {\n trans = (translations as any).ens.label;\n icon = (\n <img\n src={ICON_ENS}\n className=\"w-[16px] h-[16px] mb-[3px] mr-[2px]\"\n alt=\"\"\n />\n );\n // nametag from official operational staff\n } else if (type === 'nametag') {\n trans = translations.nametag.label;\n icon = <Hash color=\"var(--theme-color-gray2)\" size={16} />;\n }\n\n return {\n label,\n icon: (\n <span className=\"mr-[2px]\">\n <Tooltip title={<Translation>{t => t(trans)}</Translation>}>\n {icon}\n </Tooltip>\n </span>\n ),\n };\n }\n\n return {\n label: '',\n icon: null,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS,mBAAmB;AAC5B,SAAS,UAAU,YAAY;AAG/B,OAAO,cAAc;AAUR;AARN,IAAM,eAAe,CAAC,OAAe,SAAiB;AAC3D,QAAM,eAAe,gBAAgB;AACrC,MAAI,OAAO;AACT,QAAI,QAAgB;AACpB,QAAI,OAAwB;AAE5B,QAAI,SAAS,OAAO;AAClB,cAAQ,aAAa,QAAQ,IAAI;AACjC,aAAO,oBAAC,YAAS,OAAM,4BAA2B,MAAM,IAAI;AAAA,IAC9D,WAAW,SAAS,OAAO;AACzB,cAAS,aAAqB,IAAI;AAClC,aACE;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,WAAU;AAAA,UACV,KAAI;AAAA;AAAA,MACN;AAAA,IAGJ,WAAW,SAAS,WAAW;AAC7B,cAAQ,aAAa,QAAQ;AAC7B,aAAO,oBAAC,QAAK,OAAM,4BAA2B,MAAM,IAAI;AAAA,IAC1D;AAEA,WAAO;AAAA,MACL;AAAA,MACA,MACE,oBAAC,UAAK,WAAU,YACd,8BAAC,WAAQ,OAAO,oBAAC,eAAa,iBAAK,EAAE,KAAK,GAAE,GACzC,gBACH,GACF;AAAA,IAEJ;AAAA,EACF;AAEA,SAAO;AAAA,IACL,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF;","names":[]}
@@ -1,7 +1,8 @@
1
+ import { AddressNameMap } from '../../utils/request.types.js';
2
+
1
3
  type Props = CoreAddressContainerProps & EVMAddressContainerProps;
2
4
  interface CoreAddressContainerProps {
3
5
  value: string;
4
- alias?: string;
5
6
  contractCreated?: string;
6
7
  maxWidth?: number;
7
8
  isFull?: boolean;
@@ -14,28 +15,21 @@ interface CoreAddressContainerProps {
14
15
  isEspaceAddress?: boolean;
15
16
  showAddressLabel?: boolean;
16
17
  showENSLabel?: boolean;
17
- ensInfo?: {
18
- [k: string]: {
19
- address: string;
20
- name: string;
21
- expired?: number;
22
- };
23
- };
24
18
  showNametag?: boolean;
19
+ tokenName?: string | null;
20
+ contractName?: string | null;
21
+ showVerificationName?: boolean;
22
+ verificationName?: string | null;
23
+ innerName?: string | null;
25
24
  nametag?: string | Iterable<React.ReactNode> | null;
26
- nametagInfo?: {
27
- [k: string]: {
28
- address: string;
29
- nametag: string;
30
- };
31
- };
25
+ ensName?: string | null;
32
26
  cfxAddress?: string;
33
27
  isPosAddress?: boolean;
34
28
  hideAliasPrefixInHover?: boolean;
29
+ nameMap?: Record<string, AddressNameMap>;
35
30
  }
36
31
  interface EVMAddressContainerProps {
37
32
  value: string;
38
- alias?: string;
39
33
  contractCreated?: string;
40
34
  maxWidth?: number;
41
35
  isFull?: boolean;
@@ -46,23 +40,21 @@ interface EVMAddressContainerProps {
46
40
  verify?: boolean;
47
41
  showAddressLabel?: boolean;
48
42
  showNametag?: boolean;
43
+ tokenName?: string | null;
44
+ contractName?: string | null;
45
+ showVerificationName?: boolean;
46
+ verificationName?: string | null;
47
+ innerName?: string | null;
49
48
  nametag?: string | Iterable<React.ReactNode> | null;
50
- nametagInfo?: {
51
- [k: string]: {
52
- address: string;
53
- nametag: string;
54
- };
55
- };
56
49
  isContract?: boolean;
57
50
  hideAliasPrefixInHover?: boolean;
51
+ nameMap?: Record<string, AddressNameMap>;
58
52
  }
59
53
  interface RenderAddressProps {
60
54
  cfxAddress?: string;
61
- alias?: string;
62
55
  hoverValue?: string;
63
56
  hrefAddress?: string;
64
57
  isContract?: boolean;
65
- content?: string;
66
58
  isLink?: boolean;
67
59
  link?: string | boolean;
68
60
  isFull?: boolean;
@@ -74,6 +66,11 @@ interface RenderAddressProps {
74
66
  ENSIcon?: React.ReactNode;
75
67
  suffix?: React.ReactNode;
76
68
  type?: 'pow' | 'pos';
69
+ tokenName?: string | null;
70
+ contractName?: string | null;
71
+ showVerificationName?: boolean;
72
+ verificationName?: string | null;
73
+ innerName?: string | null;
77
74
  addressLabel?: string | Iterable<React.ReactNode> | null;
78
75
  ENSLabel?: string | Iterable<React.ReactNode> | null;
79
76
  nametag?: string | Iterable<React.ReactNode> | null;
@@ -1,9 +1,24 @@
1
- import { Pocket } from '../../utils/request.types.js';
1
+ import { Pocket, AddressNameMap } from '../../utils/request.types.js';
2
2
 
3
3
  declare const getPocketAlias: ({ type, address, pocket, }: {
4
4
  type: 'from' | 'to';
5
5
  address: string;
6
6
  pocket?: Pocket | undefined;
7
7
  }) => string | null;
8
+ declare const getAddressNameInfo: (address?: string, nameMap?: Record<string, AddressNameMap>) => {
9
+ tokenName: string | undefined;
10
+ tokenSymbol: string | undefined;
11
+ tokenDecimals: number | undefined;
12
+ tokenIconUrl: string | undefined;
13
+ isContract: boolean;
14
+ contractName: string | undefined;
15
+ verify: boolean;
16
+ verificationName: string | undefined;
17
+ nametag: string | undefined;
18
+ ensName: string | undefined;
19
+ isEspaceAddress: boolean;
20
+ alias: string | undefined;
21
+ originInfo: AddressNameMap;
22
+ } | null;
8
23
 
9
- export { getPocketAlias };
24
+ export { getAddressNameInfo, getPocketAlias };
@@ -1,30 +1,16 @@
1
1
  import {
2
- isZeroAddress
3
- } from "../../chunk-CNF26YY7.js";
2
+ getAddressNameInfo,
3
+ getPocketAlias
4
+ } from "../../chunk-WZIT54AU.js";
5
+ import "../../chunk-6L4ZEJQI.js";
4
6
  import "../../chunk-WIB76E7O.js";
5
- import "../../chunk-5EDEEGZK.js";
7
+ import "../../chunk-VGYNHJFT.js";
6
8
  import "../../chunk-J2I22Q2M.js";
7
9
  import "../../chunk-YEINMVAR.js";
8
10
  import "../../chunk-DQGLZCIG.js";
9
11
  import "../../chunk-WQG2LZMB.js";
10
-
11
- // src/components/AddressContainer/utils.ts
12
- var getPocketAlias = ({
13
- type,
14
- address,
15
- pocket
16
- }) => {
17
- if (!isZeroAddress(address))
18
- return null;
19
- if (pocket === "mint_or_burn") {
20
- return type === "from" ? "System mint" : "System burn";
21
- }
22
- if (pocket === "gas_payment") {
23
- return "System gas_payment";
24
- }
25
- return null;
26
- };
27
12
  export {
13
+ getAddressNameInfo,
28
14
  getPocketAlias
29
15
  };
30
16
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/AddressContainer/utils.ts"],"sourcesContent":["import { isZeroAddress } from 'src/utils/address';\nimport { Pocket } from 'src/utils/request.types';\n\n// https://app.clickup.com/3719212/v/dc/3hg1c-23878/3hg1c-21778?block=block-vVZ_AG9Btz\nexport const getPocketAlias = ({\n type,\n address,\n pocket,\n}: {\n type: 'from' | 'to';\n address: string;\n pocket?: Pocket;\n}): string | null => {\n // only show pocket info when address is zero address\n if (!isZeroAddress(address)) return null;\n\n if (pocket === 'mint_or_burn') {\n return type === 'from' ? 'System mint' : 'System burn';\n }\n if (pocket === 'gas_payment') {\n return 'System gas_payment';\n }\n return null;\n};\n"],"mappings":";;;;;;;;;;;AAIO,IAAM,iBAAiB,CAAC;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AACF,MAIqB;AAEnB,MAAI,CAAC,cAAc,OAAO;AAAG,WAAO;AAEpC,MAAI,WAAW,gBAAgB;AAC7B,WAAO,SAAS,SAAS,gBAAgB;AAAA,EAC3C;AACA,MAAI,WAAW,eAAe;AAC5B,WAAO;AAAA,EACT;AACA,SAAO;AACT;","names":[]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Text
3
- } from "../../chunk-P4EE3QGM.js";
3
+ } from "../../chunk-C7OIVXE3.js";
4
4
  import "../../chunk-TOKKKTFG.js";
5
- import "../../chunk-DF3PVTB5.js";
5
+ import "../../chunk-GQRCW7WX.js";
6
6
  import "../../chunk-BMO4IZHV.js";
7
7
  import "../../chunk-LRCAKRPK.js";
8
8
  import {
9
9
  getDuration
10
- } from "../../chunk-CPPQCJEV.js";
10
+ } from "../../chunk-NM3BMITL.js";
11
11
  import "../../chunk-WIB76E7O.js";
12
- import "../../chunk-5EDEEGZK.js";
12
+ import "../../chunk-VGYNHJFT.js";
13
13
  import "../../chunk-J2I22Q2M.js";
14
14
  import "../../chunk-YEINMVAR.js";
15
15
  import {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Popover
3
- } from "../../chunk-LVFMTP5H.js";
3
+ } from "../../chunk-YVV32ON3.js";
4
4
  import "../../chunk-BMO4IZHV.js";
5
5
  import "../../chunk-LRCAKRPK.js";
6
- import "../../chunk-CPPQCJEV.js";
6
+ import "../../chunk-NM3BMITL.js";
7
7
  import "../../chunk-WIB76E7O.js";
8
- import "../../chunk-5EDEEGZK.js";
8
+ import "../../chunk-VGYNHJFT.js";
9
9
  import "../../chunk-J2I22Q2M.js";
10
10
  import "../../chunk-YEINMVAR.js";
11
11
  import "../../chunk-DQGLZCIG.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "../../chunk-XGOIDR7R.js";
18
18
  import {
19
19
  sendRequestChart
20
- } from "../../chunk-5EDEEGZK.js";
20
+ } from "../../chunk-VGYNHJFT.js";
21
21
  import "../../chunk-J2I22Q2M.js";
22
22
  import "../../chunk-YEINMVAR.js";
23
23
  import "../../chunk-DQGLZCIG.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "../../chunk-XGOIDR7R.js";
23
23
  import {
24
24
  sendRequestChart
25
- } from "../../chunk-5EDEEGZK.js";
25
+ } from "../../chunk-VGYNHJFT.js";
26
26
  import "../../chunk-J2I22Q2M.js";
27
27
  import "../../chunk-YEINMVAR.js";
28
28
  import "../../chunk-DQGLZCIG.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Tooltip
3
- } from "../../chunk-DF3PVTB5.js";
3
+ } from "../../chunk-GQRCW7WX.js";
4
4
  import "../../chunk-BMO4IZHV.js";
5
5
  import "../../chunk-LRCAKRPK.js";
6
- import "../../chunk-CPPQCJEV.js";
6
+ import "../../chunk-NM3BMITL.js";
7
7
  import "../../chunk-WIB76E7O.js";
8
- import "../../chunk-5EDEEGZK.js";
8
+ import "../../chunk-VGYNHJFT.js";
9
9
  import "../../chunk-J2I22Q2M.js";
10
10
  import "../../chunk-YEINMVAR.js";
11
11
  import {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Popover
3
- } from "../../chunk-LVFMTP5H.js";
3
+ } from "../../chunk-YVV32ON3.js";
4
4
  import "../../chunk-BMO4IZHV.js";
5
5
  import "../../chunk-LRCAKRPK.js";
6
- import "../../chunk-CPPQCJEV.js";
6
+ import "../../chunk-NM3BMITL.js";
7
7
  import "../../chunk-WIB76E7O.js";
8
- import "../../chunk-5EDEEGZK.js";
8
+ import "../../chunk-VGYNHJFT.js";
9
9
  import "../../chunk-J2I22Q2M.js";
10
10
  import "../../chunk-YEINMVAR.js";
11
11
  import "../../chunk-DQGLZCIG.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Modal
3
- } from "../../chunk-GSWIFV2B.js";
3
+ } from "../../chunk-AYCHKB2Y.js";
4
4
  import "../../chunk-XCKMXAL2.js";
5
5
  import {
6
6
  Link
@@ -8,12 +8,12 @@ import {
8
8
  import "../../chunk-TGK5LP2H.js";
9
9
  import {
10
10
  Tooltip
11
- } from "../../chunk-DF3PVTB5.js";
11
+ } from "../../chunk-GQRCW7WX.js";
12
12
  import "../../chunk-BMO4IZHV.js";
13
13
  import "../../chunk-LRCAKRPK.js";
14
- import "../../chunk-CPPQCJEV.js";
14
+ import "../../chunk-NM3BMITL.js";
15
15
  import "../../chunk-WIB76E7O.js";
16
- import "../../chunk-5EDEEGZK.js";
16
+ import "../../chunk-VGYNHJFT.js";
17
17
  import "../../chunk-J2I22Q2M.js";
18
18
  import "../../chunk-YEINMVAR.js";
19
19
  import {
@@ -4,11 +4,11 @@ import {
4
4
  import "../../chunk-H3V3K4DD.js";
5
5
  import {
6
6
  fromDripToGdrip
7
- } from "../../chunk-CPPQCJEV.js";
7
+ } from "../../chunk-NM3BMITL.js";
8
8
  import "../../chunk-WIB76E7O.js";
9
9
  import {
10
10
  sendRequestGasPrice
11
- } from "../../chunk-5EDEEGZK.js";
11
+ } from "../../chunk-VGYNHJFT.js";
12
12
  import "../../chunk-J2I22Q2M.js";
13
13
  import "../../chunk-YEINMVAR.js";
14
14
  import {