From 93d12850bb179157da07107b2720dffa060f7a02 Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Mon, 25 Nov 2024 23:33:44 +0800 Subject: [PATCH 01/25] Chore: UT for package bridge (#199) * chore: add UT for package bridge * chore: add UT for package bridge Co-authored-by: aelf-lxy <141004907+aelf-lxy@users.noreply.github.com> --- packages/bridge/babel.config.cjs | 12 ++ .../bridge/coverage/coverage-summary.json | 7 +- packages/bridge/jest-report.xml | 40 +++- packages/bridge/jest.config.ts | 5 +- packages/bridge/package.json | 9 + .../bridge/src/__tests__/mountApp.test.tsx | 57 ++++++ .../src/__tests__/useLockCallback.test.ts | 89 +++++++++ .../bridge/src/__tests__/useVerifier.test.ts | 178 ++++++++++++++++++ packages/bridge/src/index.ts | 8 +- packages/bridge/src/mountApp.tsx | 38 ---- packages/bridge/src/useWallet.ts | 28 --- packages/react/jest.setup.ts | 2 - packages/react/src/__tests__/context.test.tsx | 2 - pnpm-lock.yaml | 74 +++++++- 14 files changed, 460 insertions(+), 89 deletions(-) create mode 100644 packages/bridge/babel.config.cjs create mode 100644 packages/bridge/src/__tests__/mountApp.test.tsx create mode 100644 packages/bridge/src/__tests__/useLockCallback.test.ts create mode 100644 packages/bridge/src/__tests__/useVerifier.test.ts delete mode 100644 packages/bridge/src/useWallet.ts diff --git a/packages/bridge/babel.config.cjs b/packages/bridge/babel.config.cjs new file mode 100644 index 00000000..95422c49 --- /dev/null +++ b/packages/bridge/babel.config.cjs @@ -0,0 +1,12 @@ +module.exports = { + presets: [ + ['@babel/preset-env', { modules: 'auto' }], + [ + '@babel/preset-react', + { + runtime: 'automatic', + }, + ], + '@babel/preset-typescript', + ], +}; diff --git a/packages/bridge/coverage/coverage-summary.json b/packages/bridge/coverage/coverage-summary.json index 488ca083..8304acbc 100644 --- a/packages/bridge/coverage/coverage-summary.json +++ b/packages/bridge/coverage/coverage-summary.json @@ -1,3 +1,6 @@ -{"total": {"lines":{"total":22,"covered":20,"skipped":0,"pct":90.9},"statements":{"total":27,"covered":22,"skipped":0,"pct":81.48},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":5,"covered":5,"skipped":0,"pct":100},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/utils.ts": {"lines":{"total":22,"covered":20,"skipped":0,"pct":90.9},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":27,"covered":22,"skipped":0,"pct":81.48},"branches":{"total":5,"covered":5,"skipped":0,"pct":100}} +{"total": {"lines":{"total":56,"covered":54,"skipped":0,"pct":96.42},"statements":{"total":58,"covered":56,"skipped":0,"pct":96.55},"functions":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":16,"covered":16,"skipped":0,"pct":100},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}} +,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/mountApp.tsx": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} +,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/useLockCallback.ts": {"lines":{"total":10,"covered":10,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}} +,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/useVerifier.ts": {"lines":{"total":25,"covered":25,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":26,"covered":26,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}} +,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/utils.ts": {"lines":{"total":18,"covered":16,"skipped":0,"pct":88.88},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":18,"covered":16,"skipped":0,"pct":88.88},"branches":{"total":6,"covered":6,"skipped":0,"pct":100}} } diff --git a/packages/bridge/jest-report.xml b/packages/bridge/jest-report.xml index 685de988..1396760d 100644 --- a/packages/bridge/jest-report.xml +++ b/packages/bridge/jest-report.xml @@ -1,13 +1,45 @@ - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/bridge/jest.config.ts b/packages/bridge/jest.config.ts index e04c7daa..1bf3ec63 100644 --- a/packages/bridge/jest.config.ts +++ b/packages/bridge/jest.config.ts @@ -166,9 +166,8 @@ const config = { // testRunner: "jest-circus/runner", // A map from regular expressions to paths to transformers - transform: { - '^.+\\.(t|j)sx?$': '@swc/jest', - }, + transform: { '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest', '^.+\\.js$': 'babel-jest' }, + // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation transformIgnorePatterns: [ '.pnpm/node_modules/(?!((jest-)?react-native(-.*)?|@react-native(-community)?|victory(-.*)?|uuid)|react-navigation|@shopify/react-native-skia|@react-navigation/.*/)', diff --git a/packages/bridge/package.json b/packages/bridge/package.json index 65c34310..93ae7009 100755 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -40,11 +40,20 @@ "react-dom": "^18.0.0" }, "devDependencies": { + "babel-jest": "^29.7.0", "@portkey/did-ui-react": "^2.15.9", "@portkey/types": "^2.15.9", "@portkey/utils": "^2.15.9", + "@babel/core": "^7.24.7", + "@babel/preset-env": "^7.24.7", + "@babel/preset-react": "^7.24.7", + "@babel/preset-typescript": "^7.24.7", "@swc/core": "^1.9.3", "@swc/jest": "^0.2.37", + "@testing-library/jest-dom": "^6.5.0", + "@testing-library/react": "^16.0.1", + "@testing-library/react-hooks": "^8.0.1", + "@types/jest": "^29.5.14", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", "antd": "4.24.14", diff --git a/packages/bridge/src/__tests__/mountApp.test.tsx b/packages/bridge/src/__tests__/mountApp.test.tsx new file mode 100644 index 00000000..8341344d --- /dev/null +++ b/packages/bridge/src/__tests__/mountApp.test.tsx @@ -0,0 +1,57 @@ +import { renderHook } from '@testing-library/react-hooks'; +import { render, screen } from '@testing-library/react'; +import { useMountSignIn } from '../mountApp'; +import { Bridge } from '../bridge'; +import { NetworkEnum, WalletAdapter } from '@aelf-web-login/wallet-adapter-base'; +import { IBaseConfig } from '../index'; +import '@testing-library/jest-dom'; + +// Mock components and dependencies +jest.mock('../ui', () => jest.fn(() =>
SignInModal Component
)); + +jest.mock('@portkey/did-ui-react', () => ({ + PortkeyProvider: ({ children }: { children: React.ReactNode }) =>
{children}
, +})); + +describe('useMountSignIn', () => { + let bridgeInstance: Bridge; + let wallets: WalletAdapter[]; + let baseConfig: IBaseConfig; + let children: React.ReactNode; + + beforeEach(() => { + bridgeInstance = {} as Bridge; + wallets = [{} as WalletAdapter]; + baseConfig = { + PortkeyProviderProps: {}, + networkType: NetworkEnum.TESTNET, + } as IBaseConfig; + children =
Child Component
; + }); + + it('should render the SignInModal and children wrapped in PortkeyProvider', () => { + const { result } = renderHook(() => + useMountSignIn(bridgeInstance, wallets, baseConfig, children), + ); + + const SignInNode = result.current; + + render(SignInNode); + + expect(screen.getByText('Child Component')).toBeInTheDocument(); + }); + + it('should memoize the rendered component', () => { + const { result, rerender } = renderHook(() => + useMountSignIn(bridgeInstance, wallets, baseConfig, children), + ); + + const firstRender = result.current; + + rerender(); + + const secondRender = result.current; + + expect(firstRender).toBe(secondRender); + }); +}); diff --git a/packages/bridge/src/__tests__/useLockCallback.test.ts b/packages/bridge/src/__tests__/useLockCallback.test.ts new file mode 100644 index 00000000..598038e2 --- /dev/null +++ b/packages/bridge/src/__tests__/useLockCallback.test.ts @@ -0,0 +1,89 @@ +import { renderHook, act } from '@testing-library/react-hooks'; +import useLockCallback from '../useLockCallback'; + +describe('useLockCallback Hook', () => { + it('should execute function and lock', async () => { + const mockFn = jest.fn(async () => { + await new Promise((res) => setTimeout(res, 100)); + return 'result'; + }); + + const { result } = renderHook(() => useLockCallback(mockFn, [])); + + // First call should execute + let value; + await act(async () => { + value = await result.current(); + }); + + expect(mockFn).toHaveBeenCalledTimes(1); + expect(value).toBe('result'); + }); + + it('should prevent concurrent execution', async () => { + const mockFn = jest.fn(async () => { + await new Promise((res) => setTimeout(res, 100)); + }); + + const { result } = renderHook(() => useLockCallback(mockFn, [])); + + // First call will run + let firstCall; + await act(async () => { + firstCall = result.current(); + await result.current(); + }); + + expect(mockFn).toHaveBeenCalledTimes(1); // Should only run once + + await firstCall; // Resolve first call + }); + + it('should allow another execution after previous is finished', async () => { + const mockFn = jest.fn(async () => { + await new Promise((res) => setTimeout(res, 100)); + return 'success'; + }); + + const { result } = renderHook(() => useLockCallback(mockFn, [])); + + // First call + let firstResult; + await act(async () => { + firstResult = await result.current(); + }); + + expect(firstResult).toBe('success'); + + // Second call, after first one has finished + let secondResult; + await act(async () => { + secondResult = await result.current(); + }); + + expect(secondResult).toBe('success'); + expect(mockFn).toHaveBeenCalledTimes(2); // Second call should now be allowed + }); + + it('should release the lock if the callback throws an error', async () => { + const mockFn = jest.fn(async () => { + throw new Error('Test error'); + }); + + const { result } = renderHook(() => useLockCallback(mockFn, [])); + + const lockedCallback = result.current; + + // First call should execute + const firstPromise = lockedCallback(); + expect(mockFn).toHaveBeenCalledTimes(1); + + // Expect the first call to throw an error + await expect(firstPromise).rejects.toThrow('Test error'); + + // Second call should now execute + const secondPromise = lockedCallback(); + await expect(secondPromise).rejects.toThrow('Test error'); + expect(mockFn).toHaveBeenCalledTimes(2); + }); +}); diff --git a/packages/bridge/src/__tests__/useVerifier.test.ts b/packages/bridge/src/__tests__/useVerifier.test.ts new file mode 100644 index 00000000..6e6d72d5 --- /dev/null +++ b/packages/bridge/src/__tests__/useVerifier.test.ts @@ -0,0 +1,178 @@ +import { renderHook, act } from '@testing-library/react-hooks'; +import useVerifier from '../useVerifier'; +import { did, ConfigProvider, useVerifyToken, IVerifier } from '@portkey/did-ui-react'; +import { TChainId } from '@aelf-web-login/wallet-adapter-base'; +import { OperationTypeEnum } from '@portkey/services'; + +jest.mock('@portkey/did-ui-react', () => ({ + did: { + services: { + getRecommendationVerifier: jest.fn(), + }, + }, + ConfigProvider: { + getSocialLoginConfig: jest.fn(), + }, + useVerifyToken: jest.fn(), +})); + +jest.mock('@aelf-web-login/wallet-adapter-base', () => ({ + TChainId: { + AELF: 'AELF', + }, +})); + +jest.mock('@portkey/services', () => ({ + AccountType: { + Apple: 'Apple', + Google: 'Google', + Telegram: 'Telegram', + }, + OperationTypeEnum: { + Login: 'Login', + }, +})); + +describe('useVerifier', () => { + const mockVerifyToken = jest.fn(); + const mockGetRecommendationVerifier = jest.fn(); + const mockSocialLoginConfig = { + Apple: { + clientId: 'apple-client-id', + redirectURI: 'apple-redirect-uri', + customLoginHandler: jest.fn(), + }, + Google: { + clientId: 'google-client-id', + customLoginHandler: jest.fn(), + }, + Telegram: { + customLoginHandler: jest.fn(), + }, + }; + + beforeEach(() => { + (did.services.getRecommendationVerifier as jest.Mock).mockReturnValue( + mockGetRecommendationVerifier, + ); + (ConfigProvider.getSocialLoginConfig as jest.Mock).mockReturnValue(mockSocialLoginConfig); + (useVerifyToken as jest.Mock).mockReturnValue(mockVerifyToken); + }); + + it('should return getRecommendationVerifier and verifySocialToken functions', () => { + const { result } = renderHook(() => useVerifier()); + + expect(result.current.getRecommendationVerifier).toBeInstanceOf(Function); + expect(result.current.verifySocialToken).toBeInstanceOf(Function); + }); + + it('should call getRecommendationVerifier with correct chainId', async () => { + const chainId: TChainId = 'AELF'; + const { result } = renderHook(() => useVerifier()); + + await act(async () => { + await result.current.getRecommendationVerifier(chainId); + }); + + expect(did.services.getRecommendationVerifier).toHaveBeenCalledWith({ chainId }); + }); + + it('should handle Apple account type correctly', async () => { + const chainId: TChainId = 'AELF'; + const { result } = renderHook(() => useVerifier()); + + await act(async () => { + await result.current.verifySocialToken({ + accountType: 'Apple', + token: 'apple-token', + guardianIdentifier: 'guardian-id', + verifier: { id: 'verifier-id' } as IVerifier, + chainId, + operationType: OperationTypeEnum.register, + operationDetails: 'login-details', + }); + }); + + expect(mockVerifyToken).toHaveBeenCalledWith('Apple', expect.any(Object)); + }); + + it('should handle Google account type correctly', async () => { + const chainId: TChainId = 'AELF'; + const { result } = renderHook(() => useVerifier()); + + await act(async () => { + await result.current.verifySocialToken({ + accountType: 'Google', + token: 'google-token', + guardianIdentifier: 'guardian-id', + verifier: { id: 'verifier-id' } as IVerifier, + chainId, + operationType: OperationTypeEnum.register, + operationDetails: 'login-details', + }); + }); + + expect(mockVerifyToken).toHaveBeenCalledWith('Google', expect.any(Object)); + }); + + it('should handle Telegram account type correctly', async () => { + const chainId: TChainId = 'AELF'; + const { result } = renderHook(() => useVerifier()); + + await act(async () => { + await result.current.verifySocialToken({ + accountType: 'Telegram', + token: 'telegram-token', + guardianIdentifier: 'guardian-id', + verifier: { id: 'verifier-id' } as IVerifier, + chainId, + operationType: OperationTypeEnum.register, + operationDetails: 'login-details', + }); + }); + + expect(mockVerifyToken).toHaveBeenCalledWith('Telegram', expect.any(Object)); + }); + + it('should throw error for unsupported account type', async () => { + const chainId: TChainId = 'AELF'; + const { result } = renderHook(() => useVerifier()); + + await act(async () => { + try { + await result.current.verifySocialToken({ + accountType: 'Unsupported' as any, + token: 'unsupported-token', + guardianIdentifier: 'guardian-id', + verifier: { id: 'verifier-id' } as IVerifier, + chainId, + operationType: OperationTypeEnum.register, + operationDetails: 'login-details', + }); + } catch (error) { + expect(error).toBe('accountType is not supported'); + } + }); + }); + + it('should throw error if verifier is missing', async () => { + const chainId: TChainId = 'AELF'; + const { result } = renderHook(() => useVerifier()); + + await act(async () => { + try { + await result.current.verifySocialToken({ + accountType: 'Apple', + token: 'apple-token', + guardianIdentifier: 'guardian-id', + verifier: { id: '' } as IVerifier, + chainId, + operationType: OperationTypeEnum.register, + operationDetails: 'login-details', + }); + } catch (error) { + expect(error).toBe('Verifier is not missing'); + } + }); + }); +}); diff --git a/packages/bridge/src/index.ts b/packages/bridge/src/index.ts index b9bb9262..42195376 100644 --- a/packages/bridge/src/index.ts +++ b/packages/bridge/src/index.ts @@ -1,4 +1,3 @@ -// export * from './mountApp' import { TChainId, SignInDesignEnum, @@ -6,7 +5,7 @@ import { WalletAdapter, } from '@aelf-web-login/wallet-adapter-base'; import { Bridge } from './bridge'; -import { mountApp, unMountApp, useMountSignIn } from './mountApp'; +import { useMountSignIn } from './mountApp'; import { store, AppStore } from './store'; import { GlobalConfigProps } from '@portkey/did-ui-react/dist/_types/src/components/config-provider/types'; import { ConfigProvider, SignInProps, ISignIn, PortkeyProvider } from '@portkey/did-ui-react'; @@ -41,8 +40,6 @@ export interface IConfigProps { export interface IBridgeAPI { instance: Bridge; store: AppStore; - mountApp: () => void; - unMountApp: () => void; getSignIn: (arg: React.ReactNode) => React.ReactNode; } export function initBridge({ baseConfig, wallets, didConfig }: IConfigProps): IBridgeAPI { @@ -50,12 +47,9 @@ export function initBridge({ baseConfig, wallets, didConfig }: IConfigProps): IB ConfigProvider.setGlobalConfig(didConfig); console.log('init bridge'); - // mountApp(bridgeInstance, wallets, baseConfig); return { instance: bridgeInstance, store, - mountApp: mountApp.bind(null, bridgeInstance, wallets, baseConfig), - unMountApp, getSignIn: useMountSignIn.bind(null, bridgeInstance, wallets, baseConfig), }; } diff --git a/packages/bridge/src/mountApp.tsx b/packages/bridge/src/mountApp.tsx index c649a62a..83aa7c09 100644 --- a/packages/bridge/src/mountApp.tsx +++ b/packages/bridge/src/mountApp.tsx @@ -1,37 +1,10 @@ import { WalletAdapter } from '@aelf-web-login/wallet-adapter-base'; -import { createRoot } from 'react-dom/client'; import SignInModal from './ui'; import { Bridge } from './bridge'; import { IBaseConfig } from '.'; import { PortkeyProvider } from '@portkey/did-ui-react'; import { useMemo } from 'react'; -export function mountApp( - bridgeInstance: Bridge, - wallets: WalletAdapter[], - baseConfig: IBaseConfig, -) { - if (typeof window === 'undefined') { - return; - } - console.log('mountApp--'); - const containerElementQuery = 'body'; - const containerElement = document.querySelector(containerElementQuery); - if (!containerElement) { - throw new Error(`Element with query ${containerElementQuery} does not exist.`); - } - - const SignInWrapperDom = document.createElement('div'); - SignInWrapperDom.setAttribute('id', 'sign-in-wrapper'); - const root = createRoot(SignInWrapperDom); - root.render( - - - , - ); - containerElement.appendChild(SignInWrapperDom); -} - export function useMountSignIn( bridgeInstance: Bridge, wallets: WalletAdapter[], @@ -48,14 +21,3 @@ export function useMountSignIn( }, [baseConfig, bridgeInstance, children, wallets]); return SignInNode; } - -export function unMountApp() { - if (typeof window === 'undefined') { - return; - } - const SignInWrapperDom = document.querySelector('#sign-in-wrapper'); - if (!SignInWrapperDom) { - return; - } - document.body.removeChild(SignInWrapperDom); -} diff --git a/packages/bridge/src/useWallet.ts b/packages/bridge/src/useWallet.ts deleted file mode 100644 index 0af883f9..00000000 --- a/packages/bridge/src/useWallet.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { createContext, useContext } from 'react'; - -export interface WalletContextState { - login(): Promise; -} - -const DEFAULT_CONTEXT: Partial = { - login() { - return Promise.reject(logMissingProviderError('call', 'connect')); - }, -}; - -function logMissingProviderError(action: string, property: string) { - const error = new Error( - `You have tried to ${action} "${property}" on a WalletContext without providing one. ` + - 'Make sure to render a WalletProvider as an ancestor of the component that uses WalletContext.', - ); - console.error(error); - return error; -} - -export const WalletContext: React.Context = createContext( - DEFAULT_CONTEXT as WalletContextState, -); - -export function useWallet(): WalletContextState { - return useContext(WalletContext); -} diff --git a/packages/react/jest.setup.ts b/packages/react/jest.setup.ts index 446173b6..8bd80ada 100644 --- a/packages/react/jest.setup.ts +++ b/packages/react/jest.setup.ts @@ -11,8 +11,6 @@ jest.mock('@aelf-web-login/wallet-adapter-bridge', () => ({ subscribe: () => null, }, instance: {} as IBridgeAPI['instance'], - mountApp: () => null, - unMountApp: () => null, }), })); diff --git a/packages/react/src/__tests__/context.test.tsx b/packages/react/src/__tests__/context.test.tsx index 5d12b0e2..63362432 100644 --- a/packages/react/src/__tests__/context.test.tsx +++ b/packages/react/src/__tests__/context.test.tsx @@ -10,8 +10,6 @@ const mockBridgeAPI: IBridgeAPI = { subscribe: () => null as unknown as ReturnType, } as unknown as IBridgeAPI['store'], instance: {} as IBridgeAPI['instance'], - mountApp: () => null, - unMountApp: () => null, }; describe('WebLoginProvider', () => { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 900a1b4f..160a3a80 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -155,6 +155,18 @@ importers: specifier: ^18.0.0 version: 18.3.1(react@18.3.1) devDependencies: + '@babel/core': + specifier: ^7.0.0 + version: 7.25.2 + '@babel/preset-env': + specifier: ^7.24.7 + version: 7.25.4(@babel/core@7.25.2) + '@babel/preset-react': + specifier: ^7.24.7 + version: 7.24.7(@babel/core@7.25.2) + '@babel/preset-typescript': + specifier: ^7.24.7 + version: 7.24.7(@babel/core@7.25.2) '@portkey/did-ui-react': specifier: ^2.15.9 version: 2.15.9(@types/react@18.3.9)(aelf-sdk@3.4.16-alpha.7(@babel/core@7.25.2)(encoding@0.1.13)(eslint@8.57.1))(encoding@0.1.13)(i18next@23.15.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -170,6 +182,18 @@ importers: '@swc/jest': specifier: ^0.2.37 version: 0.2.37(@swc/core@1.9.3(@swc/helpers@0.5.1)) + '@testing-library/jest-dom': + specifier: ^6.5.0 + version: 6.5.0 + '@testing-library/react': + specifier: ^16.0.1 + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@testing-library/react-hooks': + specifier: ^8.0.1 + version: 8.0.1(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@types/jest': + specifier: ^29.5.14 + version: 29.5.14 '@types/react': specifier: ^18.3.1 version: 18.3.9 @@ -179,15 +203,15 @@ importers: antd: specifier: 4.24.14 version: 4.24.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + babel-jest: + specifier: ^29.7.0 + version: 29.7.0(@babel/core@7.25.2) father: specifier: ^4.3.8 version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) - jest-canvas-mock: - specifier: ^2.5.2 - version: 2.5.2 typescript: specifier: ^5.3.3 version: 5.6.2 @@ -3489,6 +3513,22 @@ packages: resolution: {integrity: sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + '@testing-library/react-hooks@8.0.1': + resolution: {integrity: sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==} + engines: {node: '>=12'} + peerDependencies: + '@types/react': ^16.9.0 || ^17.0.0 + react: ^16.9.0 || ^17.0.0 + react-dom: ^16.9.0 || ^17.0.0 + react-test-renderer: ^16.9.0 || ^17.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + react-dom: + optional: true + react-test-renderer: + optional: true + '@testing-library/react@14.3.1': resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==} engines: {node: '>=14'} @@ -3597,6 +3637,9 @@ packages: '@types/jest@29.5.13': resolution: {integrity: sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==} + '@types/jest@29.5.14': + resolution: {integrity: sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==} + '@types/js-cookie@2.2.7': resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} @@ -9322,6 +9365,12 @@ packages: peerDependencies: react: ^18.3.1 + react-error-boundary@3.1.4: + resolution: {integrity: sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==} + engines: {node: '>=10', npm: '>=6'} + peerDependencies: + react: '>=16.13.1' + react-error-boundary@4.0.13: resolution: {integrity: sha512-b6PwbdSv8XeOSYvjt8LpgpKrZ0yGdtZokYwkwV2wlcZbxgopHX/hgPl5VgpnoVOWd868n1hktM8Qm4b+02MiLQ==} peerDependencies: @@ -15253,6 +15302,15 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 + '@testing-library/react-hooks@8.0.1(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.6 + react: 18.3.1 + react-error-boundary: 3.1.4(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.9 + react-dom: 18.3.1(react@18.3.1) + '@testing-library/react@14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 @@ -15366,6 +15424,11 @@ snapshots: expect: 29.7.0 pretty-format: 29.7.0 + '@types/jest@29.5.14': + dependencies: + expect: 29.7.0 + pretty-format: 29.7.0 + '@types/js-cookie@2.2.7': {} '@types/jsdom@20.0.1': @@ -23179,6 +23242,11 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 + react-error-boundary@3.1.4(react@18.3.1): + dependencies: + '@babel/runtime': 7.25.6 + react: 18.3.1 + react-error-boundary@4.0.13(react@18.3.1): dependencies: '@babel/runtime': 7.25.6 From 4e4b90e4f92b5609844b61480096b87c6339aa69 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Mon, 25 Nov 2024 14:42:07 +0800 Subject: [PATCH 02/25] chore: remove .eslintcache --- .eslintcache | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .eslintcache diff --git a/.eslintcache b/.eslintcache deleted file mode 100644 index 4fedb584..00000000 --- a/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"/Users/liuxiyang/work/code/aelf-web-login/packages/login/src/config.ts":"1","/Users/liuxiyang/work/code/aelf-web-login/packages/login/src/hooks/useCallContract.ts":"2"},{"size":2147,"mtime":1715326647646,"results":"3","hashOfConfig":"4"},{"size":9055,"mtime":1715326697770,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","suppressedMessages":"8","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"15zkwcl",{"filePath":"9","messages":"10","suppressedMessages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/liuxiyang/work/code/aelf-web-login/packages/login/src/config.ts",[],[],"/Users/liuxiyang/work/code/aelf-web-login/packages/login/src/hooks/useCallContract.ts",["12"],[],{"ruleId":"13","severity":1,"message":"14","line":14,"column":10,"nodeType":"15","messageId":"16","endLine":14,"endColumn":37},"@typescript-eslint/no-unused-vars","'PORTKEY_ORIGIN_CHAIN_ID_KEY' is defined but never used.","Identifier","unusedVar"] \ No newline at end of file From a74971255e4784d8edab595692b8f128253c86f8 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Mon, 25 Nov 2024 18:09:52 +0800 Subject: [PATCH 03/25] chore: update packages --- package.json | 11 +- pnpm-lock.yaml | 376 +++++++++++++++++++++++++------------------------ 2 files changed, 198 insertions(+), 189 deletions(-) diff --git a/package.json b/package.json index 70448b48..f7d8056b 100644 --- a/package.json +++ b/package.json @@ -45,20 +45,22 @@ "lint-staged": { "*.{ts,tsx,js,jsx}": [ "biome format --write", - "npm run prettier" + "pnpm prettier", + "pnpm eslint" ], "*.{json,less,md}": "prettier --ignore-unknown --write" }, "devDependencies": { "@babel/parser": "^7.24.0", - "@biomejs/biome": "^1.4.1", + "@biomejs/biome": "^1.9.2", "@changesets/changelog-git": "^0.2.0", "@changesets/cli": "^2.27.1", + "@happy-dom/jest-environment": "^15.11.6", "@ianvs/prettier-plugin-sort-imports": "^4.1.1", "@testing-library/react": "^14.1.2", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", - "@vitest/coverage-v8": "^1.1.0", + "@vitest/coverage-v8": "^2.1.5", "babel-plugin-transform-remove-console": "^6.9.4", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", @@ -67,6 +69,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-unused-imports": "^3.0.0", "father": "^4.3.8", + "happy-dom": "^15.11.6", "husky": "^8.0.3", "jest-canvas-mock": "^2.5.2", "jest-transform-stub": "^2.0.0", @@ -75,7 +78,7 @@ "prettier": "^3.1.1", "rimraf": "^5.0.5", "typescript": "^5.3.3", - "vitest": "^1.3.1" + "vitest": "^2.1.5" }, "ci": { "type": "aci", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 160a3a80..614e79b6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: specifier: ^7.24.0 version: 7.25.6 '@biomejs/biome': - specifier: ^1.4.1 + specifier: ^1.9.2 version: 1.9.2 '@changesets/changelog-git': specifier: ^0.2.0 @@ -24,6 +24,9 @@ importers: '@changesets/cli': specifier: ^2.27.1 version: 2.27.8 + '@happy-dom/jest-environment': + specifier: ^15.11.6 + version: 15.11.6 '@ianvs/prettier-plugin-sort-imports': specifier: ^4.1.1 version: 4.3.1(prettier@3.3.3) @@ -37,8 +40,8 @@ importers: specifier: ^7.1.1 version: 7.18.0(eslint@8.57.1)(typescript@5.6.2) '@vitest/coverage-v8': - specifier: ^1.1.0 - version: 1.6.0(vitest@1.6.0(@types/node@22.7.3)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) + specifier: ^2.1.5 + version: 2.1.5(vitest@2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) babel-plugin-transform-remove-console: specifier: ^6.9.4 version: 6.9.4 @@ -63,6 +66,9 @@ importers: father: specifier: ^4.3.8 version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) + happy-dom: + specifier: ^15.11.6 + version: 15.11.6 husky: specifier: ^8.0.3 version: 8.0.3 @@ -88,8 +94,8 @@ importers: specifier: ^5.3.3 version: 5.6.2 vitest: - specifier: ^1.3.1 - version: 1.6.0(@types/node@22.7.3)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + specifier: ^2.1.5 + version: 2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) packages/base: dependencies: @@ -2388,6 +2394,10 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + '@happy-dom/jest-environment@15.11.6': + resolution: {integrity: sha512-ExRx7ApOMeKEbKZhuE5578fvcyJjqlB+xOjaVV0lE/AGdo+Wa5FEYCsj8J1UDfMJU5voHxPX+W7wZ42wcKXxwQ==} + engines: {node: '>=18.0.0'} + '@humanwhocodes/config-array@0.13.0': resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} engines: {node: '>=10.10.0'} @@ -4085,25 +4095,43 @@ packages: peerDependencies: vite: ^4.2.0 - '@vitest/coverage-v8@1.6.0': - resolution: {integrity: sha512-KvapcbMY/8GYIG0rlwwOKCVNRc0OL20rrhFkg/CHNzncV03TE2XWvO5w9uZYoxNiMEBacAJt3unSOiZ7svePew==} + '@vitest/coverage-v8@2.1.5': + resolution: {integrity: sha512-/RoopB7XGW7UEkUndRXF87A9CwkoZAJW01pj8/3pgmDVsjMH2IKy6H1A38po9tmUlwhSyYs0az82rbKd9Yaynw==} peerDependencies: - vitest: 1.6.0 + '@vitest/browser': 2.1.5 + vitest: 2.1.5 + peerDependenciesMeta: + '@vitest/browser': + optional: true - '@vitest/expect@1.6.0': - resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} + '@vitest/expect@2.1.5': + resolution: {integrity: sha512-nZSBTW1XIdpZvEJyoP/Sy8fUg0b8od7ZpGDkTUcfJ7wz/VoZAFzFfLyxVxGFhUjJzhYqSbIpfMtl/+k/dpWa3Q==} - '@vitest/runner@1.6.0': - resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} + '@vitest/mocker@2.1.5': + resolution: {integrity: sha512-XYW6l3UuBmitWqSUXTNXcVBUCRytDogBsWuNXQijc00dtnU/9OqpXWp4OJroVrad/gLIomAq9aW8yWDBtMthhQ==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true - '@vitest/snapshot@1.6.0': - resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} + '@vitest/pretty-format@2.1.5': + resolution: {integrity: sha512-4ZOwtk2bqG5Y6xRGHcveZVr+6txkH7M2e+nPFd6guSoN638v/1XQ0K06eOpi0ptVU/2tW/pIU4IoPotY/GZ9fw==} - '@vitest/spy@1.6.0': - resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} + '@vitest/runner@2.1.5': + resolution: {integrity: sha512-pKHKy3uaUdh7X6p1pxOkgkVAFW7r2I818vHDthYLvUyjRfkKOU6P45PztOch4DZarWQne+VOaIMwA/erSSpB9g==} - '@vitest/utils@1.6.0': - resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} + '@vitest/snapshot@2.1.5': + resolution: {integrity: sha512-zmYw47mhfdfnYbuhkQvkkzYroXUumrwWDGlMjpdUr4jBd3HZiV2w7CQHj+z7AAS4VOtWxI4Zt4bWt4/sKcoIjg==} + + '@vitest/spy@2.1.5': + resolution: {integrity: sha512-aWZF3P0r3w6DiYTVskOYuhBc7EMc3jvn1TkBg8ttylFFRqNN2XGD7V5a4aQdk6QiUzZQ4klNBSpCLJgWNdIiNw==} + + '@vitest/utils@2.1.5': + resolution: {integrity: sha512-yfj6Yrp0Vesw2cwJbP+cl04OC+IHFsuQsrsJBL9pyGeQXE56v1UAOQco+SR55Vf1nQzfV0QJg1Qum7AaWUwwYg==} '@webassemblyjs/ast@1.12.1': resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} @@ -4441,8 +4469,9 @@ packages: assert@2.1.0: resolution: {integrity: sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw==} - assertion-error@1.1.0: - resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} astral-regex@2.0.0: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} @@ -4788,9 +4817,9 @@ packages: ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} - chai@4.5.0: - resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} - engines: {node: '>=4'} + chai@5.1.2: + resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} + engines: {node: '>=12'} chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -4827,8 +4856,9 @@ packages: chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} - check-error@1.0.3: - resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} @@ -5008,9 +5038,6 @@ packages: resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} engines: {'0': node >= 0.8} - confbox@0.1.7: - resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} - configstore@3.1.5: resolution: {integrity: sha512-nlOhI4+fdzoK5xmJ+NY+1gZK56bwEaWZr8fYuXohZ9Vkc1o3a4T/R3M+yE/w7x/ZVJ1zF8c+oaOvF0dztdUgmA==} engines: {node: '>=4'} @@ -5333,8 +5360,8 @@ packages: babel-plugin-macros: optional: true - deep-eql@4.1.4: - resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} deep-extend@0.6.0: @@ -5928,6 +5955,10 @@ packages: resolution: {integrity: sha512-rtmc+cjLZqnu9dSYosX9EWmSJhTwpACgJQTfj4hgg2JjOD/6SIQalZrt4a3aQeh++oNxkazcaxrhPUj6+g5G/Q==} engines: {node: '>=0.10.0'} + expect-type@1.1.0: + resolution: {integrity: sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==} + engines: {node: '>=12.0.0'} + expect@29.7.0: resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -6207,9 +6238,6 @@ packages: resolution: {integrity: sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==} engines: {node: '>=18'} - get-func-name@2.0.2: - resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} - get-intrinsic@1.2.4: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} @@ -6354,6 +6382,10 @@ packages: handle-thing@2.0.1: resolution: {integrity: sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==} + happy-dom@15.11.6: + resolution: {integrity: sha512-elX7iUTu+5+3b2+NGQc0L3eWyq9jKhuJJ4GpOMxxT/c2pg9O3L5H3ty2VECX0XXZgRmmRqXyOK8brA2hDI6LsQ==} + engines: {node: '>=18.0.0'} + hard-rejection@2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} engines: {node: '>=6'} @@ -7246,9 +7278,6 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-tokens@9.0.0: - resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} - js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -7484,10 +7513,6 @@ packages: resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} engines: {node: '>=14'} - local-pkg@0.5.0: - resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} - engines: {node: '>=14'} - locate-path@3.0.0: resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} engines: {node: '>=6'} @@ -7551,8 +7576,8 @@ packages: lottie-web@5.9.6: resolution: {integrity: sha512-JFs7KsHwflugH5qIXBpB4905yC1Sub2MZWtl/elvO/QC6qj1ApqbUZJyjzJseJUtVpgiDaXQLjBlIJGS7UUUXA==} - loupe@2.3.7: - resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + loupe@3.1.2: + resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} @@ -7582,8 +7607,8 @@ packages: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} hasBin: true - magic-string@0.30.11: - resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + magic-string@0.30.13: + resolution: {integrity: sha512-8rYBO+MsWkgjDSOvLomYnzhdwEG51olQ4zL5KXnNJWV5MNmrb4rTZdrtkhxjnD/QyZUqR/Z/XDsUs/4ej2nx0g==} magicast@0.3.5: resolution: {integrity: sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==} @@ -7896,9 +7921,6 @@ packages: engines: {node: '>=10'} hasBin: true - mlly@1.7.1: - resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} - moment@2.30.1: resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} @@ -8205,10 +8227,6 @@ packages: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} - p-limit@5.0.0: - resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} - engines: {node: '>=18'} - p-locate@3.0.0: resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} engines: {node: '>=6'} @@ -8348,8 +8366,9 @@ packages: pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} - pathval@1.1.1: - resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} pbkdf2@3.1.2: resolution: {integrity: sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==} @@ -8399,9 +8418,6 @@ packages: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} - pkg-types@1.2.0: - resolution: {integrity: sha512-+ifYuSSqOQ8CqP4MbZA5hDpb97n3E8SVWdJe+Wms9kj745lmd3b7EZJiqvmLwAlmRfjrI7Hi5z3kdBJ93lFNPA==} - pkg-up@3.1.0: resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} engines: {node: '>=8'} @@ -10098,8 +10114,8 @@ packages: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} - std-env@3.7.0: - resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + std-env@3.8.0: + resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} @@ -10236,9 +10252,6 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - strip-literal@2.1.0: - resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} - strnum@1.0.5: resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} @@ -10402,6 +10415,10 @@ packages: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} + test-exclude@7.0.1: + resolution: {integrity: sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==} + engines: {node: '>=18'} + text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} @@ -10440,12 +10457,19 @@ packages: tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} - tinypool@0.8.4: - resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} + tinyexec@0.3.1: + resolution: {integrity: sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==} + + tinypool@1.0.2: + resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} engines: {node: '>=14.0.0'} - tinyspy@2.2.1: - resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + tinyspy@3.0.2: + resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} titleize@3.0.0: @@ -10602,10 +10626,6 @@ packages: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} - type-detect@4.1.0: - resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} - engines: {node: '>=4'} - type-fest@0.18.1: resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} engines: {node: '>=10'} @@ -10667,9 +10687,6 @@ packages: engines: {node: '>=14.17'} hasBin: true - ufo@1.5.4: - resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} - umi@4.3.24: resolution: {integrity: sha512-sOPP5ouk1vw6KCng/nbBx13TbrNh0ii2WeuYa9WafSUADs3kb+uUimIZuIghb7lq/OqSnAwhWs1nOUJ5n3ie7w==} engines: {node: '>=14'} @@ -10895,8 +10912,8 @@ packages: vfile@5.3.7: resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} - vite-node@1.6.0: - resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} + vite-node@2.1.5: + resolution: {integrity: sha512-rd0QIgx74q4S1Rd56XIiL2cYEdyWn13cunYBIuqh9mpmQr7gGS0IxXoP8R6OaZtNQQLyXSWbd4rXKYUbhFpK5w==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10959,15 +10976,15 @@ packages: terser: optional: true - vitest@1.6.0: - resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} + vitest@2.1.5: + resolution: {integrity: sha512-P4ljsdpuzRTPI/kbND2sDZ4VmieerR2c9szEZpjc+98Z9ebvnXmM5+0tHEKqYZumXqlvnmfWsjeFOjXVriDG7A==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.6.0 - '@vitest/ui': 1.6.0 + '@vitest/browser': 2.1.5 + '@vitest/ui': 2.1.5 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -11254,10 +11271,6 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - yocto-queue@1.1.1: - resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==} - engines: {node: '>=12.20'} - z-schema@5.0.5: resolution: {integrity: sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q==} engines: {node: '>=8.0.0'} @@ -13668,6 +13681,15 @@ snapshots: dependencies: graphql: 16.9.0 + '@happy-dom/jest-environment@15.11.6': + dependencies: + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 + happy-dom: 15.11.6 + jest-mock: 29.7.0 + jest-util: 29.7.0 + '@humanwhocodes/config-array@0.13.0': dependencies: '@humanwhocodes/object-schema': 2.0.3 @@ -16171,7 +16193,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@22.7.3)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': + '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -16180,44 +16202,54 @@ snapshots: istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.6 istanbul-reports: 3.1.7 - magic-string: 0.30.11 + magic-string: 0.30.13 magicast: 0.3.5 - picocolors: 1.1.0 - std-env: 3.7.0 - strip-literal: 2.1.0 - test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@22.7.3)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + std-env: 3.8.0 + test-exclude: 7.0.1 + tinyrainbow: 1.2.0 + vitest: 2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) transitivePeerDependencies: - supports-color - '@vitest/expect@1.6.0': + '@vitest/expect@2.1.5': dependencies: - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - chai: 4.5.0 + '@vitest/spy': 2.1.5 + '@vitest/utils': 2.1.5 + chai: 5.1.2 + tinyrainbow: 1.2.0 - '@vitest/runner@1.6.0': + '@vitest/mocker@2.1.5(vite@5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': dependencies: - '@vitest/utils': 1.6.0 - p-limit: 5.0.0 + '@vitest/spy': 2.1.5 + estree-walker: 3.0.3 + magic-string: 0.30.13 + optionalDependencies: + vite: 5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + + '@vitest/pretty-format@2.1.5': + dependencies: + tinyrainbow: 1.2.0 + + '@vitest/runner@2.1.5': + dependencies: + '@vitest/utils': 2.1.5 pathe: 1.1.2 - '@vitest/snapshot@1.6.0': + '@vitest/snapshot@2.1.5': dependencies: - magic-string: 0.30.11 + '@vitest/pretty-format': 2.1.5 + magic-string: 0.30.13 pathe: 1.1.2 - pretty-format: 29.7.0 - '@vitest/spy@1.6.0': + '@vitest/spy@2.1.5': dependencies: - tinyspy: 2.2.1 + tinyspy: 3.0.2 - '@vitest/utils@1.6.0': + '@vitest/utils@2.1.5': dependencies: - diff-sequences: 29.6.3 - estree-walker: 3.0.3 - loupe: 2.3.7 - pretty-format: 29.7.0 + '@vitest/pretty-format': 2.1.5 + loupe: 3.1.2 + tinyrainbow: 1.2.0 '@webassemblyjs/ast@1.12.1': dependencies: @@ -16829,7 +16861,7 @@ snapshots: object.assign: 4.1.5 util: 0.12.5 - assertion-error@1.1.0: {} + assertion-error@2.0.1: {} astral-regex@2.0.0: {} @@ -17292,15 +17324,13 @@ snapshots: ccount@2.0.1: {} - chai@4.5.0: + chai@5.1.2: dependencies: - assertion-error: 1.1.0 - check-error: 1.0.3 - deep-eql: 4.1.4 - get-func-name: 2.0.2 - loupe: 2.3.7 - pathval: 1.1.1 - type-detect: 4.1.0 + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.2 + pathval: 2.0.0 chalk@2.4.2: dependencies: @@ -17332,9 +17362,7 @@ snapshots: chardet@0.7.0: {} - check-error@1.0.3: - dependencies: - get-func-name: 2.0.2 + check-error@2.1.1: {} chokidar@3.5.3: dependencies: @@ -17544,8 +17572,6 @@ snapshots: readable-stream: 2.3.8 typedarray: 0.0.6 - confbox@0.1.7: {} - configstore@3.1.5: dependencies: dot-prop: 4.2.1 @@ -17897,9 +17923,7 @@ snapshots: optionalDependencies: babel-plugin-macros: 3.1.0 - deep-eql@4.1.4: - dependencies: - type-detect: 4.1.0 + deep-eql@5.0.2: {} deep-extend@0.6.0: {} @@ -18782,6 +18806,8 @@ snapshots: dependencies: os-homedir: 1.0.2 + expect-type@1.1.0: {} + expect@29.7.0: dependencies: '@jest/expect-utils': 29.7.0 @@ -19234,8 +19260,6 @@ snapshots: get-east-asian-width@1.2.0: {} - get-func-name@2.0.2: {} - get-intrinsic@1.2.4: dependencies: es-errors: 1.3.0 @@ -19408,6 +19432,12 @@ snapshots: handle-thing@2.0.1: {} + happy-dom@15.11.6: + dependencies: + entities: 4.5.0 + webidl-conversions: 7.0.0 + whatwg-mimetype: 3.0.0 + hard-rejection@2.1.0: {} harmony-reflect@1.6.2: {} @@ -20590,8 +20620,6 @@ snapshots: js-tokens@4.0.0: {} - js-tokens@9.0.0: {} - js-yaml@3.14.1: dependencies: argparse: 1.0.10 @@ -20865,11 +20893,6 @@ snapshots: local-pkg@0.4.3: {} - local-pkg@0.5.0: - dependencies: - mlly: 1.7.1 - pkg-types: 1.2.0 - locate-path@3.0.0: dependencies: p-locate: 3.0.0 @@ -20925,9 +20948,7 @@ snapshots: lottie-web@5.9.6: {} - loupe@2.3.7: - dependencies: - get-func-name: 2.0.2 + loupe@3.1.2: {} lower-case@2.0.2: dependencies: @@ -20954,7 +20975,7 @@ snapshots: lz-string@1.5.0: {} - magic-string@0.30.11: + magic-string@0.30.13: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 @@ -21490,13 +21511,6 @@ snapshots: mkdirp@1.0.4: {} - mlly@1.7.1: - dependencies: - acorn: 8.12.1 - pathe: 1.1.2 - pkg-types: 1.2.0 - ufo: 1.5.4 - moment@2.30.1: {} moo-color@1.0.3: @@ -21869,10 +21883,6 @@ snapshots: dependencies: yocto-queue: 0.1.0 - p-limit@5.0.0: - dependencies: - yocto-queue: 1.1.1 - p-locate@3.0.0: dependencies: p-limit: 2.3.0 @@ -22036,7 +22046,7 @@ snapshots: pathe@1.1.2: {} - pathval@1.1.1: {} + pathval@2.0.0: {} pbkdf2@3.1.2: dependencies: @@ -22089,12 +22099,6 @@ snapshots: dependencies: find-up: 4.1.0 - pkg-types@1.2.0: - dependencies: - confbox: 0.1.7 - mlly: 1.7.1 - pathe: 1.1.2 - pkg-up@3.1.0: dependencies: find-up: 3.0.0 @@ -24099,7 +24103,7 @@ snapshots: statuses@2.0.1: {} - std-env@3.7.0: {} + std-env@3.8.0: {} stop-iteration-iterator@1.0.0: dependencies: @@ -24258,10 +24262,6 @@ snapshots: strip-json-comments@3.1.1: {} - strip-literal@2.1.0: - dependencies: - js-tokens: 9.0.0 - strnum@1.0.5: {} style-search@0.1.0: {} @@ -24496,6 +24496,12 @@ snapshots: glob: 7.2.3 minimatch: 3.1.2 + test-exclude@7.0.1: + dependencies: + '@istanbuljs/schema': 0.1.3 + glob: 10.4.5 + minimatch: 9.0.5 + text-table@0.2.0: {} textextensions@2.6.0: {} @@ -24528,9 +24534,13 @@ snapshots: tinybench@2.9.0: {} - tinypool@0.8.4: {} + tinyexec@0.3.1: {} + + tinypool@1.0.2: {} - tinyspy@2.2.1: {} + tinyrainbow@1.2.0: {} + + tinyspy@3.0.2: {} titleize@3.0.0: {} @@ -24667,8 +24677,6 @@ snapshots: type-detect@4.0.8: {} - type-detect@4.1.0: {} - type-fest@0.18.1: {} type-fest@0.20.2: {} @@ -24731,8 +24739,6 @@ snapshots: typescript@5.6.2: {} - ufo@1.5.4: {} - umi@4.3.24(@babel/core@7.25.2)(@types/node@22.7.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(sass@1.79.3)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): dependencies: '@babel/runtime': 7.23.6 @@ -25029,12 +25035,12 @@ snapshots: unist-util-stringify-position: 3.0.3 vfile-message: 3.1.4 - vite-node@1.6.0(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): + vite-node@2.1.5(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): dependencies: cac: 6.7.14 debug: 4.3.7 + es-module-lexer: 1.5.4 pathe: 1.1.2 - picocolors: 1.1.0 vite: 5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) transitivePeerDependencies: - '@types/node' @@ -25073,34 +25079,36 @@ snapshots: sass: 1.79.3 terser: 5.34.0 - vitest@1.6.0(@types/node@22.7.3)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): + vitest@2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): dependencies: - '@vitest/expect': 1.6.0 - '@vitest/runner': 1.6.0 - '@vitest/snapshot': 1.6.0 - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - acorn-walk: 8.3.4 - chai: 4.5.0 + '@vitest/expect': 2.1.5 + '@vitest/mocker': 2.1.5(vite@5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) + '@vitest/pretty-format': 2.1.5 + '@vitest/runner': 2.1.5 + '@vitest/snapshot': 2.1.5 + '@vitest/spy': 2.1.5 + '@vitest/utils': 2.1.5 + chai: 5.1.2 debug: 4.3.7 - execa: 8.0.1 - local-pkg: 0.5.0 - magic-string: 0.30.11 + expect-type: 1.1.0 + magic-string: 0.30.13 pathe: 1.1.2 - picocolors: 1.1.0 - std-env: 3.7.0 - strip-literal: 2.1.0 + std-env: 3.8.0 tinybench: 2.9.0 - tinypool: 0.8.4 + tinyexec: 0.3.1 + tinypool: 1.0.2 + tinyrainbow: 1.2.0 vite: 5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) - vite-node: 1.6.0(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vite-node: 2.1.5(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.7.3 + happy-dom: 15.11.6 jsdom: 23.2.0 transitivePeerDependencies: - less - lightningcss + - msw - sass - sass-embedded - stylus @@ -25394,8 +25402,6 @@ snapshots: yocto-queue@0.1.0: {} - yocto-queue@1.1.1: {} - z-schema@5.0.5: dependencies: lodash.get: 4.4.2 From bf30b4be7ee0b539d70e114a7051766583c41449 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Mon, 25 Nov 2024 18:10:30 +0800 Subject: [PATCH 04/25] chore: try vitest for /bridge --- packages/bridge/package.json | 2 +- packages/bridge/src/__tests__/utils.test.ts | 9 +++-- packages/bridge/vite.config.ts | 42 +++++++++++++++++++++ packages/bridge/vitest.setup.ts | 40 ++++++++++++++++++++ tsconfig.base.json | 2 +- tsconfig.json | 2 +- 6 files changed, 90 insertions(+), 7 deletions(-) create mode 100644 packages/bridge/vite.config.ts create mode 100644 packages/bridge/vitest.setup.ts diff --git a/packages/bridge/package.json b/packages/bridge/package.json index 93ae7009..2aad0715 100755 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -26,7 +26,7 @@ "scripts": { "dev": "father dev", "build": "father build", - "test": "NODE_OPTIONS='$NODE_OPTIONS --experimental-vm-modules' jest", + "test": "vitest", "test:dev": "pnpm test -- --watch", "test:coverage": "pnpm test -- --coverage", "test:debug": "pnpm test -- --detectOpenHandles" diff --git a/packages/bridge/src/__tests__/utils.test.ts b/packages/bridge/src/__tests__/utils.test.ts index ae5874e6..aa7b7e28 100644 --- a/packages/bridge/src/__tests__/utils.test.ts +++ b/packages/bridge/src/__tests__/utils.test.ts @@ -1,12 +1,13 @@ import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; import { getCaContractBase, getIsManagerReadOnly } from '../utils'; import { getContractBasic } from '@portkey/contracts'; +import { type Mock } from 'vitest'; afterEach(() => { - jest.unmock('@portkey/contracts'); + vi.unmock('@portkey/contracts'); }); -jest.mock('@portkey/contracts', () => ({ - getContractBasic: jest.fn(), +vi.mock('@portkey/contracts', () => ({ + getContractBasic: vi.fn(), })); describe('getCaContractBase()', () => { @@ -25,7 +26,7 @@ describe('getCaContractBase()', () => { chainId, address: '', }; - (getContractBasic as jest.Mock).mockImplementation(() => mockContractBase); + (getContractBasic as Mock).mockImplementation(() => mockContractBase); const contractBase = await getCaContractBase(chainId); expect(contractBase).toMatchObject(mockContractBase); }); diff --git a/packages/bridge/vite.config.ts b/packages/bridge/vite.config.ts new file mode 100644 index 00000000..323c91db --- /dev/null +++ b/packages/bridge/vite.config.ts @@ -0,0 +1,42 @@ +import { defineConfig, configDefaults } from 'vitest/config'; + +const exclude = [...configDefaults.exclude, '**/dist/*.*', '**/.*', '**/*.setup.*']; + +export default defineConfig({ + test: { + maxConcurrency: 20, + pool: 'vmThreads', + poolOptions: { + threads: { + singleThread: true, + }, + }, + isolate: false, // only safe with the poolOptions above + css: false, + deps: { + optimizer: { + web: { + enabled: true, + include: ['node-fetch'], + }, + }, + }, + globals: true, + environment: 'happy-dom', + setupFiles: ['./vitest.setup.ts'], + include: ['./src/**/*(*.)?{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], + name: 'bridge', + exclude, + reporters: ['junit'], + outputFile: { + junit: './jest-report.xml', + }, + coverage: { + enabled: true, + provider: 'v8', + exclude: [...exclude, '**/__tests__/*.*'], + reportsDirectory: './coverage', + reporter: [['json', { file: 'coverage-summary.json' }]], + }, + }, +}); diff --git a/packages/bridge/vitest.setup.ts b/packages/bridge/vitest.setup.ts new file mode 100644 index 00000000..26497b5e --- /dev/null +++ b/packages/bridge/vitest.setup.ts @@ -0,0 +1,40 @@ +import '@testing-library/jest-dom'; + +// https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom +if (typeof window !== 'undefined') { + Object.defineProperty(window, 'matchMedia', { + writable: true, + value: vi.fn().mockImplementation((query) => ({ + matches: false, + media: query, + onchange: null, + addListener: vi.fn(), // deprecated + removeListener: vi.fn(), // deprecated + addEventListener: vi.fn(), + removeEventListener: vi.fn(), + dispatchEvent: vi.fn(), + })), + }); +} + +import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; +vi.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ + PortkeyAAWallet: jest.fn(), +})); +vi.mock('@portkey/did-ui-react', () => ({ + getChainInfo: (c: TChainId) => (!c ? null : {}), + did: { + didWallet: { + managementAccount: { + privateKey: '', + }, + }, + }, +})); +vi.mock('lottie-web'); +vi.mock('@portkey/utils'); +vi.mock('node-fetch'); +import { TextEncoder, TextDecoder } from 'util'; +global.TextEncoder = TextEncoder; +// @ts-expect-error TextDecoder +global.TextDecoder = TextDecoder; diff --git a/tsconfig.base.json b/tsconfig.base.json index ef8fe15d..8310a8ba 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -27,6 +27,6 @@ ], "@aelf-web-login/wallet-adapter-night-elf": ["./packages/wallets/night-elf/src"] }, - "types": ["node", "jest", "@testing-library/jest-dom"] + "types": ["node", "jest", "@testing-library/jest-dom", "vitest/globals"] } } diff --git a/tsconfig.json b/tsconfig.json index cb17378b..74f1a2df 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.base.json", - "include": ["./packages/"] + "include": ["./packages/", "packages/bridge/vitest.setup.ts/vitest.setup.ts"] } From 04ffea90fcb1ac14ad5191dbe1cf2d456f616ab2 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Mon, 25 Nov 2024 18:10:44 +0800 Subject: [PATCH 05/25] chore: coverage update --- biome.json | 4 +- .../bridge/coverage/coverage-summary.json | 15 ++-- packages/bridge/jest-report.xml | 72 +++++++------------ 3 files changed, 39 insertions(+), 52 deletions(-) diff --git a/biome.json b/biome.json index 9bf6ce31..0bbfcece 100644 --- a/biome.json +++ b/biome.json @@ -1,11 +1,11 @@ { - "$schema": "https://biomejs.dev/schemas/1.0.0/schema.json", + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "formatter": { "enabled": true, "ignore": ["./dist/*", "./es/**/*", "./lib/**/*", "_site/**/*"], "indentStyle": "space", "lineWidth": 100, - "indentSize": 2 + "indentWidth": 2 }, "javascript": { "formatter": { diff --git a/packages/bridge/coverage/coverage-summary.json b/packages/bridge/coverage/coverage-summary.json index 8304acbc..26c571ed 100644 --- a/packages/bridge/coverage/coverage-summary.json +++ b/packages/bridge/coverage/coverage-summary.json @@ -1,6 +1,11 @@ -{"total": {"lines":{"total":56,"covered":54,"skipped":0,"pct":96.42},"statements":{"total":58,"covered":56,"skipped":0,"pct":96.55},"functions":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":16,"covered":16,"skipped":0,"pct":100},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/mountApp.tsx": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/useLockCallback.ts": {"lines":{"total":10,"covered":10,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/useVerifier.ts": {"lines":{"total":25,"covered":25,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":26,"covered":26,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/bridge/src/utils.ts": {"lines":{"total":18,"covered":16,"skipped":0,"pct":88.88},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":18,"covered":16,"skipped":0,"pct":88.88},"branches":{"total":6,"covered":6,"skipped":0,"pct":100}} +{"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/bridge.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/bridge.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":57}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":31}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":32}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":14}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":36}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":51}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":54}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":54}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":49}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":48}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":90}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":38}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":33}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":14}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":29}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":69}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":5}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":48}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":36}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":28}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":35}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":34}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":33}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":35}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":34}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":22}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":41}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":47}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":31}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":40}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":73}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":6}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":22}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":3}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":20}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":41}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":3}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":22}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":9}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":50}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":83}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":34}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":34}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":90}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":34}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":14}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":16}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":31}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":99}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":7}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":17}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":23}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":5}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":3}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":20}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":49}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":3}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":47}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":45}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":35}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":33}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":50}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":25}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":34}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":74}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":52}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":14}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":30}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":7}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":7}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":4}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":60}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":30}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":13}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":5}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":31}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":49}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":35}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":26}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":32}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":30}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":4}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":67}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":45}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":36}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":34}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":43}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":63}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":13}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":32}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":54}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":60}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":20}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":44}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":13}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":18}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":46}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":38}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":11}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":21}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":25}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":36}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":9}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":8}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":24}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":7}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":4}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":71}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":8}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":48}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":65}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":7}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":16}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":5}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":74}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":19}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":4}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":86}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":8}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":53}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":70}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":7}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":19}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":5}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":79}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":19}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":4}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":39}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":16}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":11}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":22}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":6}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":9}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":91}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":87}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":18}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":79}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":26}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":8}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":13}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":5}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":9}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":24}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":44}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":56}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":48}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":20}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":57}},"204":{"start":{"line":205,"column":0},"end":{"line":205,"column":48}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":19}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":21}},"207":{"start":{"line":208,"column":0},"end":{"line":208,"column":32}},"208":{"start":{"line":209,"column":0},"end":{"line":209,"column":14}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":13}},"210":{"start":{"line":211,"column":0},"end":{"line":211,"column":22}},"211":{"start":{"line":212,"column":0},"end":{"line":212,"column":80}},"212":{"start":{"line":213,"column":0},"end":{"line":213,"column":15}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":20}},"214":{"start":{"line":215,"column":0},"end":{"line":215,"column":12}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":11}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":8}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":21}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":91}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":5}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":4}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":79}},"223":{"start":{"line":224,"column":0},"end":{"line":224,"column":8}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":43}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":60}},"226":{"start":{"line":227,"column":0},"end":{"line":227,"column":7}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":23}},"228":{"start":{"line":229,"column":0},"end":{"line":229,"column":5}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":91}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":70}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":81}},"232":{"start":{"line":233,"column":0},"end":{"line":233,"column":49}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":67}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":35}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":83}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":54}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":11}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":21}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":19}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":28}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":43}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":14}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":11}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":16}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":51}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":59}},"250":{"start":{"line":251,"column":0},"end":{"line":251,"column":22}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":74}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":49}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":53}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":22}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":65}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":44}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":25}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":9}},"260":{"start":{"line":261,"column":0},"end":{"line":261,"column":48}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":20}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":46}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":20}},"264":{"start":{"line":265,"column":0},"end":{"line":265,"column":64}},"265":{"start":{"line":266,"column":0},"end":{"line":266,"column":61}},"266":{"start":{"line":267,"column":0},"end":{"line":267,"column":10}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":39}},"268":{"start":{"line":269,"column":0},"end":{"line":269,"column":43}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":45}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":71}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":41}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":13}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":16}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":43}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":34}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":71}},"277":{"start":{"line":278,"column":0},"end":{"line":278,"column":41}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":13}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":9}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":7}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":21}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":12}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":64}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":21}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":5}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":4}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":49}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":9}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":37}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":58}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":24}},"295":{"start":{"line":296,"column":0},"end":{"line":296,"column":9}},"296":{"start":{"line":297,"column":0},"end":{"line":297,"column":7}},"297":{"start":{"line":298,"column":0},"end":{"line":298,"column":4}},"299":{"start":{"line":300,"column":0},"end":{"line":300,"column":35}},"300":{"start":{"line":301,"column":0},"end":{"line":301,"column":39}},"301":{"start":{"line":302,"column":0},"end":{"line":302,"column":42}},"302":{"start":{"line":303,"column":0},"end":{"line":303,"column":8}},"303":{"start":{"line":304,"column":0},"end":{"line":304,"column":49}},"304":{"start":{"line":305,"column":0},"end":{"line":305,"column":66}},"305":{"start":{"line":306,"column":0},"end":{"line":306,"column":7}},"306":{"start":{"line":307,"column":0},"end":{"line":307,"column":56}},"307":{"start":{"line":308,"column":0},"end":{"line":308,"column":5}},"308":{"start":{"line":309,"column":0},"end":{"line":309,"column":69}},"309":{"start":{"line":310,"column":0},"end":{"line":310,"column":14}},"310":{"start":{"line":311,"column":0},"end":{"line":311,"column":4}},"312":{"start":{"line":313,"column":0},"end":{"line":313,"column":79}},"313":{"start":{"line":314,"column":0},"end":{"line":314,"column":8}},"314":{"start":{"line":315,"column":0},"end":{"line":315,"column":43}},"315":{"start":{"line":316,"column":0},"end":{"line":316,"column":60}},"316":{"start":{"line":317,"column":0},"end":{"line":317,"column":7}},"317":{"start":{"line":318,"column":0},"end":{"line":318,"column":23}},"318":{"start":{"line":319,"column":0},"end":{"line":319,"column":5}},"319":{"start":{"line":320,"column":0},"end":{"line":320,"column":62}},"320":{"start":{"line":321,"column":0},"end":{"line":321,"column":19}},"321":{"start":{"line":322,"column":0},"end":{"line":322,"column":4}},"323":{"start":{"line":324,"column":0},"end":{"line":324,"column":24}},"324":{"start":{"line":325,"column":0},"end":{"line":325,"column":29}},"330":{"start":{"line":331,"column":0},"end":{"line":331,"column":16}},"331":{"start":{"line":332,"column":0},"end":{"line":332,"column":99}},"332":{"start":{"line":333,"column":0},"end":{"line":333,"column":18}},"333":{"start":{"line":334,"column":0},"end":{"line":334,"column":5}},"334":{"start":{"line":335,"column":0},"end":{"line":335,"column":9}},"335":{"start":{"line":336,"column":0},"end":{"line":336,"column":63}},"336":{"start":{"line":337,"column":0},"end":{"line":337,"column":16}},"337":{"start":{"line":338,"column":0},"end":{"line":338,"column":17}},"338":{"start":{"line":339,"column":0},"end":{"line":339,"column":22}},"339":{"start":{"line":340,"column":0},"end":{"line":340,"column":18}},"340":{"start":{"line":341,"column":0},"end":{"line":341,"column":5}},"341":{"start":{"line":342,"column":0},"end":{"line":342,"column":4}},"343":{"start":{"line":344,"column":0},"end":{"line":344,"column":53}},"344":{"start":{"line":345,"column":0},"end":{"line":345,"column":40}},"345":{"start":{"line":346,"column":0},"end":{"line":346,"column":53}},"346":{"start":{"line":347,"column":0},"end":{"line":347,"column":32}},"347":{"start":{"line":348,"column":0},"end":{"line":348,"column":4}},"349":{"start":{"line":350,"column":0},"end":{"line":350,"column":50}},"350":{"start":{"line":351,"column":0},"end":{"line":351,"column":38}},"351":{"start":{"line":352,"column":0},"end":{"line":352,"column":38}},"352":{"start":{"line":353,"column":0},"end":{"line":353,"column":28}},"353":{"start":{"line":354,"column":0},"end":{"line":354,"column":32}},"354":{"start":{"line":355,"column":0},"end":{"line":355,"column":32}},"355":{"start":{"line":356,"column":0},"end":{"line":356,"column":32}},"356":{"start":{"line":357,"column":0},"end":{"line":357,"column":32}},"357":{"start":{"line":358,"column":0},"end":{"line":358,"column":58}},"358":{"start":{"line":359,"column":0},"end":{"line":359,"column":4}},"360":{"start":{"line":361,"column":0},"end":{"line":361,"column":25}},"361":{"start":{"line":362,"column":0},"end":{"line":362,"column":48}},"362":{"start":{"line":363,"column":0},"end":{"line":363,"column":13}},"363":{"start":{"line":364,"column":0},"end":{"line":364,"column":5}},"364":{"start":{"line":365,"column":0},"end":{"line":365,"column":25}},"365":{"start":{"line":366,"column":0},"end":{"line":366,"column":31}},"366":{"start":{"line":367,"column":0},"end":{"line":367,"column":4}},"368":{"start":{"line":369,"column":0},"end":{"line":369,"column":34}},"369":{"start":{"line":370,"column":0},"end":{"line":370,"column":27}},"370":{"start":{"line":371,"column":0},"end":{"line":371,"column":13}},"371":{"start":{"line":372,"column":0},"end":{"line":372,"column":5}},"372":{"start":{"line":373,"column":0},"end":{"line":373,"column":63}},"373":{"start":{"line":374,"column":0},"end":{"line":374,"column":46}},"374":{"start":{"line":375,"column":0},"end":{"line":375,"column":42}},"375":{"start":{"line":376,"column":0},"end":{"line":376,"column":44}},"376":{"start":{"line":377,"column":0},"end":{"line":377,"column":46}},"377":{"start":{"line":378,"column":0},"end":{"line":378,"column":9}},"378":{"start":{"line":379,"column":0},"end":{"line":379,"column":15}},"379":{"start":{"line":380,"column":0},"end":{"line":380,"column":48}},"380":{"start":{"line":381,"column":0},"end":{"line":381,"column":52}},"381":{"start":{"line":382,"column":0},"end":{"line":382,"column":8}},"382":{"start":{"line":383,"column":0},"end":{"line":383,"column":5}},"383":{"start":{"line":384,"column":0},"end":{"line":384,"column":4}},"385":{"start":{"line":386,"column":0},"end":{"line":386,"column":50}},"386":{"start":{"line":387,"column":0},"end":{"line":387,"column":58}},"387":{"start":{"line":388,"column":0},"end":{"line":388,"column":35}},"388":{"start":{"line":389,"column":0},"end":{"line":389,"column":29}},"389":{"start":{"line":390,"column":0},"end":{"line":390,"column":30}},"390":{"start":{"line":391,"column":0},"end":{"line":391,"column":5}},"391":{"start":{"line":392,"column":0},"end":{"line":392,"column":24}},"392":{"start":{"line":393,"column":0},"end":{"line":393,"column":29}},"393":{"start":{"line":394,"column":0},"end":{"line":394,"column":27}},"394":{"start":{"line":395,"column":0},"end":{"line":395,"column":32}},"395":{"start":{"line":396,"column":0},"end":{"line":396,"column":32}},"396":{"start":{"line":397,"column":0},"end":{"line":397,"column":33}},"397":{"start":{"line":398,"column":0},"end":{"line":398,"column":4}},"399":{"start":{"line":400,"column":0},"end":{"line":400,"column":69}},"400":{"start":{"line":401,"column":0},"end":{"line":401,"column":44}},"401":{"start":{"line":402,"column":0},"end":{"line":402,"column":4}},"403":{"start":{"line":404,"column":0},"end":{"line":404,"column":22}},"404":{"start":{"line":405,"column":0},"end":{"line":405,"column":49}},"405":{"start":{"line":406,"column":0},"end":{"line":406,"column":29}},"406":{"start":{"line":407,"column":0},"end":{"line":407,"column":13}},"407":{"start":{"line":408,"column":0},"end":{"line":408,"column":5}},"408":{"start":{"line":409,"column":0},"end":{"line":409,"column":56}},"409":{"start":{"line":410,"column":0},"end":{"line":410,"column":64}},"410":{"start":{"line":411,"column":0},"end":{"line":411,"column":7}},"411":{"start":{"line":412,"column":0},"end":{"line":412,"column":4}},"413":{"start":{"line":414,"column":0},"end":{"line":414,"column":24}},"414":{"start":{"line":415,"column":0},"end":{"line":415,"column":51}},"415":{"start":{"line":416,"column":0},"end":{"line":416,"column":29}},"416":{"start":{"line":417,"column":0},"end":{"line":417,"column":13}},"417":{"start":{"line":418,"column":0},"end":{"line":418,"column":5}},"418":{"start":{"line":419,"column":0},"end":{"line":419,"column":56}},"419":{"start":{"line":420,"column":0},"end":{"line":420,"column":65}},"420":{"start":{"line":421,"column":0},"end":{"line":421,"column":7}},"421":{"start":{"line":422,"column":0},"end":{"line":422,"column":4}},"423":{"start":{"line":424,"column":0},"end":{"line":424,"column":16}},"425":{"start":{"line":426,"column":0},"end":{"line":426,"column":21}},"427":{"start":{"line":428,"column":0},"end":{"line":428,"column":22}},"429":{"start":{"line":430,"column":0},"end":{"line":430,"column":23}},"431":{"start":{"line":432,"column":0},"end":{"line":432,"column":24}},"433":{"start":{"line":434,"column":0},"end":{"line":434,"column":20}},"435":{"start":{"line":436,"column":0},"end":{"line":436,"column":21}},"437":{"start":{"line":438,"column":0},"end":{"line":438,"column":29}},"439":{"start":{"line":440,"column":0},"end":{"line":440,"column":30}},"441":{"start":{"line":442,"column":0},"end":{"line":442,"column":23}},"443":{"start":{"line":444,"column":0},"end":{"line":444,"column":49}},"444":{"start":{"line":445,"column":0},"end":{"line":445,"column":9}},"445":{"start":{"line":446,"column":0},"end":{"line":446,"column":30}},"446":{"start":{"line":447,"column":0},"end":{"line":447,"column":74}},"447":{"start":{"line":448,"column":0},"end":{"line":448,"column":24}},"448":{"start":{"line":449,"column":0},"end":{"line":449,"column":59}},"449":{"start":{"line":450,"column":0},"end":{"line":450,"column":37}},"450":{"start":{"line":451,"column":0},"end":{"line":451,"column":17}},"451":{"start":{"line":452,"column":0},"end":{"line":452,"column":46}},"452":{"start":{"line":453,"column":0},"end":{"line":453,"column":15}},"453":{"start":{"line":454,"column":0},"end":{"line":454,"column":37}},"454":{"start":{"line":455,"column":0},"end":{"line":455,"column":31}},"455":{"start":{"line":456,"column":0},"end":{"line":456,"column":7}},"456":{"start":{"line":457,"column":0},"end":{"line":457,"column":31}},"457":{"start":{"line":458,"column":0},"end":{"line":458,"column":5}},"458":{"start":{"line":459,"column":0},"end":{"line":459,"column":4}},"460":{"start":{"line":461,"column":0},"end":{"line":461,"column":84}},"461":{"start":{"line":462,"column":0},"end":{"line":462,"column":9}},"462":{"start":{"line":463,"column":0},"end":{"line":463,"column":29}},"463":{"start":{"line":464,"column":0},"end":{"line":464,"column":30}},"464":{"start":{"line":465,"column":0},"end":{"line":465,"column":81}},"465":{"start":{"line":466,"column":0},"end":{"line":466,"column":10}},"466":{"start":{"line":467,"column":0},"end":{"line":467,"column":52}},"467":{"start":{"line":468,"column":0},"end":{"line":468,"column":69}},"468":{"start":{"line":469,"column":0},"end":{"line":469,"column":9}},"469":{"start":{"line":470,"column":0},"end":{"line":470,"column":15}},"470":{"start":{"line":471,"column":0},"end":{"line":471,"column":7}},"471":{"start":{"line":472,"column":0},"end":{"line":472,"column":24}},"472":{"start":{"line":473,"column":0},"end":{"line":473,"column":90}},"473":{"start":{"line":474,"column":0},"end":{"line":474,"column":37}},"474":{"start":{"line":475,"column":0},"end":{"line":475,"column":21}},"475":{"start":{"line":476,"column":0},"end":{"line":476,"column":59}},"476":{"start":{"line":477,"column":0},"end":{"line":477,"column":15}},"477":{"start":{"line":478,"column":0},"end":{"line":478,"column":31}},"478":{"start":{"line":479,"column":0},"end":{"line":479,"column":5}},"479":{"start":{"line":480,"column":0},"end":{"line":480,"column":4}},"481":{"start":{"line":482,"column":0},"end":{"line":482,"column":86}},"482":{"start":{"line":483,"column":0},"end":{"line":483,"column":9}},"483":{"start":{"line":484,"column":0},"end":{"line":484,"column":10}},"484":{"start":{"line":485,"column":0},"end":{"line":485,"column":46}},"485":{"start":{"line":486,"column":0},"end":{"line":486,"column":63}},"486":{"start":{"line":487,"column":0},"end":{"line":487,"column":9}},"487":{"start":{"line":488,"column":0},"end":{"line":488,"column":15}},"488":{"start":{"line":489,"column":0},"end":{"line":489,"column":7}},"489":{"start":{"line":490,"column":0},"end":{"line":490,"column":55}},"490":{"start":{"line":491,"column":0},"end":{"line":491,"column":21}},"491":{"start":{"line":492,"column":0},"end":{"line":492,"column":75}},"492":{"start":{"line":493,"column":0},"end":{"line":493,"column":5}},"493":{"start":{"line":494,"column":0},"end":{"line":494,"column":4}},"498":{"start":{"line":499,"column":0},"end":{"line":499,"column":50}},"499":{"start":{"line":500,"column":0},"end":{"line":500,"column":56}},"501":{"start":{"line":502,"column":0},"end":{"line":502,"column":76}},"502":{"start":{"line":503,"column":0},"end":{"line":503,"column":9}},"503":{"start":{"line":504,"column":0},"end":{"line":504,"column":29}},"504":{"start":{"line":505,"column":0},"end":{"line":505,"column":30}},"505":{"start":{"line":506,"column":0},"end":{"line":506,"column":81}},"506":{"start":{"line":507,"column":0},"end":{"line":507,"column":24}},"507":{"start":{"line":508,"column":0},"end":{"line":508,"column":71}},"508":{"start":{"line":509,"column":0},"end":{"line":509,"column":37}},"509":{"start":{"line":510,"column":0},"end":{"line":510,"column":21}},"510":{"start":{"line":511,"column":0},"end":{"line":511,"column":64}},"511":{"start":{"line":512,"column":0},"end":{"line":512,"column":15}},"512":{"start":{"line":513,"column":0},"end":{"line":513,"column":31}},"513":{"start":{"line":514,"column":0},"end":{"line":514,"column":5}},"514":{"start":{"line":515,"column":0},"end":{"line":515,"column":4}},"516":{"start":{"line":517,"column":0},"end":{"line":517,"column":68}},"517":{"start":{"line":518,"column":0},"end":{"line":518,"column":9}},"518":{"start":{"line":519,"column":0},"end":{"line":519,"column":24}},"519":{"start":{"line":520,"column":0},"end":{"line":520,"column":32}},"520":{"start":{"line":521,"column":0},"end":{"line":521,"column":12}},"521":{"start":{"line":522,"column":0},"end":{"line":522,"column":93}},"522":{"start":{"line":523,"column":0},"end":{"line":523,"column":15}},"523":{"start":{"line":524,"column":0},"end":{"line":524,"column":7}},"524":{"start":{"line":525,"column":0},"end":{"line":525,"column":64}},"525":{"start":{"line":526,"column":0},"end":{"line":526,"column":68}},"526":{"start":{"line":527,"column":0},"end":{"line":527,"column":23}},"527":{"start":{"line":528,"column":0},"end":{"line":528,"column":31}},"528":{"start":{"line":529,"column":0},"end":{"line":529,"column":36}},"529":{"start":{"line":530,"column":0},"end":{"line":530,"column":36}},"530":{"start":{"line":531,"column":0},"end":{"line":531,"column":7}},"532":{"start":{"line":533,"column":0},"end":{"line":533,"column":24}},"533":{"start":{"line":534,"column":0},"end":{"line":534,"column":21}},"534":{"start":{"line":535,"column":0},"end":{"line":535,"column":53}},"535":{"start":{"line":536,"column":0},"end":{"line":536,"column":13}},"536":{"start":{"line":537,"column":0},"end":{"line":537,"column":15}},"537":{"start":{"line":538,"column":0},"end":{"line":538,"column":31}},"538":{"start":{"line":539,"column":0},"end":{"line":539,"column":5}},"539":{"start":{"line":540,"column":0},"end":{"line":540,"column":4}},"541":{"start":{"line":542,"column":0},"end":{"line":542,"column":16}},"542":{"start":{"line":543,"column":0},"end":{"line":543,"column":83}},"543":{"start":{"line":544,"column":0},"end":{"line":544,"column":13}},"544":{"start":{"line":545,"column":0},"end":{"line":545,"column":5}},"545":{"start":{"line":546,"column":0},"end":{"line":546,"column":27}},"546":{"start":{"line":547,"column":0},"end":{"line":547,"column":13}},"547":{"start":{"line":548,"column":0},"end":{"line":548,"column":5}},"548":{"start":{"line":549,"column":0},"end":{"line":549,"column":30}},"549":{"start":{"line":550,"column":0},"end":{"line":550,"column":31}},"550":{"start":{"line":551,"column":0},"end":{"line":551,"column":4}},"551":{"start":{"line":552,"column":0},"end":{"line":552,"column":1}}},"s":{"0":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"76":0,"77":0,"78":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"93":0,"94":0,"95":0,"96":0,"97":0,"99":0,"100":0,"101":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"130":0,"131":0,"132":0,"133":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"179":0,"180":0,"181":0,"182":0,"183":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"208":0,"209":0,"210":0,"211":0,"212":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":0,"235":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"247":0,"249":0,"250":0,"251":0,"252":0,"253":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"277":0,"278":0,"279":0,"280":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"289":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"299":0,"300":0,"301":0,"302":0,"303":0,"304":0,"305":0,"306":0,"307":0,"308":0,"309":0,"310":0,"312":0,"313":0,"314":0,"315":0,"316":0,"317":0,"318":0,"319":0,"320":0,"321":0,"323":0,"324":0,"330":0,"331":0,"332":0,"333":0,"334":0,"335":0,"336":0,"337":0,"338":0,"339":0,"340":0,"341":0,"343":0,"344":0,"345":0,"346":0,"347":0,"349":0,"350":0,"351":0,"352":0,"353":0,"354":0,"355":0,"356":0,"357":0,"358":0,"360":0,"361":0,"362":0,"363":0,"364":0,"365":0,"366":0,"368":0,"369":0,"370":0,"371":0,"372":0,"373":0,"374":0,"375":0,"376":0,"377":0,"378":0,"379":0,"380":0,"381":0,"382":0,"383":0,"385":0,"386":0,"387":0,"388":0,"389":0,"390":0,"391":0,"392":0,"393":0,"394":0,"395":0,"396":0,"397":0,"399":0,"400":0,"401":0,"403":0,"404":0,"405":0,"406":0,"407":0,"408":0,"409":0,"410":0,"411":0,"413":0,"414":0,"415":0,"416":0,"417":0,"418":0,"419":0,"420":0,"421":0,"423":0,"425":0,"427":0,"429":0,"431":0,"433":0,"435":0,"437":0,"439":0,"441":0,"443":0,"444":0,"445":0,"446":0,"447":0,"448":0,"449":0,"450":0,"451":0,"452":0,"453":0,"454":0,"455":0,"456":0,"457":0,"458":0,"460":0,"461":0,"462":0,"463":0,"464":0,"465":0,"466":0,"467":0,"468":0,"469":0,"470":0,"471":0,"472":0,"473":0,"474":0,"475":0,"476":0,"477":0,"478":0,"479":0,"481":0,"482":0,"483":0,"484":0,"485":0,"486":0,"487":0,"488":0,"489":0,"490":0,"491":0,"492":0,"493":0,"498":0,"499":0,"501":0,"502":0,"503":0,"504":0,"505":0,"506":0,"507":0,"508":0,"509":0,"510":0,"511":0,"512":0,"513":0,"514":0,"516":0,"517":0,"518":0,"519":0,"520":0,"521":0,"522":0,"523":0,"524":0,"525":0,"526":0,"527":0,"528":0,"529":0,"530":0,"532":0,"533":0,"534":0,"535":0,"536":0,"537":0,"538":0,"539":0,"541":0,"542":0,"543":0,"544":0,"545":0,"546":0,"547":0,"548":0,"549":0,"550":0,"551":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}},"locations":[{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}},"loc":{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/index.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/index.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":90}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":57}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":44}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":29}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":10}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":29}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":10}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":71}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":15}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":78}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":4}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":1}}},"s":{"0":0,"47":0,"48":0,"49":0,"50":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}},"locations":[{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}},"loc":{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/mountApp.tsx": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/mountApp.tsx","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":68}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":25}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":25}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":27}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":26}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":3}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":38}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":11}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":3}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":28}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":39}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":73}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":26}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":83}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":3}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":57}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":57}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":44}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":14}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":95}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":95}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":23}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":4}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":49}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":1}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":31}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":25}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":27}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":26}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":28}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":20}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":36}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":12}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":97}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":97}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":18}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":24}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":54}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":20}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":1}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":30}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":38}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":11}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":3}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":70}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":26}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":11}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":3}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":46}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":1}}},"s":{"0":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"47":0,"48":0,"49":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}},"locations":[{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}},"loc":{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/store.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/store.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":96}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":30}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":24}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":19}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":37}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":19}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":43}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":24}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":39}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":23}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":15}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":13}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":39}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":40}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":6}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":33}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":35}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":6}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":36}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":39}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":6}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":39}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":40}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":6}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":33}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":48}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":6}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":39}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":40}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":6}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":33}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":30}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":6}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":47}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":48}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":6}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":46}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":47}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":6}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":4}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":3}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":60}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":37}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":39}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":26}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":26}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":55}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":29}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":42}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":56}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":46}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":35}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":32}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":10}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":23}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":42}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":56}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":46}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":35}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":32}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":10}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":8}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":7}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":50}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":3}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":14}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":16}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":18}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":13}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":16}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":18}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":16}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":18}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":24}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":23}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":30}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":52}}},"s":{"0":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"57":0,"58":0,"59":0,"60":0,"61":0,"63":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"98":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}},"locations":[{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}},"loc":{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/ui.tsx": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/ui.tsx","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":81}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":45}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":31}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":53}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":57}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":40}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":18}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":58}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":37}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":40}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":25}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":2965}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":2}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":18}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":10}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":741}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":11}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":765}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":11}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":1049}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":34}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":2}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":58}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":54}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":13}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":110}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":60}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":4}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":38}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":22}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":17}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":21}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":25}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":13}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":19}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":2}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":27}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":76}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":94}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":20}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":13}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":4}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":36}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":10}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":10}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":19}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":20}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":50}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":25}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":8}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":13}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":61}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":71}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":16}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":15}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":35}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":18}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":23}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":89}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":19}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":20}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":15}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":16}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":14}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":57}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":55}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":19}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":19}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":58}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":23}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":19}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":14}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":9}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":12}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":2}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":25}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":11}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":17}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":20}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":54}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":30}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":25}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":20}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":20}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":17}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":30}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":16}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":22}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":2}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":22}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":7}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":10}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":15}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":9}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":17}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":26}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":36}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":47}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":56}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":12}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":10}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":25}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":41}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":71}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":33}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":25}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":71}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":26}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":12}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":5}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":27}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":11}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":42}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":13}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":53}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":55}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":63}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":14}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":26}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":22}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":23}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":36}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":17}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":26}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":95}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":13}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":10}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":13}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":10}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":14}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":107}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":36}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":16}},"208":{"start":{"line":209,"column":0},"end":{"line":209,"column":27}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":95}},"211":{"start":{"line":212,"column":0},"end":{"line":212,"column":93}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":11}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":26}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":17}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":22}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":19}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":21}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":38}},"221":{"start":{"line":222,"column":0},"end":{"line":222,"column":35}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":17}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":67}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":12}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":2}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":80}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":56}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":60}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":64}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":47}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":64}},"236":{"start":{"line":237,"column":0},"end":{"line":237,"column":82}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":68}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":97}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":16}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":36}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":28}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":25}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":29}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":21}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":23}},"246":{"start":{"line":247,"column":0},"end":{"line":247,"column":9}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":6}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":97}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":74}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":36}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":9}},"254":{"start":{"line":255,"column":0},"end":{"line":255,"column":30}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":20}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":55}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":38}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":26}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":13}},"260":{"start":{"line":261,"column":0},"end":{"line":261,"column":23}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":17}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":57}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":88}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":43}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":19}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":16}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":67}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":44}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":6}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":49}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":13}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":5}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":38}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":40}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":59}},"281":{"start":{"line":282,"column":0},"end":{"line":282,"column":42}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":59}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":53}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":33}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":8}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":81}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":6}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":99}},"290":{"start":{"line":291,"column":0},"end":{"line":291,"column":25}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":41}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":77}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":39}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":15}},"295":{"start":{"line":296,"column":0},"end":{"line":296,"column":7}},"296":{"start":{"line":297,"column":0},"end":{"line":297,"column":56}},"297":{"start":{"line":298,"column":0},"end":{"line":298,"column":74}},"298":{"start":{"line":299,"column":0},"end":{"line":299,"column":33}},"299":{"start":{"line":300,"column":0},"end":{"line":300,"column":42}},"300":{"start":{"line":301,"column":0},"end":{"line":301,"column":35}},"301":{"start":{"line":302,"column":0},"end":{"line":302,"column":51}},"302":{"start":{"line":303,"column":0},"end":{"line":303,"column":59}},"303":{"start":{"line":304,"column":0},"end":{"line":304,"column":16}},"304":{"start":{"line":305,"column":0},"end":{"line":305,"column":14}},"305":{"start":{"line":306,"column":0},"end":{"line":306,"column":13}},"306":{"start":{"line":307,"column":0},"end":{"line":307,"column":9}},"307":{"start":{"line":308,"column":0},"end":{"line":308,"column":59}},"308":{"start":{"line":309,"column":0},"end":{"line":309,"column":15}},"309":{"start":{"line":310,"column":0},"end":{"line":310,"column":7}},"310":{"start":{"line":311,"column":0},"end":{"line":311,"column":39}},"311":{"start":{"line":312,"column":0},"end":{"line":312,"column":33}},"312":{"start":{"line":313,"column":0},"end":{"line":313,"column":42}},"313":{"start":{"line":314,"column":0},"end":{"line":314,"column":35}},"314":{"start":{"line":315,"column":0},"end":{"line":315,"column":51}},"315":{"start":{"line":316,"column":0},"end":{"line":316,"column":59}},"316":{"start":{"line":317,"column":0},"end":{"line":317,"column":16}},"317":{"start":{"line":318,"column":0},"end":{"line":318,"column":14}},"318":{"start":{"line":319,"column":0},"end":{"line":319,"column":13}},"319":{"start":{"line":320,"column":0},"end":{"line":320,"column":9}},"320":{"start":{"line":321,"column":0},"end":{"line":321,"column":54}},"321":{"start":{"line":322,"column":0},"end":{"line":322,"column":25}},"322":{"start":{"line":323,"column":0},"end":{"line":323,"column":7}},"323":{"start":{"line":324,"column":0},"end":{"line":324,"column":5}},"324":{"start":{"line":325,"column":0},"end":{"line":325,"column":25}},"325":{"start":{"line":326,"column":0},"end":{"line":326,"column":98}},"327":{"start":{"line":328,"column":0},"end":{"line":328,"column":36}},"328":{"start":{"line":329,"column":0},"end":{"line":329,"column":21}},"329":{"start":{"line":330,"column":0},"end":{"line":330,"column":4}},"331":{"start":{"line":332,"column":0},"end":{"line":332,"column":41}},"332":{"start":{"line":333,"column":0},"end":{"line":333,"column":27}},"333":{"start":{"line":334,"column":0},"end":{"line":334,"column":4}},"335":{"start":{"line":336,"column":0},"end":{"line":336,"column":42}},"336":{"start":{"line":337,"column":0},"end":{"line":337,"column":28}},"337":{"start":{"line":338,"column":0},"end":{"line":338,"column":4}},"339":{"start":{"line":340,"column":0},"end":{"line":340,"column":43}},"340":{"start":{"line":341,"column":0},"end":{"line":341,"column":62}},"341":{"start":{"line":342,"column":0},"end":{"line":342,"column":21}},"342":{"start":{"line":343,"column":0},"end":{"line":343,"column":4}},"344":{"start":{"line":345,"column":0},"end":{"line":345,"column":44}},"345":{"start":{"line":346,"column":0},"end":{"line":346,"column":63}},"346":{"start":{"line":347,"column":0},"end":{"line":347,"column":22}},"347":{"start":{"line":348,"column":0},"end":{"line":348,"column":4}},"349":{"start":{"line":350,"column":0},"end":{"line":350,"column":40}},"350":{"start":{"line":351,"column":0},"end":{"line":351,"column":29}},"351":{"start":{"line":352,"column":0},"end":{"line":352,"column":4}},"353":{"start":{"line":354,"column":0},"end":{"line":354,"column":41}},"354":{"start":{"line":355,"column":0},"end":{"line":355,"column":30}},"355":{"start":{"line":356,"column":0},"end":{"line":356,"column":4}},"357":{"start":{"line":358,"column":0},"end":{"line":358,"column":49}},"358":{"start":{"line":359,"column":0},"end":{"line":359,"column":38}},"359":{"start":{"line":360,"column":0},"end":{"line":360,"column":4}},"361":{"start":{"line":362,"column":0},"end":{"line":362,"column":50}},"362":{"start":{"line":363,"column":0},"end":{"line":363,"column":39}},"363":{"start":{"line":364,"column":0},"end":{"line":364,"column":4}},"365":{"start":{"line":366,"column":0},"end":{"line":366,"column":43}},"366":{"start":{"line":367,"column":0},"end":{"line":367,"column":32}},"367":{"start":{"line":368,"column":0},"end":{"line":368,"column":4}},"369":{"start":{"line":370,"column":0},"end":{"line":370,"column":39}},"370":{"start":{"line":371,"column":0},"end":{"line":371,"column":35}},"371":{"start":{"line":372,"column":0},"end":{"line":372,"column":64}},"372":{"start":{"line":373,"column":0},"end":{"line":373,"column":70}},"373":{"start":{"line":374,"column":0},"end":{"line":374,"column":79}},"374":{"start":{"line":375,"column":0},"end":{"line":375,"column":81}},"375":{"start":{"line":376,"column":0},"end":{"line":376,"column":14}},"376":{"start":{"line":377,"column":0},"end":{"line":377,"column":64}},"377":{"start":{"line":378,"column":0},"end":{"line":378,"column":65}},"378":{"start":{"line":379,"column":0},"end":{"line":379,"column":7}},"379":{"start":{"line":380,"column":0},"end":{"line":380,"column":6}},"380":{"start":{"line":381,"column":0},"end":{"line":381,"column":41}},"381":{"start":{"line":382,"column":0},"end":{"line":382,"column":4}},"383":{"start":{"line":384,"column":0},"end":{"line":384,"column":46}},"384":{"start":{"line":385,"column":0},"end":{"line":385,"column":47}},"385":{"start":{"line":386,"column":0},"end":{"line":386,"column":32}},"386":{"start":{"line":387,"column":0},"end":{"line":387,"column":15}},"387":{"start":{"line":388,"column":0},"end":{"line":388,"column":7}},"388":{"start":{"line":389,"column":0},"end":{"line":389,"column":56}},"389":{"start":{"line":390,"column":0},"end":{"line":390,"column":15}},"390":{"start":{"line":391,"column":0},"end":{"line":391,"column":7}},"391":{"start":{"line":392,"column":0},"end":{"line":392,"column":71}},"392":{"start":{"line":393,"column":0},"end":{"line":393,"column":6}},"393":{"start":{"line":394,"column":0},"end":{"line":394,"column":41}},"394":{"start":{"line":395,"column":0},"end":{"line":395,"column":4}},"396":{"start":{"line":397,"column":0},"end":{"line":397,"column":52}},"397":{"start":{"line":398,"column":0},"end":{"line":398,"column":32}},"398":{"start":{"line":399,"column":0},"end":{"line":399,"column":28}},"399":{"start":{"line":400,"column":0},"end":{"line":400,"column":9}},"401":{"start":{"line":402,"column":0},"end":{"line":402,"column":50}},"402":{"start":{"line":403,"column":0},"end":{"line":403,"column":43}},"403":{"start":{"line":404,"column":0},"end":{"line":404,"column":23}},"405":{"start":{"line":406,"column":0},"end":{"line":406,"column":49}},"406":{"start":{"line":407,"column":0},"end":{"line":407,"column":45}},"407":{"start":{"line":408,"column":0},"end":{"line":408,"column":23}},"409":{"start":{"line":410,"column":0},"end":{"line":410,"column":39}},"410":{"start":{"line":411,"column":0},"end":{"line":411,"column":28}},"411":{"start":{"line":412,"column":0},"end":{"line":412,"column":66}},"412":{"start":{"line":413,"column":0},"end":{"line":413,"column":21}},"413":{"start":{"line":414,"column":0},"end":{"line":414,"column":33}},"414":{"start":{"line":415,"column":0},"end":{"line":415,"column":41}},"415":{"start":{"line":416,"column":0},"end":{"line":416,"column":26}},"416":{"start":{"line":417,"column":0},"end":{"line":417,"column":9}},"417":{"start":{"line":418,"column":0},"end":{"line":418,"column":14}},"418":{"start":{"line":419,"column":0},"end":{"line":419,"column":34}},"419":{"start":{"line":420,"column":0},"end":{"line":420,"column":24}},"420":{"start":{"line":421,"column":0},"end":{"line":421,"column":7}},"421":{"start":{"line":422,"column":0},"end":{"line":422,"column":6}},"422":{"start":{"line":423,"column":0},"end":{"line":423,"column":47}},"423":{"start":{"line":424,"column":0},"end":{"line":424,"column":4}},"425":{"start":{"line":426,"column":0},"end":{"line":426,"column":38}},"426":{"start":{"line":427,"column":0},"end":{"line":427,"column":47}},"427":{"start":{"line":428,"column":0},"end":{"line":428,"column":14}},"428":{"start":{"line":429,"column":0},"end":{"line":429,"column":63}},"429":{"start":{"line":430,"column":0},"end":{"line":430,"column":49}},"430":{"start":{"line":431,"column":0},"end":{"line":431,"column":40}},"431":{"start":{"line":432,"column":0},"end":{"line":432,"column":18}},"432":{"start":{"line":433,"column":0},"end":{"line":433,"column":21}},"433":{"start":{"line":434,"column":0},"end":{"line":434,"column":55}},"434":{"start":{"line":435,"column":0},"end":{"line":435,"column":68}},"436":{"start":{"line":437,"column":0},"end":{"line":437,"column":21}},"437":{"start":{"line":438,"column":0},"end":{"line":438,"column":18}},"438":{"start":{"line":439,"column":0},"end":{"line":439,"column":58}},"439":{"start":{"line":440,"column":0},"end":{"line":440,"column":100}},"440":{"start":{"line":441,"column":0},"end":{"line":441,"column":18}},"441":{"start":{"line":442,"column":0},"end":{"line":442,"column":16}},"442":{"start":{"line":443,"column":0},"end":{"line":443,"column":49}},"443":{"start":{"line":444,"column":0},"end":{"line":444,"column":44}},"444":{"start":{"line":445,"column":0},"end":{"line":445,"column":18}},"445":{"start":{"line":446,"column":0},"end":{"line":446,"column":56}},"446":{"start":{"line":447,"column":0},"end":{"line":447,"column":77}},"447":{"start":{"line":448,"column":0},"end":{"line":448,"column":31}},"449":{"start":{"line":450,"column":0},"end":{"line":450,"column":39}},"450":{"start":{"line":451,"column":0},"end":{"line":451,"column":83}},"451":{"start":{"line":452,"column":0},"end":{"line":452,"column":20}},"452":{"start":{"line":453,"column":0},"end":{"line":453,"column":15}},"453":{"start":{"line":454,"column":0},"end":{"line":454,"column":16}},"454":{"start":{"line":455,"column":0},"end":{"line":455,"column":14}},"456":{"start":{"line":457,"column":0},"end":{"line":457,"column":12}},"457":{"start":{"line":458,"column":0},"end":{"line":458,"column":14}},"458":{"start":{"line":459,"column":0},"end":{"line":459,"column":10}},"459":{"start":{"line":460,"column":0},"end":{"line":460,"column":65}},"460":{"start":{"line":461,"column":0},"end":{"line":461,"column":93}},"461":{"start":{"line":462,"column":0},"end":{"line":462,"column":16}},"462":{"start":{"line":463,"column":0},"end":{"line":463,"column":110}},"463":{"start":{"line":464,"column":0},"end":{"line":464,"column":30}},"464":{"start":{"line":465,"column":0},"end":{"line":465,"column":43}},"465":{"start":{"line":466,"column":0},"end":{"line":466,"column":16}},"467":{"start":{"line":468,"column":0},"end":{"line":468,"column":69}},"468":{"start":{"line":469,"column":0},"end":{"line":469,"column":40}},"469":{"start":{"line":470,"column":0},"end":{"line":470,"column":32}},"470":{"start":{"line":471,"column":0},"end":{"line":471,"column":50}},"471":{"start":{"line":472,"column":0},"end":{"line":472,"column":48}},"472":{"start":{"line":473,"column":0},"end":{"line":473,"column":57}},"473":{"start":{"line":474,"column":0},"end":{"line":474,"column":19}},"474":{"start":{"line":475,"column":0},"end":{"line":475,"column":84}},"475":{"start":{"line":476,"column":0},"end":{"line":476,"column":20}},"476":{"start":{"line":477,"column":0},"end":{"line":477,"column":18}},"477":{"start":{"line":478,"column":0},"end":{"line":478,"column":16}},"478":{"start":{"line":479,"column":0},"end":{"line":479,"column":22}},"479":{"start":{"line":480,"column":0},"end":{"line":480,"column":36}},"480":{"start":{"line":481,"column":0},"end":{"line":481,"column":28}},"481":{"start":{"line":482,"column":0},"end":{"line":482,"column":42}},"482":{"start":{"line":483,"column":0},"end":{"line":483,"column":14}},"483":{"start":{"line":484,"column":0},"end":{"line":484,"column":38}},"484":{"start":{"line":485,"column":0},"end":{"line":485,"column":43}},"485":{"start":{"line":486,"column":0},"end":{"line":486,"column":42}},"486":{"start":{"line":487,"column":0},"end":{"line":487,"column":12}},"487":{"start":{"line":488,"column":0},"end":{"line":488,"column":11}},"489":{"start":{"line":490,"column":0},"end":{"line":490,"column":5}},"490":{"start":{"line":491,"column":0},"end":{"line":491,"column":6}},"491":{"start":{"line":492,"column":0},"end":{"line":492,"column":22}},"492":{"start":{"line":493,"column":0},"end":{"line":493,"column":39}},"493":{"start":{"line":494,"column":0},"end":{"line":494,"column":37}},"494":{"start":{"line":495,"column":0},"end":{"line":495,"column":19}},"495":{"start":{"line":496,"column":0},"end":{"line":496,"column":20}},"496":{"start":{"line":497,"column":0},"end":{"line":497,"column":22}},"497":{"start":{"line":498,"column":0},"end":{"line":498,"column":5}},"499":{"start":{"line":500,"column":0},"end":{"line":500,"column":54}},"501":{"start":{"line":502,"column":0},"end":{"line":502,"column":42}},"502":{"start":{"line":503,"column":0},"end":{"line":503,"column":48}},"503":{"start":{"line":504,"column":0},"end":{"line":504,"column":31}},"504":{"start":{"line":505,"column":0},"end":{"line":505,"column":5}},"505":{"start":{"line":506,"column":0},"end":{"line":506,"column":23}},"507":{"start":{"line":508,"column":0},"end":{"line":508,"column":42}},"508":{"start":{"line":509,"column":0},"end":{"line":509,"column":12}},"509":{"start":{"line":510,"column":0},"end":{"line":510,"column":42}},"511":{"start":{"line":512,"column":0},"end":{"line":512,"column":79}},"513":{"start":{"line":514,"column":0},"end":{"line":514,"column":15}},"515":{"start":{"line":516,"column":0},"end":{"line":516,"column":12}},"517":{"start":{"line":518,"column":0},"end":{"line":518,"column":27}},"519":{"start":{"line":520,"column":0},"end":{"line":520,"column":84}},"521":{"start":{"line":522,"column":0},"end":{"line":522,"column":19}},"522":{"start":{"line":523,"column":0},"end":{"line":523,"column":69}},"523":{"start":{"line":524,"column":0},"end":{"line":524,"column":18}},"524":{"start":{"line":525,"column":0},"end":{"line":525,"column":72}},"525":{"start":{"line":526,"column":0},"end":{"line":526,"column":6}},"526":{"start":{"line":527,"column":0},"end":{"line":527,"column":9}},"528":{"start":{"line":529,"column":0},"end":{"line":529,"column":10}},"530":{"start":{"line":531,"column":0},"end":{"line":531,"column":9}},"531":{"start":{"line":532,"column":0},"end":{"line":532,"column":50}},"532":{"start":{"line":533,"column":0},"end":{"line":533,"column":15}},"533":{"start":{"line":534,"column":0},"end":{"line":534,"column":46}},"534":{"start":{"line":535,"column":0},"end":{"line":535,"column":21}},"535":{"start":{"line":536,"column":0},"end":{"line":536,"column":26}},"536":{"start":{"line":537,"column":0},"end":{"line":537,"column":43}},"537":{"start":{"line":538,"column":0},"end":{"line":538,"column":29}},"538":{"start":{"line":539,"column":0},"end":{"line":539,"column":32}},"539":{"start":{"line":540,"column":0},"end":{"line":540,"column":43}},"540":{"start":{"line":541,"column":0},"end":{"line":541,"column":37}},"541":{"start":{"line":542,"column":0},"end":{"line":542,"column":35}},"542":{"start":{"line":543,"column":0},"end":{"line":543,"column":10}},"544":{"start":{"line":545,"column":0},"end":{"line":545,"column":23}},"545":{"start":{"line":546,"column":0},"end":{"line":546,"column":49}},"546":{"start":{"line":547,"column":0},"end":{"line":547,"column":47}},"548":{"start":{"line":549,"column":0},"end":{"line":549,"column":31}},"549":{"start":{"line":550,"column":0},"end":{"line":550,"column":80}},"550":{"start":{"line":551,"column":0},"end":{"line":551,"column":48}},"551":{"start":{"line":552,"column":0},"end":{"line":552,"column":47}},"552":{"start":{"line":553,"column":0},"end":{"line":553,"column":25}},"553":{"start":{"line":554,"column":0},"end":{"line":554,"column":38}},"554":{"start":{"line":555,"column":0},"end":{"line":555,"column":22}},"555":{"start":{"line":556,"column":0},"end":{"line":556,"column":45}},"556":{"start":{"line":557,"column":0},"end":{"line":557,"column":31}},"557":{"start":{"line":558,"column":0},"end":{"line":558,"column":29}},"559":{"start":{"line":560,"column":0},"end":{"line":560,"column":44}},"560":{"start":{"line":561,"column":0},"end":{"line":561,"column":14}},"561":{"start":{"line":562,"column":0},"end":{"line":562,"column":28}},"562":{"start":{"line":563,"column":0},"end":{"line":563,"column":51}},"563":{"start":{"line":564,"column":0},"end":{"line":564,"column":14}},"564":{"start":{"line":565,"column":0},"end":{"line":565,"column":53}},"565":{"start":{"line":566,"column":0},"end":{"line":566,"column":39}},"566":{"start":{"line":567,"column":0},"end":{"line":567,"column":12}},"567":{"start":{"line":568,"column":0},"end":{"line":568,"column":25}},"570":{"start":{"line":571,"column":0},"end":{"line":571,"column":36}},"571":{"start":{"line":572,"column":0},"end":{"line":572,"column":30}},"572":{"start":{"line":573,"column":0},"end":{"line":573,"column":42}},"573":{"start":{"line":574,"column":0},"end":{"line":574,"column":46}},"574":{"start":{"line":575,"column":0},"end":{"line":575,"column":25}},"575":{"start":{"line":576,"column":0},"end":{"line":576,"column":39}},"576":{"start":{"line":577,"column":0},"end":{"line":577,"column":44}},"577":{"start":{"line":578,"column":0},"end":{"line":578,"column":37}},"578":{"start":{"line":579,"column":0},"end":{"line":579,"column":61}},"579":{"start":{"line":580,"column":0},"end":{"line":580,"column":85}},"580":{"start":{"line":581,"column":0},"end":{"line":581,"column":69}},"581":{"start":{"line":582,"column":0},"end":{"line":582,"column":68}},"582":{"start":{"line":583,"column":0},"end":{"line":583,"column":55}},"583":{"start":{"line":584,"column":0},"end":{"line":584,"column":10}},"586":{"start":{"line":587,"column":0},"end":{"line":587,"column":31}},"587":{"start":{"line":588,"column":0},"end":{"line":588,"column":42}},"588":{"start":{"line":589,"column":0},"end":{"line":589,"column":35}},"589":{"start":{"line":590,"column":0},"end":{"line":590,"column":38}},"590":{"start":{"line":591,"column":0},"end":{"line":591,"column":8}},"591":{"start":{"line":592,"column":0},"end":{"line":592,"column":24}},"592":{"start":{"line":593,"column":0},"end":{"line":593,"column":10}},"595":{"start":{"line":596,"column":0},"end":{"line":596,"column":2}},"597":{"start":{"line":598,"column":0},"end":{"line":598,"column":27}}},"s":{"0":0,"8":0,"22":0,"23":0,"25":0,"26":0,"27":0,"28":0,"42":0,"43":0,"44":0,"45":0,"46":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"78":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"94":0,"95":0,"96":0,"97":0,"98":0,"100":0,"101":0,"102":0,"103":0,"104":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"122":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"136":0,"137":0,"140":0,"141":0,"143":0,"144":0,"146":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"172":0,"173":0,"174":0,"175":0,"176":0,"178":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"196":0,"197":0,"199":0,"200":0,"201":0,"202":0,"203":0,"205":0,"206":0,"208":0,"209":0,"211":0,"213":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"224":0,"225":0,"227":0,"229":0,"230":0,"231":0,"233":0,"234":0,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":0,"247":0,"249":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"267":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"278":0,"279":0,"280":0,"281":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"289":0,"290":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"298":0,"299":0,"300":0,"301":0,"302":0,"303":0,"304":0,"305":0,"306":0,"307":0,"308":0,"309":0,"310":0,"311":0,"312":0,"313":0,"314":0,"315":0,"316":0,"317":0,"318":0,"319":0,"320":0,"321":0,"322":0,"323":0,"324":0,"325":0,"327":0,"328":0,"329":0,"331":0,"332":0,"333":0,"335":0,"336":0,"337":0,"339":0,"340":0,"341":0,"342":0,"344":0,"345":0,"346":0,"347":0,"349":0,"350":0,"351":0,"353":0,"354":0,"355":0,"357":0,"358":0,"359":0,"361":0,"362":0,"363":0,"365":0,"366":0,"367":0,"369":0,"370":0,"371":0,"372":0,"373":0,"374":0,"375":0,"376":0,"377":0,"378":0,"379":0,"380":0,"381":0,"383":0,"384":0,"385":0,"386":0,"387":0,"388":0,"389":0,"390":0,"391":0,"392":0,"393":0,"394":0,"396":0,"397":0,"398":0,"399":0,"401":0,"402":0,"403":0,"405":0,"406":0,"407":0,"409":0,"410":0,"411":0,"412":0,"413":0,"414":0,"415":0,"416":0,"417":0,"418":0,"419":0,"420":0,"421":0,"422":0,"423":0,"425":0,"426":0,"427":0,"428":0,"429":0,"430":0,"431":0,"432":0,"433":0,"434":0,"436":0,"437":0,"438":0,"439":0,"440":0,"441":0,"442":0,"443":0,"444":0,"445":0,"446":0,"447":0,"449":0,"450":0,"451":0,"452":0,"453":0,"454":0,"456":0,"457":0,"458":0,"459":0,"460":0,"461":0,"462":0,"463":0,"464":0,"465":0,"467":0,"468":0,"469":0,"470":0,"471":0,"472":0,"473":0,"474":0,"475":0,"476":0,"477":0,"478":0,"479":0,"480":0,"481":0,"482":0,"483":0,"484":0,"485":0,"486":0,"487":0,"489":0,"490":0,"491":0,"492":0,"493":0,"494":0,"495":0,"496":0,"497":0,"499":0,"501":0,"502":0,"503":0,"504":0,"505":0,"507":0,"508":0,"509":0,"511":0,"513":0,"515":0,"517":0,"519":0,"521":0,"522":0,"523":0,"524":0,"525":0,"526":0,"528":0,"530":0,"531":0,"532":0,"533":0,"534":0,"535":0,"536":0,"537":0,"538":0,"539":0,"540":0,"541":0,"542":0,"544":0,"545":0,"546":0,"548":0,"549":0,"550":0,"551":0,"552":0,"553":0,"554":0,"555":0,"556":0,"557":0,"559":0,"560":0,"561":0,"562":0,"563":0,"564":0,"565":0,"566":0,"567":0,"570":0,"571":0,"572":0,"573":0,"574":0,"575":0,"576":0,"577":0,"578":0,"579":0,"580":0,"581":0,"582":0,"583":0,"586":0,"587":0,"588":0,"589":0,"590":0,"591":0,"592":0,"595":0,"597":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}},"locations":[{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}},"loc":{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useLockCallback.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useLockCallback.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":75}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":14}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":23}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":3}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":29}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":48}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":29}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":24}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":9}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":42}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":27}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":17}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":17}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":27}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":14}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":5}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":11}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":1}}},"s":{"0":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"19":0,"20":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":601},"end":{"line":21,"column":1}},"locations":[{"start":{"line":1,"column":601},"end":{"line":21,"column":1}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":601},"end":{"line":21,"column":1}},"loc":{"start":{"line":1,"column":601},"end":{"line":21,"column":1}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useTelegram.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useTelegram.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":24}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":29}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":18}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":20}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":24}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":21}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":29}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":25}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":20}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":23}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":25}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":43}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":41}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":6}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":72}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":43}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":97}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":41}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":44}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":49}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":9}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":98}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":30}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":13}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":5}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":54}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":13}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":5}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":57}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":69}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":9}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":61}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":8}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":48}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":30}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":13}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":5}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":47}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":57}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":23}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":79}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":18}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":25}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":31}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":34}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":8}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":28}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":71}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":43}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":29}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":62}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":21}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":5}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":4}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":92}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":39}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":44}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":5}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":73}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":44}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":70}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":31}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":70}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":20}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":9}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":40}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":45}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":38}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":47}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":35}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":10}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":8}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":31}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":24}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":27}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":45}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":27}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":47}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":53}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":37}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":10}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":56}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":84}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":14}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":7}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":6}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":77}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":4}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":31}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":47}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":11}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":59}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":26}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":66}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":26}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":70}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":12}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":50}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":51}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":50}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":11}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":27}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":64}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":51}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":62}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":13}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":50}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":24}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":49}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":43}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":21}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":29}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":54}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":29}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":13}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":28}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":30}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":96}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":32}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":13}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":23}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":54}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":42}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":14}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":18}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":12}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":9}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":23}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":26}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":51}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":17}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":11}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":41}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":28}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":12}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":15}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":17}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":33}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":12}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":10}},"204":{"start":{"line":205,"column":0},"end":{"line":205,"column":7}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":6}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":83}},"207":{"start":{"line":208,"column":0},"end":{"line":208,"column":4}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":51}},"210":{"start":{"line":211,"column":0},"end":{"line":211,"column":80}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":44}},"214":{"start":{"line":215,"column":0},"end":{"line":215,"column":50}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":36}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":29}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":41}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":35}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":10}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":7}},"221":{"start":{"line":222,"column":0},"end":{"line":222,"column":57}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":35}},"223":{"start":{"line":224,"column":0},"end":{"line":224,"column":57}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":14}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":56}},"226":{"start":{"line":227,"column":0},"end":{"line":227,"column":32}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":84}},"228":{"start":{"line":229,"column":0},"end":{"line":229,"column":82}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":81}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":61}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":36}},"232":{"start":{"line":233,"column":0},"end":{"line":233,"column":78}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":24}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":25}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":26}},"236":{"start":{"line":237,"column":0},"end":{"line":237,"column":29}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":17}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":52}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":60}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":67}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":47}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":12}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":55}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":58}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":67}},"246":{"start":{"line":247,"column":0},"end":{"line":247,"column":98}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":18}},"248":{"start":{"line":249,"column":0},"end":{"line":249,"column":82}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":11}},"250":{"start":{"line":251,"column":0},"end":{"line":251,"column":16}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":28}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":57}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":95}},"254":{"start":{"line":255,"column":0},"end":{"line":255,"column":22}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":23}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":29}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":16}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":15}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":70}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":41}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":38}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":48}},"264":{"start":{"line":265,"column":0},"end":{"line":265,"column":14}},"265":{"start":{"line":266,"column":0},"end":{"line":266,"column":28}},"266":{"start":{"line":267,"column":0},"end":{"line":267,"column":31}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":49}},"268":{"start":{"line":269,"column":0},"end":{"line":269,"column":60}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":53}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":62}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":72}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":24}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":14}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":57}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":24}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":32}},"277":{"start":{"line":278,"column":0},"end":{"line":278,"column":24}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":55}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":22}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":14}},"281":{"start":{"line":282,"column":0},"end":{"line":282,"column":99}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":67}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":24}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":41}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":46}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":16}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":83}},"288":{"start":{"line":289,"column":0},"end":{"line":289,"column":13}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":98}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":19}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":11}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":32}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":59}},"295":{"start":{"line":296,"column":0},"end":{"line":296,"column":13}},"296":{"start":{"line":297,"column":0},"end":{"line":297,"column":28}},"297":{"start":{"line":298,"column":0},"end":{"line":298,"column":35}},"298":{"start":{"line":299,"column":0},"end":{"line":299,"column":18}},"299":{"start":{"line":300,"column":0},"end":{"line":300,"column":9}},"300":{"start":{"line":301,"column":0},"end":{"line":301,"column":7}},"301":{"start":{"line":302,"column":0},"end":{"line":302,"column":6}},"302":{"start":{"line":303,"column":0},"end":{"line":303,"column":93}},"303":{"start":{"line":304,"column":0},"end":{"line":304,"column":4}},"305":{"start":{"line":306,"column":0},"end":{"line":306,"column":37}},"306":{"start":{"line":307,"column":0},"end":{"line":307,"column":40}},"307":{"start":{"line":308,"column":0},"end":{"line":308,"column":28}},"308":{"start":{"line":309,"column":0},"end":{"line":309,"column":35}},"309":{"start":{"line":310,"column":0},"end":{"line":310,"column":35}},"310":{"start":{"line":311,"column":0},"end":{"line":311,"column":31}},"311":{"start":{"line":312,"column":0},"end":{"line":312,"column":23}},"312":{"start":{"line":313,"column":0},"end":{"line":313,"column":5}},"314":{"start":{"line":315,"column":0},"end":{"line":315,"column":50}},"315":{"start":{"line":316,"column":0},"end":{"line":316,"column":9}},"316":{"start":{"line":317,"column":0},"end":{"line":317,"column":41}},"317":{"start":{"line":318,"column":0},"end":{"line":318,"column":39}},"318":{"start":{"line":319,"column":0},"end":{"line":319,"column":25}},"319":{"start":{"line":320,"column":0},"end":{"line":320,"column":9}},"321":{"start":{"line":322,"column":0},"end":{"line":322,"column":42}},"323":{"start":{"line":324,"column":0},"end":{"line":324,"column":33}},"324":{"start":{"line":325,"column":0},"end":{"line":325,"column":28}},"325":{"start":{"line":326,"column":0},"end":{"line":326,"column":42}},"326":{"start":{"line":327,"column":0},"end":{"line":327,"column":9}},"327":{"start":{"line":328,"column":0},"end":{"line":328,"column":17}},"328":{"start":{"line":329,"column":0},"end":{"line":329,"column":60}},"329":{"start":{"line":330,"column":0},"end":{"line":330,"column":5}},"330":{"start":{"line":331,"column":0},"end":{"line":331,"column":28}},"332":{"start":{"line":333,"column":0},"end":{"line":333,"column":48}},"333":{"start":{"line":334,"column":0},"end":{"line":334,"column":33}},"334":{"start":{"line":335,"column":0},"end":{"line":335,"column":50}},"335":{"start":{"line":336,"column":0},"end":{"line":336,"column":46}},"336":{"start":{"line":337,"column":0},"end":{"line":337,"column":18}},"337":{"start":{"line":338,"column":0},"end":{"line":338,"column":9}},"338":{"start":{"line":339,"column":0},"end":{"line":339,"column":48}},"339":{"start":{"line":340,"column":0},"end":{"line":340,"column":6}},"340":{"start":{"line":341,"column":0},"end":{"line":341,"column":9}},"341":{"start":{"line":342,"column":0},"end":{"line":342,"column":4}},"343":{"start":{"line":344,"column":0},"end":{"line":344,"column":17}},"344":{"start":{"line":345,"column":0},"end":{"line":345,"column":12}},"345":{"start":{"line":346,"column":0},"end":{"line":346,"column":21}},"346":{"start":{"line":347,"column":0},"end":{"line":347,"column":24}},"347":{"start":{"line":348,"column":0},"end":{"line":348,"column":13}},"348":{"start":{"line":349,"column":0},"end":{"line":349,"column":20}},"349":{"start":{"line":350,"column":0},"end":{"line":350,"column":32}},"350":{"start":{"line":351,"column":0},"end":{"line":351,"column":7}},"351":{"start":{"line":352,"column":0},"end":{"line":352,"column":90}},"352":{"start":{"line":353,"column":0},"end":{"line":353,"column":4}},"353":{"start":{"line":354,"column":0},"end":{"line":354,"column":2}},"355":{"start":{"line":356,"column":0},"end":{"line":356,"column":27}}},"s":{"0":0,"43":0,"45":0,"46":0,"47":0,"48":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"82":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"146":0,"147":0,"148":0,"149":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"209":0,"210":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":0,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":0,"247":0,"248":0,"249":0,"250":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"277":0,"278":0,"279":0,"280":0,"281":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"288":0,"289":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"298":0,"299":0,"300":0,"301":0,"302":0,"303":0,"305":0,"306":0,"307":0,"308":0,"309":0,"310":0,"311":0,"312":0,"314":0,"315":0,"316":0,"317":0,"318":0,"319":0,"321":0,"323":0,"324":0,"325":0,"326":0,"327":0,"328":0,"329":0,"330":0,"332":0,"333":0,"334":0,"335":0,"336":0,"337":0,"338":0,"339":0,"340":0,"341":0,"343":0,"344":0,"345":0,"346":0,"347":0,"348":0,"349":0,"350":0,"351":0,"352":0,"353":0,"355":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}},"locations":[{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}},"loc":{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useVerifier.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useVerifier.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":31}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":47}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":39}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":62}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":48}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":7}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":4}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":91}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":22}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":46}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":16}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":9}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":7}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":4}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":40}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":12}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":18}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":12}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":25}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":15}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":14}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":20}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":23}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":8}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":11}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":22}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":19}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":22}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":29}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":28}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":21}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":30}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":50}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":56}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":70}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":16}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":22}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":30}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":51}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":71}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":16}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":24}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":30}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":73}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":16}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":16}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":47}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":7}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":57}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":39}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":20}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":31}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":32}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":16}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":33}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":20}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":22}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":25}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":27}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":9}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":6}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":31}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":4}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":17}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":61}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":51}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":4}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":2}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":27}}},"s":{"0":0,"7":0,"31":0,"32":0,"34":0,"35":0,"36":0,"37":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"104":0,"105":0,"106":0,"107":0,"108":0,"110":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}},"locations":[{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}},"loc":{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useWallet.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useWallet.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":54}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":11}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":4}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":2}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":68}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":26}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":92}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":4}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":23}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":15}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":1}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":98}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":40}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":2}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":49}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":35}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":1}}},"s":{"0":0,"6":0,"7":0,"8":0,"9":0,"10":0,"12":0,"13":0,"14":0,"16":0,"17":0,"18":0,"19":0,"21":0,"22":0,"23":0,"25":0,"26":0,"27":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}},"loc":{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}},"line":1}},"f":{"0":0}} +,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/utils.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/utils.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":37}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":73}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":77}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":63}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":48}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":19}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":56}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":84}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":49}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":12}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":31}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":5}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":20}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":93}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":49}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":7}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":64}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":13}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":14}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":7}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":70}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":22}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":17}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":3}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}}},"s":{"0":1,"5":1,"6":1,"7":1,"9":1,"10":4,"11":4,"12":2,"13":2,"14":4,"15":4,"16":4,"17":4,"18":4,"19":4,"20":2,"21":2,"23":1,"24":2,"25":1,"26":1,"27":1,"28":1,"29":1,"30":0,"31":0,"32":2,"33":1,"34":1,"35":1,"36":2},"branchMap":{"0":{"type":"branch","line":10,"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"locations":[{"start":{"line":10,"column":33},"end":{"line":22,"column":2}}]},"1":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":18},"end":{"line":15,"column":80}},"locations":[{"start":{"line":12,"column":18},"end":{"line":15,"column":80}}]},"2":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":66},"end":{"line":15,"column":82}},"locations":[{"start":{"line":15,"column":66},"end":{"line":15,"column":82}}]},"3":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":3},"end":{"line":22,"column":2}},"locations":[{"start":{"line":20,"column":3},"end":{"line":22,"column":2}}]},"4":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"locations":[{"start":{"line":24,"column":36},"end":{"line":37,"column":2}}]},"5":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":47},"end":{"line":30,"column":7}},"locations":[{"start":{"line":25,"column":47},"end":{"line":30,"column":7}}]},"6":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":5},"end":{"line":32,"column":22}},"locations":[{"start":{"line":30,"column":5},"end":{"line":32,"column":22}}]},"7":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":2},"end":{"line":36,"column":3}},"locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":3}}]}},"b":{"0":[4],"1":[2],"2":[2],"3":[2],"4":[2],"5":[1],"6":[0],"7":[1]},"fnMap":{"0":{"name":"getCaContractBase","decl":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"line":10},"1":{"name":"getIsManagerReadOnly","decl":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"line":24}},"f":{"0":4,"1":2}} } diff --git a/packages/bridge/jest-report.xml b/packages/bridge/jest-report.xml index 1396760d..ae7f2a5e 100644 --- a/packages/bridge/jest-report.xml +++ b/packages/bridge/jest-report.xml @@ -1,45 +1,27 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + +intg----getIsManagerReadOnly is fail TypeError: caIns.callViewMethod is not a function + at Module.getIsManagerReadOnly [90m(/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/[39msrc/utils.ts:27:28[90m)[39m + at [90m/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/[39msrc/__tests__/utils.test.ts:46:15 + at file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:533:5 + at runTest (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1056:11) + at runSuite (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) + at runSuite (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) + at runFiles (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1262:5) + at startTests (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1271:3) + at run (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.7.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/workers/runVmTests.js:79:7) + at runVmTests (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.7.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/chunks/vm.Zr4qWzDJ.js:834:5) + + + + + From bdbb93b32c42213ad0e92d646a2b5259f277ff89 Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Mon, 25 Nov 2024 12:22:27 +0000 Subject: [PATCH 06/25] chore: clean up packages and imports --- package.json | 14 +- packages/base/package.json | 9 +- packages/bridge/jest.setup.ts | 23 -- packages/bridge/package.json | 14 +- packages/bridge/tsconfig.json | 2 +- packages/bridge/vite.config.ts | 9 +- packages/bridge/vitest.setup.ts | 22 +- packages/react/package.json | 11 +- packages/utils/package.json | 14 +- pnpm-lock.yaml | 662 ++++++++++---------------------- tsconfig.json | 2 +- 11 files changed, 248 insertions(+), 534 deletions(-) delete mode 100644 packages/bridge/jest.setup.ts diff --git a/package.json b/package.json index f7d8056b..f2d4360d 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,12 @@ "@changesets/cli": "^2.27.1", "@happy-dom/jest-environment": "^15.11.6", "@ianvs/prettier-plugin-sort-imports": "^4.1.1", - "@testing-library/react": "^14.1.2", + "@testing-library/jest-dom": "^6.6.3", + "@testing-library/react": "^16.0.1", + "@types/node": "^22.9.3", + "@types/jest": "^29.5.12", + "@types/react": "^18.3.1", + "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "@vitest/coverage-v8": "^2.1.5", @@ -71,13 +76,20 @@ "father": "^4.3.8", "happy-dom": "^15.11.6", "husky": "^8.0.3", + "babel-jest": "^29.7.0", + "node-fetch": "^3.3.2", + "jest": "^29.7.0", + "jest-junit": "^16.0.0", "jest-canvas-mock": "^2.5.2", + "jest-environment-jsdom": "^29.7.0", "jest-transform-stub": "^2.0.0", "jsdom": "^23.0.1", "lint-staged": "^15.2.0", "prettier": "^3.1.1", "rimraf": "^5.0.5", + "ts-jest": "^29.2.5", "typescript": "^5.3.3", + "vite-tsconfig-paths": "^5.1.3", "vitest": "^2.1.5" }, "ci": { diff --git a/packages/base/package.json b/packages/base/package.json index f61d3c14..ab374fc7 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -34,14 +34,7 @@ "@babel/preset-env": "^7.24.7", "@babel/preset-typescript": "^7.24.7", "@portkey/did-ui-react": "^2.15.9", - "@portkey/types": "^2.15.9", - "@types/jest": "^29.5.12", - "babel-jest": "^29.7.0", - "jest": "^29.7.0", - "jest-environment-jsdom": "^29.7.0", - "jest-junit": "^16.0.0", - "jsdom": "^23.0.1", - "typescript": "^5.3.3" + "@portkey/types": "^2.15.9" }, "peerDependencies": { "@portkey/did-ui-react": "^2.15.9" diff --git a/packages/bridge/jest.setup.ts b/packages/bridge/jest.setup.ts deleted file mode 100644 index 7317d3cb..00000000 --- a/packages/bridge/jest.setup.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; -import '@testing-library/jest-dom'; -jest.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ - PortkeyAAWallet: jest.fn(), -})); -jest.mock('@portkey/did-ui-react', () => ({ - getChainInfo: (c: TChainId) => (!c ? null : {}), - did: { - didWallet: { - managementAccount: { - privateKey: '', - }, - }, - }, -})); -jest.mock('lottie-web'); -jest.mock('@portkey/utils'); -import 'jest-canvas-mock'; -global.fetch = require('node-fetch'); -import { TextEncoder, TextDecoder } from 'util'; -global.TextEncoder = TextEncoder; -// @ts-expect-error TextDecoder -global.TextDecoder = TextDecoder; diff --git a/packages/bridge/package.json b/packages/bridge/package.json index 2aad0715..b2a77061 100755 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -44,22 +44,10 @@ "@portkey/did-ui-react": "^2.15.9", "@portkey/types": "^2.15.9", "@portkey/utils": "^2.15.9", - "@babel/core": "^7.24.7", - "@babel/preset-env": "^7.24.7", - "@babel/preset-react": "^7.24.7", - "@babel/preset-typescript": "^7.24.7", - "@swc/core": "^1.9.3", - "@swc/jest": "^0.2.37", - "@testing-library/jest-dom": "^6.5.0", - "@testing-library/react": "^16.0.1", - "@testing-library/react-hooks": "^8.0.1", - "@types/jest": "^29.5.14", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", "antd": "4.24.14", - "father": "^4.3.8", - "jest": "^29.7.0", - "typescript": "^5.3.3" + "father": "^4.3.8" }, "peerDependencies": { "@portkey/did-ui-react": "^2.15.9" diff --git a/packages/bridge/tsconfig.json b/packages/bridge/tsconfig.json index 24cde58c..092d3831 100644 --- a/packages/bridge/tsconfig.json +++ b/packages/bridge/tsconfig.json @@ -1,4 +1,4 @@ { "extends": "../../tsconfig.base.json", - "include": ["src/**/*.ts", "src/**/*.tsx", "src/global.d.ts", ".fatherrc.ts"] + "include": ["src/**/*.ts", "src/**/*.tsx", ".fatherrc.ts"] } diff --git a/packages/bridge/vite.config.ts b/packages/bridge/vite.config.ts index 323c91db..5d420da2 100644 --- a/packages/bridge/vite.config.ts +++ b/packages/bridge/vite.config.ts @@ -1,8 +1,10 @@ import { defineConfig, configDefaults } from 'vitest/config'; +import tsconfigPaths from 'vite-tsconfig-paths'; const exclude = [...configDefaults.exclude, '**/dist/*.*', '**/.*', '**/*.setup.*']; export default defineConfig({ + plugins: [tsconfigPaths()], test: { maxConcurrency: 20, pool: 'vmThreads', @@ -17,26 +19,27 @@ export default defineConfig({ optimizer: { web: { enabled: true, - include: ['node-fetch'], }, }, }, globals: true, + watch: false, environment: 'happy-dom', setupFiles: ['./vitest.setup.ts'], include: ['./src/**/*(*.)?{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], name: 'bridge', exclude, - reporters: ['junit'], + reporters: ['junit', 'default'], outputFile: { junit: './jest-report.xml', }, coverage: { + all: false, enabled: true, provider: 'v8', exclude: [...exclude, '**/__tests__/*.*'], reportsDirectory: './coverage', - reporter: [['json', { file: 'coverage-summary.json' }]], + reporter: [['json', { file: 'coverage-summary.json' }], ['text']], }, }, }); diff --git a/packages/bridge/vitest.setup.ts b/packages/bridge/vitest.setup.ts index 26497b5e..a0d2a70e 100644 --- a/packages/bridge/vitest.setup.ts +++ b/packages/bridge/vitest.setup.ts @@ -1,4 +1,24 @@ import '@testing-library/jest-dom'; +import { cleanup } from '@testing-library/react'; +import { afterEach, beforeAll, vi } from 'vitest'; + +beforeAll(() => { + global.ResizeObserver = class ResizeObserver { + observe() { + // do nothing + } + unobserve() { + // do nothing + } + disconnect() { + // do nothing + } + }; +}); + +afterEach(() => { + cleanup(); +}); // https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom if (typeof window !== 'undefined') { @@ -19,7 +39,7 @@ if (typeof window !== 'undefined') { import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; vi.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ - PortkeyAAWallet: jest.fn(), + PortkeyAAWallet: vi.fn(), })); vi.mock('@portkey/did-ui-react', () => ({ getChainInfo: (c: TChainId) => (!c ? null : {}), diff --git a/packages/react/package.json b/packages/react/package.json index 97bc3713..998a7477 100755 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -40,19 +40,10 @@ "@babel/preset-env": "^7.24.7", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^16.0.0", "@types/jest": "^29.5.13", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", - "babel-jest": "^29.7.0", - "father": "^4.3.8", - "jest": "^29.7.0", - "jest-junit": "^16.0.0", - "node-fetch": "^3.3.2", - "react-test-renderer": "^18.3.1", - "ts-jest": "^29.2.5", - "typescript": "^5.3.3" + "father": "^4.3.8" }, "publishConfig": { "registry": "https://registry.npmjs.org", diff --git a/packages/utils/package.json b/packages/utils/package.json index 0baad385..fa1d6c03 100755 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -46,21 +46,9 @@ "@portkey/did-ui-react": "^2.7.2", "@portkey/provider-types": "^2.3.5-alpha.2", "@portkey/utils": "^2.4.5", - "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^14.1.2", - "@types/jest": "^29.5.12", - "@types/react": "^18.3.1", - "@types/react-dom": "^18.3.0", "aelf-sdk": "^3.4.12", - "babel-jest": "^29.7.0", "father": "^4.3.8", - "identity-obj-proxy": "^3.0.0", - "jest": "^29.7.0", - "jest-canvas-mock": "^2.5.2", - "jest-environment-jsdom": "^29.7.0", - "jest-junit": "^16.0.0", - "ts-node": "^10.9.2", - "typescript": "^5.3.3" + "identity-obj-proxy": "^3.0.0" }, "peerDependencies": { "@portkey/did-ui-react": "^2.7.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 614e79b6..f824fa00 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,9 +30,24 @@ importers: '@ianvs/prettier-plugin-sort-imports': specifier: ^4.1.1 version: 4.3.1(prettier@3.3.3) + '@testing-library/jest-dom': + specifier: ^6.6.3 + version: 6.6.3 '@testing-library/react': - specifier: ^14.1.2 - version: 14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^16.0.1 + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@types/jest': + specifier: ^29.5.12 + version: 29.5.13 + '@types/node': + specifier: ^22.9.3 + version: 22.9.3 + '@types/react': + specifier: ^18.3.1 + version: 18.3.9 + '@types/react-dom': + specifier: ^18.3.0 + version: 18.3.0 '@typescript-eslint/eslint-plugin': specifier: ^7.1.1 version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) @@ -41,7 +56,10 @@ importers: version: 7.18.0(eslint@8.57.1)(typescript@5.6.2) '@vitest/coverage-v8': specifier: ^2.1.5 - version: 2.1.5(vitest@2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) + babel-jest: + specifier: ^29.7.0 + version: 29.7.0(@babel/core@7.25.2) babel-plugin-transform-remove-console: specifier: ^6.9.4 version: 6.9.4 @@ -65,16 +83,25 @@ importers: version: 3.2.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1) father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) happy-dom: specifier: ^15.11.6 version: 15.11.6 husky: specifier: ^8.0.3 version: 8.0.3 + jest: + specifier: ^29.7.0 + version: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) jest-canvas-mock: specifier: ^2.5.2 version: 2.5.2 + jest-environment-jsdom: + specifier: ^29.7.0 + version: 29.7.0 + jest-junit: + specifier: ^16.0.0 + version: 16.0.0 jest-transform-stub: specifier: ^2.0.0 version: 2.0.0 @@ -84,18 +111,27 @@ importers: lint-staged: specifier: ^15.2.0 version: 15.2.10 + node-fetch: + specifier: ^3.3.2 + version: 3.3.2 prettier: specifier: ^3.1.1 version: 3.3.3 rimraf: specifier: ^5.0.5 version: 5.0.10 + ts-jest: + specifier: ^29.2.5 + version: 29.2.5(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(typescript@5.6.2) typescript: specifier: ^5.3.3 version: 5.6.2 + vite-tsconfig-paths: + specifier: ^5.1.3 + version: 5.1.3(typescript@5.6.2)(vite@5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) vitest: specifier: ^2.1.5 - version: 2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + version: 2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) packages/base: dependencies: @@ -118,27 +154,6 @@ importers: '@portkey/types': specifier: ^2.15.9 version: 2.15.9 - '@types/jest': - specifier: ^29.5.12 - version: 29.5.13 - babel-jest: - specifier: ^29.7.0 - version: 29.7.0(@babel/core@7.25.2) - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) - jest-environment-jsdom: - specifier: ^29.7.0 - version: 29.7.0 - jest-junit: - specifier: ^16.0.0 - version: 16.0.0 - jsdom: - specifier: ^23.0.1 - version: 23.2.0 - typescript: - specifier: ^5.3.3 - version: 5.6.2 packages/bridge: dependencies: @@ -182,24 +197,6 @@ importers: '@portkey/utils': specifier: ^2.15.9 version: 2.15.9(@portkey/request@2.15.9)(aelf-sdk@3.4.16-alpha.7(@babel/core@7.25.2)(encoding@0.1.13)(eslint@8.57.1))(query-string@7.1.3) - '@swc/core': - specifier: ^1.9.3 - version: 1.9.3(@swc/helpers@0.5.1) - '@swc/jest': - specifier: ^0.2.37 - version: 0.2.37(@swc/core@1.9.3(@swc/helpers@0.5.1)) - '@testing-library/jest-dom': - specifier: ^6.5.0 - version: 6.5.0 - '@testing-library/react': - specifier: ^16.0.1 - version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@testing-library/react-hooks': - specifier: ^8.0.1 - version: 8.0.1(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@types/jest': - specifier: ^29.5.14 - version: 29.5.14 '@types/react': specifier: ^18.3.1 version: 18.3.9 @@ -214,13 +211,7 @@ importers: version: 29.7.0(@babel/core@7.25.2) father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) - typescript: - specifier: ^5.3.3 - version: 5.6.2 + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) packages/react: dependencies: @@ -252,12 +243,6 @@ importers: '@babel/preset-typescript': specifier: ^7.24.7 version: 7.24.7(@babel/core@7.25.2) - '@testing-library/jest-dom': - specifier: ^6.4.6 - version: 6.5.0 - '@testing-library/react': - specifier: ^16.0.0 - version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/jest': specifier: ^29.5.13 version: 29.5.13 @@ -267,30 +252,9 @@ importers: '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 - babel-jest: - specifier: ^29.7.0 - version: 29.7.0(@babel/core@7.25.2) father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) - jest-junit: - specifier: ^16.0.0 - version: 16.0.0 - node-fetch: - specifier: ^3.3.2 - version: 3.3.2 - react-test-renderer: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) - ts-jest: - specifier: ^29.2.5 - version: 29.2.5(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(typescript@5.6.2) - typescript: - specifier: ^5.3.3 - version: 5.6.2 + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) packages/starter: dependencies: @@ -339,7 +303,7 @@ importers: version: 18.3.0 '@umijs/lint': specifier: ^4.0.0 - version: 4.3.24(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(stylelint@14.16.1)(typescript@5.6.2) + version: 4.3.24(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(stylelint@14.16.1)(typescript@5.6.2) aelf-design: specifier: ^1.1.1 version: 1.1.1(@types/react@18.3.9)(antd@5.18.0(date-fns@2.30.0)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -348,13 +312,13 @@ importers: version: 5.18.0(date-fns@2.30.0)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) dumi: specifier: 2.2.17 - version: 2.2.17(@babel/core@7.25.2)(@swc/helpers@0.5.1)(@types/node@22.7.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 2.2.17(@babel/core@7.25.2)(@swc/helpers@0.5.1)(@types/node@22.9.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) eslint: specifier: ^8.23.0 version: 8.57.1 father: specifier: ^4.1.0 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) glob: specifier: ^10.3.12 version: 10.4.5 @@ -413,51 +377,15 @@ importers: '@portkey/utils': specifier: ^2.4.5 version: 2.10.5(@portkey/request@2.15.9)(aelf-sdk@3.4.15(@babel/core@7.25.2)(encoding@0.1.13)(eslint@8.57.1))(query-string@7.1.3) - '@testing-library/jest-dom': - specifier: ^6.4.6 - version: 6.5.0 - '@testing-library/react': - specifier: ^14.1.2 - version: 14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@types/jest': - specifier: ^29.5.12 - version: 29.5.13 - '@types/react': - specifier: ^18.3.1 - version: 18.3.9 - '@types/react-dom': - specifier: ^18.3.0 - version: 18.3.0 aelf-sdk: specifier: ^3.4.12 version: 3.4.15(@babel/core@7.25.2)(encoding@0.1.13)(eslint@8.57.1) - babel-jest: - specifier: ^29.7.0 - version: 29.7.0(@babel/core@7.25.2) father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) identity-obj-proxy: specifier: ^3.0.0 version: 3.0.0 - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) - jest-canvas-mock: - specifier: ^2.5.2 - version: 2.5.2 - jest-environment-jsdom: - specifier: ^29.7.0 - version: 29.7.0 - jest-junit: - specifier: ^16.0.0 - version: 16.0.0 - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2) - typescript: - specifier: ^5.3.3 - version: 5.6.2 packages/wallets/night-elf: dependencies: @@ -485,7 +413,7 @@ importers: version: 5.1.6 father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) typescript: specifier: ^5.3.3 version: 5.6.2 @@ -510,7 +438,7 @@ importers: version: 2.15.9 father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) typescript: specifier: ^5.3.3 version: 5.6.2 @@ -544,7 +472,7 @@ importers: version: 5.1.6 father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) typescript: specifier: ^5.3.3 version: 5.6.2 @@ -2451,10 +2379,6 @@ packages: node-notifier: optional: true - '@jest/create-cache-key-function@29.7.0': - resolution: {integrity: sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - '@jest/environment@29.7.0': resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -3506,12 +3430,6 @@ packages: '@swc/helpers@0.5.1': resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==} - '@swc/jest@0.2.37': - resolution: {integrity: sha512-CR2BHhmXKGxTiFr21DYPRHQunLkX3mNIFGFkxBGji6r9uyIR5zftTOVYj1e0sFNMV2H7mf/+vpaglqaryBtqfQ==} - engines: {npm: '>= 7.0.0'} - peerDependencies: - '@swc/core': '*' - '@swc/types@0.1.17': resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==} @@ -3519,33 +3437,10 @@ packages: resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==} engines: {node: '>=18'} - '@testing-library/jest-dom@6.5.0': - resolution: {integrity: sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==} + '@testing-library/jest-dom@6.6.3': + resolution: {integrity: sha512-IteBhl4XqYNkM54f4ejhLRJiZNqcSCoXUOG2CPK7qbD322KjQozM4kHQOfkG2oln9b9HTYqs+Sae8vBATubxxA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} - '@testing-library/react-hooks@8.0.1': - resolution: {integrity: sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==} - engines: {node: '>=12'} - peerDependencies: - '@types/react': ^16.9.0 || ^17.0.0 - react: ^16.9.0 || ^17.0.0 - react-dom: ^16.9.0 || ^17.0.0 - react-test-renderer: ^16.9.0 || ^17.0.0 - peerDependenciesMeta: - '@types/react': - optional: true - react-dom: - optional: true - react-test-renderer: - optional: true - - '@testing-library/react@14.3.1': - resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==} - engines: {node: '>=14'} - peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 - '@testing-library/react@16.0.1': resolution: {integrity: sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==} engines: {node: '>=18'} @@ -3689,6 +3584,9 @@ packages: '@types/node@22.7.3': resolution: {integrity: sha512-qXKfhXXqGTyBskvWEzJZPUxSslAiLaB6JGP1ic/XTH9ctGgzdgYguuLP1C601aRTSDNlLb0jbKqXjZ48GNraSA==} + '@types/node@22.9.3': + resolution: {integrity: sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw==} + '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -6356,6 +6254,9 @@ packages: globjoin@0.1.4: resolution: {integrity: sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==} + globrex@0.1.2: + resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} + gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -7343,9 +7244,6 @@ packages: engines: {node: '>=6'} hasBin: true - jsonc-parser@3.3.1: - resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} - jsonfile@3.0.1: resolution: {integrity: sha512-oBko6ZHlubVB5mRFkur5vgYR1UyqX+S6Y/oCfLhqNdcc2fYFlDpIoNc7AfKS1KOGcnNAkvsr0grLck9ANM815w==} @@ -9463,16 +9361,6 @@ packages: peerDependencies: react: '>=16.8' - react-shallow-renderer@16.15.0: - resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} - peerDependencies: - react: ^16.0.0 || ^17.0.0 || ^18.0.0 - - react-test-renderer@18.3.1: - resolution: {integrity: sha512-KkAgygexHUkQqtvvx/otwxtuFu5cVjfzTCtjXLH9boS19/Nbtg84zS7wIQn39G8IlrhThBpQsMKkq5ZHZIYFXA==} - peerDependencies: - react: ^18.3.1 - react-universal-interface@0.6.2: resolution: {integrity: sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==} peerDependencies: @@ -10593,6 +10481,16 @@ packages: ts-toolbelt@9.6.0: resolution: {integrity: sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==} + tsconfck@3.1.4: + resolution: {integrity: sha512-kdqWFGVJqe+KGYvlSO9NIaWn9jT1Ny4oKVzAJsKii5eoE9snzTJzL4+MMVOMn+fikWGFmKEylcXL710V/kIPJQ==} + engines: {node: ^18 || >=20} + hasBin: true + peerDependencies: + typescript: ^5.0.0 + peerDependenciesMeta: + typescript: + optional: true + tsconfig-paths@4.0.0: resolution: {integrity: sha512-SLBg2GBKlR6bVtMgJJlud/o3waplKtL7skmLkExomIiaAtLGtVsoXIqP3SYdjbcH9lq/KVv7pMZeCBpLYOit6Q==} @@ -10917,6 +10815,14 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true + vite-tsconfig-paths@5.1.3: + resolution: {integrity: sha512-0bz+PDlLpGfP2CigeSKL9NFTF1KtXkeHGZSSaGQSuPZH77GhoiQaA8IjYgOaynSuwlDTolSUEU0ErVvju3NURg==} + peerDependencies: + vite: '*' + peerDependenciesMeta: + vite: + optional: true + vite@4.5.2: resolution: {integrity: sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==} engines: {node: ^14.18.0 || >=16.0.0} @@ -13127,6 +13033,7 @@ snapshots: '@cspotcode/source-map-support@0.8.1': dependencies: '@jridgewell/trace-mapping': 0.3.9 + optional: true '@csstools/postcss-color-function@1.1.1(postcss@8.4.47)': dependencies: @@ -13749,27 +13656,27 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + jest-config: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -13790,15 +13697,11 @@ snapshots: - supports-color - ts-node - '@jest/create-cache-key-function@29.7.0': - dependencies: - '@jest/types': 29.6.3 - '@jest/environment@29.7.0': dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -13816,7 +13719,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 22.7.3 + '@types/node': 22.9.3 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -13838,7 +13741,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 22.7.3 + '@types/node': 22.9.3 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -13913,7 +13816,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/yargs': 16.0.9 chalk: 4.1.2 @@ -13922,7 +13825,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -13952,6 +13855,7 @@ snapshots: dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + optional: true '@loadable/component@5.15.2(react@18.3.1)': dependencies: @@ -13985,20 +13889,20 @@ snapshots: nanoid: 5.0.7 react: 18.3.1 - '@microsoft/api-extractor-model@7.28.4(@types/node@22.7.3)': + '@microsoft/api-extractor-model@7.28.4(@types/node@22.9.3)': dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.63.0(@types/node@22.7.3) + '@rushstack/node-core-library': 3.63.0(@types/node@22.9.3) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.39.1(@types/node@22.7.3)': + '@microsoft/api-extractor@7.39.1(@types/node@22.9.3)': dependencies: - '@microsoft/api-extractor-model': 7.28.4(@types/node@22.7.3) + '@microsoft/api-extractor-model': 7.28.4(@types/node@22.9.3) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.63.0(@types/node@22.7.3) + '@rushstack/node-core-library': 3.63.0(@types/node@22.9.3) '@rushstack/rig-package': 0.5.1 '@rushstack/ts-command-line': 4.17.1 colors: 1.2.5 @@ -14735,7 +14639,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.22.4': optional: true - '@rushstack/node-core-library@3.63.0(@types/node@22.7.3)': + '@rushstack/node-core-library@3.63.0(@types/node@22.9.3)': dependencies: colors: 1.2.5 fs-extra: 7.0.1 @@ -14745,7 +14649,7 @@ snapshots: semver: 7.5.4 z-schema: 5.0.5 optionalDependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@rushstack/rig-package@0.5.1': dependencies: @@ -15285,23 +15189,19 @@ snapshots: '@swc/core-win32-ia32-msvc': 1.9.3 '@swc/core-win32-x64-msvc': 1.9.3 '@swc/helpers': 0.5.1 + optional: true - '@swc/counter@0.1.3': {} + '@swc/counter@0.1.3': + optional: true '@swc/helpers@0.5.1': dependencies: tslib: 2.7.0 - '@swc/jest@0.2.37(@swc/core@1.9.3(@swc/helpers@0.5.1))': - dependencies: - '@jest/create-cache-key-function': 29.7.0 - '@swc/core': 1.9.3(@swc/helpers@0.5.1) - '@swc/counter': 0.1.3 - jsonc-parser: 3.3.1 - '@swc/types@0.1.17': dependencies: '@swc/counter': 0.1.3 + optional: true '@testing-library/dom@10.4.0': dependencies: @@ -15314,7 +15214,7 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.5.0': + '@testing-library/jest-dom@6.6.3': dependencies: '@adobe/css-tools': 4.4.0 aria-query: 5.3.2 @@ -15341,28 +15241,14 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@testing-library/dom': 10.4.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - optionalDependencies: - '@types/react': 18.3.9 - '@types/react-dom': 18.3.0 - - '@tootallnate/once@2.0.0': {} - - '@trysound/sax@0.2.0': {} - - '@tsconfig/node10@1.0.11': {} - - '@tsconfig/node12@1.0.11': {} - - '@tsconfig/node14@1.0.3': {} - - '@tsconfig/node16@1.0.4': {} - + '@types/argparse@1.0.38': {} '@types/aria-query@5.0.4': {} @@ -15407,11 +15293,11 @@ snapshots: '@types/fs-extra@11.0.1': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/hapi__joi@17.1.9': {} @@ -15455,7 +15341,7 @@ snapshots: '@types/jsdom@20.0.1': dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 @@ -15463,11 +15349,11 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/keyv@3.1.4': dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/long@4.0.2': {} @@ -15489,6 +15375,10 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/node@22.9.3': + dependencies: + undici-types: 6.19.8 + '@types/normalize-package-data@2.4.4': {} '@types/parse-json@4.0.2': {} @@ -15514,18 +15404,18 @@ snapshots: '@types/readable-stream@2.3.15': dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 safe-buffer: 5.1.2 '@types/resolve@1.20.6': {} '@types/responselike@1.0.3': dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/sax@1.2.7': dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 '@types/semver@7.5.8': {} @@ -15770,18 +15660,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@umijs/bundler-vite@4.3.24(@types/node@22.7.3)(lightningcss@1.22.1)(postcss@8.4.47)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0)': + '@umijs/bundler-vite@4.3.24(@types/node@22.9.3)(lightningcss@1.22.1)(postcss@8.4.47)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0)': dependencies: '@svgr/core': 6.5.1 '@umijs/bundler-utils': 4.3.24 '@umijs/utils': 4.3.24 - '@vitejs/plugin-react': 4.0.0(vite@4.5.2(@types/node@22.7.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) + '@vitejs/plugin-react': 4.0.0(vite@4.5.2(@types/node@22.9.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) core-js: 3.34.0 less: 4.1.3 postcss-preset-env: 7.5.0(postcss@8.4.47) rollup-plugin-visualizer: 5.9.0(rollup@3.29.5) systemjs: 6.15.1 - vite: 4.5.2(@types/node@22.7.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vite: 4.5.2(@types/node@22.9.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) transitivePeerDependencies: - '@types/node' - lightningcss @@ -15827,40 +15717,6 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - '@umijs/bundler-webpack@4.3.24(type-fest@0.21.3)(typescript@5.3.3)(webpack@5.95.0)': - dependencies: - '@svgr/core': 6.5.1 - '@svgr/plugin-jsx': 6.5.1(@svgr/core@6.5.1) - '@svgr/plugin-svgo': 6.5.1(@svgr/core@6.5.1) - '@types/hapi__joi': 17.1.9 - '@umijs/babel-preset-umi': 4.3.24 - '@umijs/bundler-utils': 4.3.24 - '@umijs/case-sensitive-paths-webpack-plugin': 1.0.1 - '@umijs/mfsu': 4.3.24 - '@umijs/react-refresh-webpack-plugin': 0.5.11(react-refresh@0.14.0)(type-fest@0.21.3)(webpack@5.95.0) - '@umijs/utils': 4.3.24 - cors: 2.8.5 - css-loader: 6.7.1(webpack@5.95.0) - es5-imcompatible-versions: 0.1.90 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.3.3)(webpack@5.95.0) - jest-worker: 29.4.3 - lightningcss: 1.22.1 - node-libs-browser: 2.2.1 - postcss: 8.4.47 - postcss-preset-env: 7.5.0(postcss@8.4.47) - react-error-overlay: 6.0.9 - react-refresh: 0.14.0 - transitivePeerDependencies: - - '@types/webpack' - - sockjs-client - - supports-color - - type-fest - - typescript - - webpack - - webpack-dev-server - - webpack-hot-middleware - - webpack-plugin-serve - '@umijs/bundler-webpack@4.3.24(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)))': dependencies: '@svgr/core': 6.5.1 @@ -15950,7 +15806,7 @@ snapshots: '@babel/runtime': 7.25.6 query-string: 6.14.1 - '@umijs/lint@4.3.24(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(stylelint@14.16.1)(typescript@5.6.2)': + '@umijs/lint@4.3.24(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(stylelint@14.16.1)(typescript@5.6.2)': dependencies: '@babel/core': 7.25.2 '@babel/eslint-parser': 7.23.3(@babel/core@7.25.2)(eslint@8.57.1) @@ -15958,7 +15814,7 @@ snapshots: '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.6.2) '@umijs/babel-preset-umi': 4.3.24 - eslint-plugin-jest: 27.2.3(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(typescript@5.6.2) + eslint-plugin-jest: 27.2.3(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(typescript@5.6.2) eslint-plugin-react: 7.33.2(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.0(eslint@8.57.1) postcss: 8.4.47 @@ -16039,7 +15895,7 @@ snapshots: dependencies: tsx: 3.12.2 - '@umijs/preset-umi@4.3.24(@types/node@22.7.3)(@types/react@18.3.9)(lightningcss@1.22.1)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)))': + '@umijs/preset-umi@4.3.24(@types/node@22.9.3)(@types/react@18.3.9)(lightningcss@1.22.1)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)))': dependencies: '@iconify/utils': 2.1.1 '@svgr/core': 6.5.1 @@ -16048,7 +15904,7 @@ snapshots: '@umijs/bundler-esbuild': 4.3.24 '@umijs/bundler-mako': 0.8.14 '@umijs/bundler-utils': 4.3.24 - '@umijs/bundler-vite': 4.3.24(@types/node@22.7.3)(lightningcss@1.22.1)(postcss@8.4.47)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0) + '@umijs/bundler-vite': 4.3.24(@types/node@22.9.3)(lightningcss@1.22.1)(postcss@8.4.47)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0) '@umijs/bundler-webpack': 4.3.24(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) '@umijs/core': 4.3.24 '@umijs/did-you-know': 1.0.3 @@ -16113,22 +15969,6 @@ snapshots: optionalDependencies: type-fest: 0.21.3 - '@umijs/react-refresh-webpack-plugin@0.5.11(react-refresh@0.14.0)(type-fest@0.21.3)(webpack@5.95.0)': - dependencies: - ansi-html-community: 0.0.8 - common-path-prefix: 3.0.0 - core-js-pure: 3.38.1 - error-stack-parser: 2.1.4 - find-up: 5.0.0 - html-entities: 2.5.2 - loader-utils: 2.0.4 - react-refresh: 0.14.0 - schema-utils: 3.3.0 - source-map: 0.7.4 - webpack: 5.95.0 - optionalDependencies: - type-fest: 0.21.3 - '@umijs/renderer-react@4.3.24(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.23.6 @@ -16183,17 +16023,17 @@ snapshots: '@vercel/ncc@0.33.3': {} - '@vitejs/plugin-react@4.0.0(vite@4.5.2(@types/node@22.7.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': + '@vitejs/plugin-react@4.0.0(vite@4.5.2(@types/node@22.9.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) react-refresh: 0.14.2 - vite: 4.5.2(@types/node@22.7.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vite: 4.5.2(@types/node@22.9.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': + '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -16207,7 +16047,7 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vitest: 2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) transitivePeerDependencies: - supports-color @@ -16218,13 +16058,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.5(vite@5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': + '@vitest/mocker@2.1.5(vite@5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': dependencies: '@vitest/spy': 2.1.5 estree-walker: 3.0.3 magic-string: 0.30.13 optionalDependencies: - vite: 5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vite: 5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) '@vitest/pretty-format@2.1.5': dependencies: @@ -16743,7 +16583,8 @@ snapshots: aproba@1.2.0: {} - arg@4.1.3: {} + arg@4.1.3: + optional: true arg@5.0.2: {} @@ -17671,13 +17512,13 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.11 - create-jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)): + create-jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + jest-config: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -17686,7 +17527,8 @@ snapshots: - supports-color - ts-node - create-require@1.1.1: {} + create-require@1.1.1: + optional: true cross-spawn@5.1.0: dependencies: @@ -17748,18 +17590,6 @@ snapshots: semver: 7.6.3 webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)) - css-loader@6.7.1(webpack@5.95.0): - dependencies: - icss-utils: 5.1.0(postcss@8.4.47) - postcss: 8.4.47 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.47) - postcss-modules-local-by-default: 4.0.5(postcss@8.4.47) - postcss-modules-scope: 3.2.0(postcss@8.4.47) - postcss-modules-values: 4.0.0(postcss@8.4.47) - postcss-value-parser: 4.2.0 - semver: 7.6.3 - webpack: 5.95.0 - css-prefers-color-scheme@6.0.3(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -17993,7 +17823,8 @@ snapshots: diff-sequences@29.6.3: {} - diff@4.0.2: {} + diff@4.0.2: + optional: true diff@5.2.0: {} @@ -18096,7 +17927,7 @@ snapshots: dumi-assets-types@2.0.0-alpha.0: {} - dumi@2.2.17(@babel/core@7.25.2)(@swc/helpers@0.5.1)(@types/node@22.7.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): + dumi@2.2.17(@babel/core@7.25.2)(@swc/helpers@0.5.1)(@types/node@22.9.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): dependencies: '@ant-design/icons-svg': 4.4.2 '@makotot/ghostui': 2.0.0(react@18.3.1) @@ -18155,7 +17986,7 @@ snapshots: remark-rehype: 10.1.0 sass: 1.79.3 sitemap: 7.1.2 - umi: 4.3.24(@babel/core@7.25.2)(@types/node@22.7.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(sass@1.79.3)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + umi: 4.3.24(@babel/core@7.25.2)(@types/node@22.9.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(sass@1.79.3)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) unified: 10.1.2 unist-util-visit: 4.1.2 unist-util-visit-parents: 5.1.3 @@ -18554,13 +18385,13 @@ snapshots: dependencies: eslint: 8.57.1 - eslint-plugin-jest@27.2.3(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(typescript@5.6.2): + eslint-plugin-jest@27.2.3(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(typescript@5.6.2): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.6.2) eslint: 8.57.1 optionalDependencies: '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) - jest: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + jest: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) transitivePeerDependencies: - supports-color - typescript @@ -18916,9 +18747,9 @@ snapshots: dependencies: reusify: 1.0.4 - father@4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): + father@4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): dependencies: - '@microsoft/api-extractor': 7.39.1(@types/node@22.7.3) + '@microsoft/api-extractor': 7.39.1(@types/node@22.9.3) '@umijs/babel-preset-umi': 4.3.24 '@umijs/bundler-utils': 4.3.24 '@umijs/bundler-webpack': 4.3.24(type-fest@0.21.3)(typescript@5.3.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) @@ -18954,44 +18785,6 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - father@4.5.0(@babel/core@7.25.2)(@types/node@22.7.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0): - dependencies: - '@microsoft/api-extractor': 7.39.1(@types/node@22.7.3) - '@umijs/babel-preset-umi': 4.3.24 - '@umijs/bundler-utils': 4.3.24 - '@umijs/bundler-webpack': 4.3.24(type-fest@0.21.3)(typescript@5.3.3)(webpack@5.95.0) - '@umijs/case-sensitive-paths-webpack-plugin': 1.0.1 - '@umijs/core': 4.3.24 - '@umijs/utils': 4.3.24 - '@vercel/ncc': 0.33.3 - babel-plugin-dynamic-import-node: 2.3.3 - babel-plugin-module-resolver: 4.1.0 - babel-plugin-styled-components: 2.1.4(@babel/core@7.25.2)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - babel-plugin-transform-define: 2.0.1 - enhanced-resolve: 5.9.3 - esbuild: 0.17.19 - fast-glob: 3.2.12 - file-system-cache: 2.0.0 - loader-runner: 4.2.0 - minimatch: 3.1.2 - piscina: 4.7.0 - tsconfig-paths: 4.0.0 - typescript: 5.3.3 - typescript-transform-paths: 3.4.6(typescript@5.3.3) - v8-compile-cache: 2.3.0 - transitivePeerDependencies: - - '@babel/core' - - '@types/node' - - '@types/webpack' - - sockjs-client - - styled-components - - supports-color - - type-fest - - webpack - - webpack-dev-server - - webpack-hot-middleware - - webpack-plugin-serve - fault@2.0.1: dependencies: format: 0.2.2 @@ -19132,23 +18925,6 @@ snapshots: typescript: 5.3.3 webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)) - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.3.3)(webpack@5.95.0): - dependencies: - '@babel/code-frame': 7.24.7 - chalk: 4.1.2 - chokidar: 3.6.0 - cosmiconfig: 7.1.0 - deepmerge: 4.3.1 - fs-extra: 10.1.0 - memfs: 3.5.3 - minimatch: 3.1.2 - node-abort-controller: 3.1.1 - schema-utils: 3.3.0 - semver: 7.6.3 - tapable: 2.2.1 - typescript: 5.3.3 - webpack: 5.95.0 - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): dependencies: '@babel/code-frame': 7.24.7 @@ -19399,6 +19175,8 @@ snapshots: globjoin@0.1.4: {} + globrex@0.1.2: {} + gopd@1.0.1: dependencies: get-intrinsic: 1.2.4 @@ -20276,7 +20054,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3(babel-plugin-macros@3.1.0) @@ -20296,16 +20074,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)): + jest-cli@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + create-jest: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + jest-config: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -20315,7 +20093,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)): + jest-config@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)): dependencies: '@babel/core': 7.25.2 '@jest/test-sequencer': 29.7.0 @@ -20340,8 +20118,8 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.7.3 - ts-node: 10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2) + '@types/node': 22.9.3 + ts-node: 10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -20371,7 +20149,7 @@ snapshots: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 22.7.3 + '@types/node': 22.9.3 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -20385,7 +20163,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -20395,7 +20173,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 22.7.3 + '@types/node': 22.9.3 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -20441,7 +20219,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 jest-util: 29.7.0 jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): @@ -20476,7 +20254,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -20504,7 +20282,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 chalk: 4.1.2 cjs-module-lexer: 1.4.1 collect-v8-coverage: 1.0.2 @@ -20552,7 +20330,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -20571,7 +20349,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.3 + '@types/node': 22.9.3 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -20580,30 +20358,30 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 merge-stream: 2.0.0 supports-color: 8.1.1 jest-worker@29.4.3: dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 jest-worker@29.7.0: dependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)): + jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + jest-cli: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -20716,8 +20494,6 @@ snapshots: json5@2.2.3: {} - jsonc-parser@3.3.1: {} - jsonfile@3.0.1: optionalDependencies: graceful-fs: 4.2.11 @@ -23326,19 +23102,6 @@ snapshots: history: 5.3.0 react: 18.3.1 - react-shallow-renderer@16.15.0(react@18.3.1): - dependencies: - object-assign: 4.1.1 - react: 18.3.1 - react-is: 18.3.1 - - react-test-renderer@18.3.1(react@18.3.1): - dependencies: - react: 18.3.1 - react-is: 18.3.1 - react-shallow-renderer: 16.15.0(react@18.3.1) - scheduler: 0.23.2 - react-universal-interface@0.6.2(react@18.3.1)(tslib@2.7.0): dependencies: react: 18.3.1 @@ -24474,15 +24237,6 @@ snapshots: optionalDependencies: '@swc/core': 1.9.3(@swc/helpers@0.5.1) - terser-webpack-plugin@5.3.10(webpack@5.95.0): - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - jest-worker: 27.5.1 - schema-utils: 3.3.0 - serialize-javascript: 6.0.2 - terser: 5.34.0 - webpack: 5.95.0 - terser@5.34.0: dependencies: '@jridgewell/source-map': 0.3.6 @@ -24603,12 +24357,12 @@ snapshots: dependencies: tslib: 2.7.0 - ts-jest@29.2.5(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(typescript@5.6.2): + ts-jest@29.2.5(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(typescript@5.6.2): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)) + jest: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -24622,14 +24376,14 @@ snapshots: '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@7.25.2) - ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2): + ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.7.3 + '@types/node': 22.9.3 acorn: 8.12.1 acorn-walk: 8.3.4 arg: 4.1.3 @@ -24641,9 +24395,14 @@ snapshots: yn: 3.1.1 optionalDependencies: '@swc/core': 1.9.3(@swc/helpers@0.5.1) + optional: true ts-toolbelt@9.6.0: {} + tsconfck@3.1.4(typescript@5.6.2): + optionalDependencies: + typescript: 5.6.2 + tsconfig-paths@4.0.0: dependencies: json5: 2.2.3 @@ -24739,14 +24498,14 @@ snapshots: typescript@5.6.2: {} - umi@4.3.24(@babel/core@7.25.2)(@types/node@22.7.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(sass@1.79.3)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): + umi@4.3.24(@babel/core@7.25.2)(@types/node@22.9.3)(@types/react@18.3.9)(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(lightningcss@1.22.1)(prettier@3.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(sass@1.79.3)(stylelint@14.16.1)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): dependencies: '@babel/runtime': 7.23.6 '@umijs/bundler-utils': 4.3.24 '@umijs/bundler-webpack': 4.3.24(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) '@umijs/core': 4.3.24 - '@umijs/lint': 4.3.24(eslint@8.57.1)(jest@29.7.0(@types/node@22.7.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.7.3)(typescript@5.6.2)))(stylelint@14.16.1)(typescript@5.6.2) - '@umijs/preset-umi': 4.3.24(@types/node@22.7.3)(@types/react@18.3.9)(lightningcss@1.22.1)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + '@umijs/lint': 4.3.24(eslint@8.57.1)(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(stylelint@14.16.1)(typescript@5.6.2) + '@umijs/preset-umi': 4.3.24(@types/node@22.9.3)(@types/react@18.3.9)(lightningcss@1.22.1)(rollup@3.29.5)(sass@1.79.3)(terser@5.34.0)(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) '@umijs/renderer-react': 4.3.24(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@umijs/server': 4.3.24 '@umijs/test': 4.3.24(@babel/core@7.25.2) @@ -24986,7 +24745,8 @@ snapshots: kleur: 4.1.5 sade: 1.8.1 - v8-compile-cache-lib@3.0.1: {} + v8-compile-cache-lib@3.0.1: + optional: true v8-compile-cache@2.3.0: {} @@ -25035,13 +24795,13 @@ snapshots: unist-util-stringify-position: 3.0.3 vfile-message: 3.1.4 - vite-node@2.1.5(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): + vite-node@2.1.5(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): dependencies: cac: 6.7.14 debug: 4.3.7 es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vite: 5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) transitivePeerDependencies: - '@types/node' - less @@ -25053,36 +24813,47 @@ snapshots: - supports-color - terser - vite@4.5.2(@types/node@22.7.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): + vite-tsconfig-paths@5.1.3(typescript@5.6.2)(vite@5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)): + dependencies: + debug: 4.3.7 + globrex: 0.1.2 + tsconfck: 3.1.4(typescript@5.6.2) + optionalDependencies: + vite: 5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + transitivePeerDependencies: + - supports-color + - typescript + + vite@4.5.2(@types/node@22.9.3)(less@4.1.3)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): dependencies: esbuild: 0.18.20 postcss: 8.4.47 rollup: 3.29.5 optionalDependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 fsevents: 2.3.3 less: 4.1.3 lightningcss: 1.22.1 sass: 1.79.3 terser: 5.34.0 - vite@5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): + vite@5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.22.4 optionalDependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 fsevents: 2.3.3 less: 4.2.0 lightningcss: 1.22.1 sass: 1.79.3 terser: 5.34.0 - vitest@2.1.5(@types/node@22.7.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): + vitest@2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): dependencies: '@vitest/expect': 2.1.5 - '@vitest/mocker': 2.1.5(vite@5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) + '@vitest/mocker': 2.1.5(vite@5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) '@vitest/pretty-format': 2.1.5 '@vitest/runner': 2.1.5 '@vitest/snapshot': 2.1.5 @@ -25098,11 +24869,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.2 tinyrainbow: 1.2.0 - vite: 5.4.8(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) - vite-node: 2.1.5(@types/node@22.7.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vite: 5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vite-node: 2.1.5(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.7.3 + '@types/node': 22.9.3 happy-dom: 15.11.6 jsdom: 23.2.0 transitivePeerDependencies: @@ -25156,36 +24927,6 @@ snapshots: webpack-sources@3.2.3: {} - webpack@5.95.0: - dependencies: - '@types/estree': 1.0.6 - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/wasm-edit': 1.12.1 - '@webassemblyjs/wasm-parser': 1.12.1 - acorn: 8.12.1 - acorn-import-attributes: 1.9.5(acorn@8.12.1) - browserslist: 4.24.0 - chrome-trace-event: 1.0.4 - enhanced-resolve: 5.17.1 - es-module-lexer: 1.5.4 - eslint-scope: 5.1.1 - events: 3.3.0 - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.0 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 3.3.0 - tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(webpack@5.95.0) - watchpack: 2.4.2 - webpack-sources: 3.2.3 - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)): dependencies: '@types/estree': 1.0.6 @@ -25398,7 +25139,8 @@ snapshots: y18n: 5.0.8 yargs-parser: 21.1.1 - yn@3.1.1: {} + yn@3.1.1: + optional: true yocto-queue@0.1.0: {} diff --git a/tsconfig.json b/tsconfig.json index 74f1a2df..cb17378b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.base.json", - "include": ["./packages/", "packages/bridge/vitest.setup.ts/vitest.setup.ts"] + "include": ["./packages/"] } From 4ce2c56215fdc8da7c59cc5316907dad718d9f77 Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Mon, 25 Nov 2024 12:22:52 +0000 Subject: [PATCH 07/25] chore: coverage update --- .../bridge/coverage/coverage-summary.json | 11 +------ packages/bridge/jest-report.xml | 32 +++++++++---------- packages/react/coverage/coverage-summary.json | 7 ++-- packages/react/jest-report.xml | 30 ++++++++--------- 4 files changed, 37 insertions(+), 43 deletions(-) diff --git a/packages/bridge/coverage/coverage-summary.json b/packages/bridge/coverage/coverage-summary.json index 26c571ed..65433b78 100644 --- a/packages/bridge/coverage/coverage-summary.json +++ b/packages/bridge/coverage/coverage-summary.json @@ -1,11 +1,2 @@ -{"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/bridge.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/bridge.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":57}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":31}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":32}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":14}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":36}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":51}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":54}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":54}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":49}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":48}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":90}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":38}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":33}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":14}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":29}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":69}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":5}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":48}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":36}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":28}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":35}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":34}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":33}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":35}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":34}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":22}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":41}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":47}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":31}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":40}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":73}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":6}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":22}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":3}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":20}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":41}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":3}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":22}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":9}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":50}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":83}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":34}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":34}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":90}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":34}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":14}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":16}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":31}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":99}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":7}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":17}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":23}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":5}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":3}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":20}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":49}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":3}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":47}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":45}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":35}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":33}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":50}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":25}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":34}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":74}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":52}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":14}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":30}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":7}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":7}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":4}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":60}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":30}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":13}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":5}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":31}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":49}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":35}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":26}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":32}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":30}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":4}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":67}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":45}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":36}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":34}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":43}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":63}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":13}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":32}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":54}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":60}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":20}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":44}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":13}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":18}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":46}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":38}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":11}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":21}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":25}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":36}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":9}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":8}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":24}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":7}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":4}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":71}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":8}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":48}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":65}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":7}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":16}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":5}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":74}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":19}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":4}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":86}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":8}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":53}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":70}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":7}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":19}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":5}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":79}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":19}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":4}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":39}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":16}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":11}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":22}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":6}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":9}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":91}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":87}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":18}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":79}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":26}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":8}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":13}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":5}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":9}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":24}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":44}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":56}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":48}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":20}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":57}},"204":{"start":{"line":205,"column":0},"end":{"line":205,"column":48}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":19}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":21}},"207":{"start":{"line":208,"column":0},"end":{"line":208,"column":32}},"208":{"start":{"line":209,"column":0},"end":{"line":209,"column":14}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":13}},"210":{"start":{"line":211,"column":0},"end":{"line":211,"column":22}},"211":{"start":{"line":212,"column":0},"end":{"line":212,"column":80}},"212":{"start":{"line":213,"column":0},"end":{"line":213,"column":15}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":20}},"214":{"start":{"line":215,"column":0},"end":{"line":215,"column":12}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":11}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":8}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":21}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":91}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":5}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":4}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":79}},"223":{"start":{"line":224,"column":0},"end":{"line":224,"column":8}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":43}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":60}},"226":{"start":{"line":227,"column":0},"end":{"line":227,"column":7}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":23}},"228":{"start":{"line":229,"column":0},"end":{"line":229,"column":5}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":91}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":70}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":81}},"232":{"start":{"line":233,"column":0},"end":{"line":233,"column":49}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":67}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":35}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":83}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":54}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":11}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":21}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":19}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":28}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":43}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":14}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":11}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":16}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":51}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":59}},"250":{"start":{"line":251,"column":0},"end":{"line":251,"column":22}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":74}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":49}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":53}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":22}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":65}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":44}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":25}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":9}},"260":{"start":{"line":261,"column":0},"end":{"line":261,"column":48}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":20}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":46}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":20}},"264":{"start":{"line":265,"column":0},"end":{"line":265,"column":64}},"265":{"start":{"line":266,"column":0},"end":{"line":266,"column":61}},"266":{"start":{"line":267,"column":0},"end":{"line":267,"column":10}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":39}},"268":{"start":{"line":269,"column":0},"end":{"line":269,"column":43}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":45}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":71}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":41}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":13}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":16}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":43}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":34}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":71}},"277":{"start":{"line":278,"column":0},"end":{"line":278,"column":41}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":13}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":9}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":7}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":21}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":12}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":64}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":21}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":5}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":4}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":49}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":9}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":37}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":58}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":24}},"295":{"start":{"line":296,"column":0},"end":{"line":296,"column":9}},"296":{"start":{"line":297,"column":0},"end":{"line":297,"column":7}},"297":{"start":{"line":298,"column":0},"end":{"line":298,"column":4}},"299":{"start":{"line":300,"column":0},"end":{"line":300,"column":35}},"300":{"start":{"line":301,"column":0},"end":{"line":301,"column":39}},"301":{"start":{"line":302,"column":0},"end":{"line":302,"column":42}},"302":{"start":{"line":303,"column":0},"end":{"line":303,"column":8}},"303":{"start":{"line":304,"column":0},"end":{"line":304,"column":49}},"304":{"start":{"line":305,"column":0},"end":{"line":305,"column":66}},"305":{"start":{"line":306,"column":0},"end":{"line":306,"column":7}},"306":{"start":{"line":307,"column":0},"end":{"line":307,"column":56}},"307":{"start":{"line":308,"column":0},"end":{"line":308,"column":5}},"308":{"start":{"line":309,"column":0},"end":{"line":309,"column":69}},"309":{"start":{"line":310,"column":0},"end":{"line":310,"column":14}},"310":{"start":{"line":311,"column":0},"end":{"line":311,"column":4}},"312":{"start":{"line":313,"column":0},"end":{"line":313,"column":79}},"313":{"start":{"line":314,"column":0},"end":{"line":314,"column":8}},"314":{"start":{"line":315,"column":0},"end":{"line":315,"column":43}},"315":{"start":{"line":316,"column":0},"end":{"line":316,"column":60}},"316":{"start":{"line":317,"column":0},"end":{"line":317,"column":7}},"317":{"start":{"line":318,"column":0},"end":{"line":318,"column":23}},"318":{"start":{"line":319,"column":0},"end":{"line":319,"column":5}},"319":{"start":{"line":320,"column":0},"end":{"line":320,"column":62}},"320":{"start":{"line":321,"column":0},"end":{"line":321,"column":19}},"321":{"start":{"line":322,"column":0},"end":{"line":322,"column":4}},"323":{"start":{"line":324,"column":0},"end":{"line":324,"column":24}},"324":{"start":{"line":325,"column":0},"end":{"line":325,"column":29}},"330":{"start":{"line":331,"column":0},"end":{"line":331,"column":16}},"331":{"start":{"line":332,"column":0},"end":{"line":332,"column":99}},"332":{"start":{"line":333,"column":0},"end":{"line":333,"column":18}},"333":{"start":{"line":334,"column":0},"end":{"line":334,"column":5}},"334":{"start":{"line":335,"column":0},"end":{"line":335,"column":9}},"335":{"start":{"line":336,"column":0},"end":{"line":336,"column":63}},"336":{"start":{"line":337,"column":0},"end":{"line":337,"column":16}},"337":{"start":{"line":338,"column":0},"end":{"line":338,"column":17}},"338":{"start":{"line":339,"column":0},"end":{"line":339,"column":22}},"339":{"start":{"line":340,"column":0},"end":{"line":340,"column":18}},"340":{"start":{"line":341,"column":0},"end":{"line":341,"column":5}},"341":{"start":{"line":342,"column":0},"end":{"line":342,"column":4}},"343":{"start":{"line":344,"column":0},"end":{"line":344,"column":53}},"344":{"start":{"line":345,"column":0},"end":{"line":345,"column":40}},"345":{"start":{"line":346,"column":0},"end":{"line":346,"column":53}},"346":{"start":{"line":347,"column":0},"end":{"line":347,"column":32}},"347":{"start":{"line":348,"column":0},"end":{"line":348,"column":4}},"349":{"start":{"line":350,"column":0},"end":{"line":350,"column":50}},"350":{"start":{"line":351,"column":0},"end":{"line":351,"column":38}},"351":{"start":{"line":352,"column":0},"end":{"line":352,"column":38}},"352":{"start":{"line":353,"column":0},"end":{"line":353,"column":28}},"353":{"start":{"line":354,"column":0},"end":{"line":354,"column":32}},"354":{"start":{"line":355,"column":0},"end":{"line":355,"column":32}},"355":{"start":{"line":356,"column":0},"end":{"line":356,"column":32}},"356":{"start":{"line":357,"column":0},"end":{"line":357,"column":32}},"357":{"start":{"line":358,"column":0},"end":{"line":358,"column":58}},"358":{"start":{"line":359,"column":0},"end":{"line":359,"column":4}},"360":{"start":{"line":361,"column":0},"end":{"line":361,"column":25}},"361":{"start":{"line":362,"column":0},"end":{"line":362,"column":48}},"362":{"start":{"line":363,"column":0},"end":{"line":363,"column":13}},"363":{"start":{"line":364,"column":0},"end":{"line":364,"column":5}},"364":{"start":{"line":365,"column":0},"end":{"line":365,"column":25}},"365":{"start":{"line":366,"column":0},"end":{"line":366,"column":31}},"366":{"start":{"line":367,"column":0},"end":{"line":367,"column":4}},"368":{"start":{"line":369,"column":0},"end":{"line":369,"column":34}},"369":{"start":{"line":370,"column":0},"end":{"line":370,"column":27}},"370":{"start":{"line":371,"column":0},"end":{"line":371,"column":13}},"371":{"start":{"line":372,"column":0},"end":{"line":372,"column":5}},"372":{"start":{"line":373,"column":0},"end":{"line":373,"column":63}},"373":{"start":{"line":374,"column":0},"end":{"line":374,"column":46}},"374":{"start":{"line":375,"column":0},"end":{"line":375,"column":42}},"375":{"start":{"line":376,"column":0},"end":{"line":376,"column":44}},"376":{"start":{"line":377,"column":0},"end":{"line":377,"column":46}},"377":{"start":{"line":378,"column":0},"end":{"line":378,"column":9}},"378":{"start":{"line":379,"column":0},"end":{"line":379,"column":15}},"379":{"start":{"line":380,"column":0},"end":{"line":380,"column":48}},"380":{"start":{"line":381,"column":0},"end":{"line":381,"column":52}},"381":{"start":{"line":382,"column":0},"end":{"line":382,"column":8}},"382":{"start":{"line":383,"column":0},"end":{"line":383,"column":5}},"383":{"start":{"line":384,"column":0},"end":{"line":384,"column":4}},"385":{"start":{"line":386,"column":0},"end":{"line":386,"column":50}},"386":{"start":{"line":387,"column":0},"end":{"line":387,"column":58}},"387":{"start":{"line":388,"column":0},"end":{"line":388,"column":35}},"388":{"start":{"line":389,"column":0},"end":{"line":389,"column":29}},"389":{"start":{"line":390,"column":0},"end":{"line":390,"column":30}},"390":{"start":{"line":391,"column":0},"end":{"line":391,"column":5}},"391":{"start":{"line":392,"column":0},"end":{"line":392,"column":24}},"392":{"start":{"line":393,"column":0},"end":{"line":393,"column":29}},"393":{"start":{"line":394,"column":0},"end":{"line":394,"column":27}},"394":{"start":{"line":395,"column":0},"end":{"line":395,"column":32}},"395":{"start":{"line":396,"column":0},"end":{"line":396,"column":32}},"396":{"start":{"line":397,"column":0},"end":{"line":397,"column":33}},"397":{"start":{"line":398,"column":0},"end":{"line":398,"column":4}},"399":{"start":{"line":400,"column":0},"end":{"line":400,"column":69}},"400":{"start":{"line":401,"column":0},"end":{"line":401,"column":44}},"401":{"start":{"line":402,"column":0},"end":{"line":402,"column":4}},"403":{"start":{"line":404,"column":0},"end":{"line":404,"column":22}},"404":{"start":{"line":405,"column":0},"end":{"line":405,"column":49}},"405":{"start":{"line":406,"column":0},"end":{"line":406,"column":29}},"406":{"start":{"line":407,"column":0},"end":{"line":407,"column":13}},"407":{"start":{"line":408,"column":0},"end":{"line":408,"column":5}},"408":{"start":{"line":409,"column":0},"end":{"line":409,"column":56}},"409":{"start":{"line":410,"column":0},"end":{"line":410,"column":64}},"410":{"start":{"line":411,"column":0},"end":{"line":411,"column":7}},"411":{"start":{"line":412,"column":0},"end":{"line":412,"column":4}},"413":{"start":{"line":414,"column":0},"end":{"line":414,"column":24}},"414":{"start":{"line":415,"column":0},"end":{"line":415,"column":51}},"415":{"start":{"line":416,"column":0},"end":{"line":416,"column":29}},"416":{"start":{"line":417,"column":0},"end":{"line":417,"column":13}},"417":{"start":{"line":418,"column":0},"end":{"line":418,"column":5}},"418":{"start":{"line":419,"column":0},"end":{"line":419,"column":56}},"419":{"start":{"line":420,"column":0},"end":{"line":420,"column":65}},"420":{"start":{"line":421,"column":0},"end":{"line":421,"column":7}},"421":{"start":{"line":422,"column":0},"end":{"line":422,"column":4}},"423":{"start":{"line":424,"column":0},"end":{"line":424,"column":16}},"425":{"start":{"line":426,"column":0},"end":{"line":426,"column":21}},"427":{"start":{"line":428,"column":0},"end":{"line":428,"column":22}},"429":{"start":{"line":430,"column":0},"end":{"line":430,"column":23}},"431":{"start":{"line":432,"column":0},"end":{"line":432,"column":24}},"433":{"start":{"line":434,"column":0},"end":{"line":434,"column":20}},"435":{"start":{"line":436,"column":0},"end":{"line":436,"column":21}},"437":{"start":{"line":438,"column":0},"end":{"line":438,"column":29}},"439":{"start":{"line":440,"column":0},"end":{"line":440,"column":30}},"441":{"start":{"line":442,"column":0},"end":{"line":442,"column":23}},"443":{"start":{"line":444,"column":0},"end":{"line":444,"column":49}},"444":{"start":{"line":445,"column":0},"end":{"line":445,"column":9}},"445":{"start":{"line":446,"column":0},"end":{"line":446,"column":30}},"446":{"start":{"line":447,"column":0},"end":{"line":447,"column":74}},"447":{"start":{"line":448,"column":0},"end":{"line":448,"column":24}},"448":{"start":{"line":449,"column":0},"end":{"line":449,"column":59}},"449":{"start":{"line":450,"column":0},"end":{"line":450,"column":37}},"450":{"start":{"line":451,"column":0},"end":{"line":451,"column":17}},"451":{"start":{"line":452,"column":0},"end":{"line":452,"column":46}},"452":{"start":{"line":453,"column":0},"end":{"line":453,"column":15}},"453":{"start":{"line":454,"column":0},"end":{"line":454,"column":37}},"454":{"start":{"line":455,"column":0},"end":{"line":455,"column":31}},"455":{"start":{"line":456,"column":0},"end":{"line":456,"column":7}},"456":{"start":{"line":457,"column":0},"end":{"line":457,"column":31}},"457":{"start":{"line":458,"column":0},"end":{"line":458,"column":5}},"458":{"start":{"line":459,"column":0},"end":{"line":459,"column":4}},"460":{"start":{"line":461,"column":0},"end":{"line":461,"column":84}},"461":{"start":{"line":462,"column":0},"end":{"line":462,"column":9}},"462":{"start":{"line":463,"column":0},"end":{"line":463,"column":29}},"463":{"start":{"line":464,"column":0},"end":{"line":464,"column":30}},"464":{"start":{"line":465,"column":0},"end":{"line":465,"column":81}},"465":{"start":{"line":466,"column":0},"end":{"line":466,"column":10}},"466":{"start":{"line":467,"column":0},"end":{"line":467,"column":52}},"467":{"start":{"line":468,"column":0},"end":{"line":468,"column":69}},"468":{"start":{"line":469,"column":0},"end":{"line":469,"column":9}},"469":{"start":{"line":470,"column":0},"end":{"line":470,"column":15}},"470":{"start":{"line":471,"column":0},"end":{"line":471,"column":7}},"471":{"start":{"line":472,"column":0},"end":{"line":472,"column":24}},"472":{"start":{"line":473,"column":0},"end":{"line":473,"column":90}},"473":{"start":{"line":474,"column":0},"end":{"line":474,"column":37}},"474":{"start":{"line":475,"column":0},"end":{"line":475,"column":21}},"475":{"start":{"line":476,"column":0},"end":{"line":476,"column":59}},"476":{"start":{"line":477,"column":0},"end":{"line":477,"column":15}},"477":{"start":{"line":478,"column":0},"end":{"line":478,"column":31}},"478":{"start":{"line":479,"column":0},"end":{"line":479,"column":5}},"479":{"start":{"line":480,"column":0},"end":{"line":480,"column":4}},"481":{"start":{"line":482,"column":0},"end":{"line":482,"column":86}},"482":{"start":{"line":483,"column":0},"end":{"line":483,"column":9}},"483":{"start":{"line":484,"column":0},"end":{"line":484,"column":10}},"484":{"start":{"line":485,"column":0},"end":{"line":485,"column":46}},"485":{"start":{"line":486,"column":0},"end":{"line":486,"column":63}},"486":{"start":{"line":487,"column":0},"end":{"line":487,"column":9}},"487":{"start":{"line":488,"column":0},"end":{"line":488,"column":15}},"488":{"start":{"line":489,"column":0},"end":{"line":489,"column":7}},"489":{"start":{"line":490,"column":0},"end":{"line":490,"column":55}},"490":{"start":{"line":491,"column":0},"end":{"line":491,"column":21}},"491":{"start":{"line":492,"column":0},"end":{"line":492,"column":75}},"492":{"start":{"line":493,"column":0},"end":{"line":493,"column":5}},"493":{"start":{"line":494,"column":0},"end":{"line":494,"column":4}},"498":{"start":{"line":499,"column":0},"end":{"line":499,"column":50}},"499":{"start":{"line":500,"column":0},"end":{"line":500,"column":56}},"501":{"start":{"line":502,"column":0},"end":{"line":502,"column":76}},"502":{"start":{"line":503,"column":0},"end":{"line":503,"column":9}},"503":{"start":{"line":504,"column":0},"end":{"line":504,"column":29}},"504":{"start":{"line":505,"column":0},"end":{"line":505,"column":30}},"505":{"start":{"line":506,"column":0},"end":{"line":506,"column":81}},"506":{"start":{"line":507,"column":0},"end":{"line":507,"column":24}},"507":{"start":{"line":508,"column":0},"end":{"line":508,"column":71}},"508":{"start":{"line":509,"column":0},"end":{"line":509,"column":37}},"509":{"start":{"line":510,"column":0},"end":{"line":510,"column":21}},"510":{"start":{"line":511,"column":0},"end":{"line":511,"column":64}},"511":{"start":{"line":512,"column":0},"end":{"line":512,"column":15}},"512":{"start":{"line":513,"column":0},"end":{"line":513,"column":31}},"513":{"start":{"line":514,"column":0},"end":{"line":514,"column":5}},"514":{"start":{"line":515,"column":0},"end":{"line":515,"column":4}},"516":{"start":{"line":517,"column":0},"end":{"line":517,"column":68}},"517":{"start":{"line":518,"column":0},"end":{"line":518,"column":9}},"518":{"start":{"line":519,"column":0},"end":{"line":519,"column":24}},"519":{"start":{"line":520,"column":0},"end":{"line":520,"column":32}},"520":{"start":{"line":521,"column":0},"end":{"line":521,"column":12}},"521":{"start":{"line":522,"column":0},"end":{"line":522,"column":93}},"522":{"start":{"line":523,"column":0},"end":{"line":523,"column":15}},"523":{"start":{"line":524,"column":0},"end":{"line":524,"column":7}},"524":{"start":{"line":525,"column":0},"end":{"line":525,"column":64}},"525":{"start":{"line":526,"column":0},"end":{"line":526,"column":68}},"526":{"start":{"line":527,"column":0},"end":{"line":527,"column":23}},"527":{"start":{"line":528,"column":0},"end":{"line":528,"column":31}},"528":{"start":{"line":529,"column":0},"end":{"line":529,"column":36}},"529":{"start":{"line":530,"column":0},"end":{"line":530,"column":36}},"530":{"start":{"line":531,"column":0},"end":{"line":531,"column":7}},"532":{"start":{"line":533,"column":0},"end":{"line":533,"column":24}},"533":{"start":{"line":534,"column":0},"end":{"line":534,"column":21}},"534":{"start":{"line":535,"column":0},"end":{"line":535,"column":53}},"535":{"start":{"line":536,"column":0},"end":{"line":536,"column":13}},"536":{"start":{"line":537,"column":0},"end":{"line":537,"column":15}},"537":{"start":{"line":538,"column":0},"end":{"line":538,"column":31}},"538":{"start":{"line":539,"column":0},"end":{"line":539,"column":5}},"539":{"start":{"line":540,"column":0},"end":{"line":540,"column":4}},"541":{"start":{"line":542,"column":0},"end":{"line":542,"column":16}},"542":{"start":{"line":543,"column":0},"end":{"line":543,"column":83}},"543":{"start":{"line":544,"column":0},"end":{"line":544,"column":13}},"544":{"start":{"line":545,"column":0},"end":{"line":545,"column":5}},"545":{"start":{"line":546,"column":0},"end":{"line":546,"column":27}},"546":{"start":{"line":547,"column":0},"end":{"line":547,"column":13}},"547":{"start":{"line":548,"column":0},"end":{"line":548,"column":5}},"548":{"start":{"line":549,"column":0},"end":{"line":549,"column":30}},"549":{"start":{"line":550,"column":0},"end":{"line":550,"column":31}},"550":{"start":{"line":551,"column":0},"end":{"line":551,"column":4}},"551":{"start":{"line":552,"column":0},"end":{"line":552,"column":1}}},"s":{"0":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"76":0,"77":0,"78":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"93":0,"94":0,"95":0,"96":0,"97":0,"99":0,"100":0,"101":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"130":0,"131":0,"132":0,"133":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"179":0,"180":0,"181":0,"182":0,"183":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"208":0,"209":0,"210":0,"211":0,"212":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":0,"235":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"247":0,"249":0,"250":0,"251":0,"252":0,"253":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"277":0,"278":0,"279":0,"280":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"289":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"299":0,"300":0,"301":0,"302":0,"303":0,"304":0,"305":0,"306":0,"307":0,"308":0,"309":0,"310":0,"312":0,"313":0,"314":0,"315":0,"316":0,"317":0,"318":0,"319":0,"320":0,"321":0,"323":0,"324":0,"330":0,"331":0,"332":0,"333":0,"334":0,"335":0,"336":0,"337":0,"338":0,"339":0,"340":0,"341":0,"343":0,"344":0,"345":0,"346":0,"347":0,"349":0,"350":0,"351":0,"352":0,"353":0,"354":0,"355":0,"356":0,"357":0,"358":0,"360":0,"361":0,"362":0,"363":0,"364":0,"365":0,"366":0,"368":0,"369":0,"370":0,"371":0,"372":0,"373":0,"374":0,"375":0,"376":0,"377":0,"378":0,"379":0,"380":0,"381":0,"382":0,"383":0,"385":0,"386":0,"387":0,"388":0,"389":0,"390":0,"391":0,"392":0,"393":0,"394":0,"395":0,"396":0,"397":0,"399":0,"400":0,"401":0,"403":0,"404":0,"405":0,"406":0,"407":0,"408":0,"409":0,"410":0,"411":0,"413":0,"414":0,"415":0,"416":0,"417":0,"418":0,"419":0,"420":0,"421":0,"423":0,"425":0,"427":0,"429":0,"431":0,"433":0,"435":0,"437":0,"439":0,"441":0,"443":0,"444":0,"445":0,"446":0,"447":0,"448":0,"449":0,"450":0,"451":0,"452":0,"453":0,"454":0,"455":0,"456":0,"457":0,"458":0,"460":0,"461":0,"462":0,"463":0,"464":0,"465":0,"466":0,"467":0,"468":0,"469":0,"470":0,"471":0,"472":0,"473":0,"474":0,"475":0,"476":0,"477":0,"478":0,"479":0,"481":0,"482":0,"483":0,"484":0,"485":0,"486":0,"487":0,"488":0,"489":0,"490":0,"491":0,"492":0,"493":0,"498":0,"499":0,"501":0,"502":0,"503":0,"504":0,"505":0,"506":0,"507":0,"508":0,"509":0,"510":0,"511":0,"512":0,"513":0,"514":0,"516":0,"517":0,"518":0,"519":0,"520":0,"521":0,"522":0,"523":0,"524":0,"525":0,"526":0,"527":0,"528":0,"529":0,"530":0,"532":0,"533":0,"534":0,"535":0,"536":0,"537":0,"538":0,"539":0,"541":0,"542":0,"543":0,"544":0,"545":0,"546":0,"547":0,"548":0,"549":0,"550":0,"551":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}},"locations":[{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}},"loc":{"start":{"line":1,"column":15906},"end":{"line":554,"column":18}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/index.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/index.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":29}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":90}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":57}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":44}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":29}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":10}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":29}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":10}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":71}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":15}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":78}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":4}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":1}}},"s":{"0":0,"47":0,"48":0,"49":0,"50":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}},"locations":[{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}},"loc":{"start":{"line":1,"column":2245},"end":{"line":66,"column":33}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/mountApp.tsx": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/mountApp.tsx","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":68}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":25}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":25}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":27}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":26}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":3}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":38}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":11}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":3}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":28}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":39}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":73}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":26}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":83}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":3}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":57}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":57}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":44}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":14}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":95}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":95}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":23}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":4}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":49}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":1}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":31}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":25}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":27}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":26}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":28}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":20}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":36}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":12}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":97}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":97}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":18}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":24}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":54}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":20}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":1}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":30}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":38}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":11}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":3}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":70}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":26}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":11}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":3}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":46}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":1}}},"s":{"0":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"47":0,"48":0,"49":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}},"locations":[{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}},"loc":{"start":{"line":1,"column":0},"end":{"line":61,"column":-729}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/store.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/store.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":96}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":30}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":24}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":19}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":37}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":19}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":43}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":24}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":39}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":23}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":15}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":13}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":39}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":40}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":6}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":33}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":35}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":6}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":36}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":39}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":6}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":39}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":40}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":6}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":33}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":48}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":6}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":39}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":40}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":6}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":33}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":30}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":6}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":47}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":48}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":6}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":46}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":47}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":6}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":4}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":3}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":60}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":37}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":39}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":26}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":26}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":55}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":29}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":42}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":56}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":46}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":35}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":32}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":10}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":23}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":42}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":56}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":46}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":35}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":32}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":10}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":8}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":7}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":50}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":3}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":14}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":16}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":18}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":13}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":16}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":18}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":16}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":18}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":24}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":23}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":30}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":52}}},"s":{"0":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"57":0,"58":0,"59":0,"60":0,"61":0,"63":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"98":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}},"locations":[{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}},"loc":{"start":{"line":1,"column":2928},"end":{"line":100,"column":36}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/ui.tsx": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/ui.tsx","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":81}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":45}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":31}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":53}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":57}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":40}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":18}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":58}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":37}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":40}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":25}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":2965}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":2}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":18}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":10}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":741}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":11}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":765}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":11}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":1049}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":34}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":2}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":58}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":54}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":13}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":110}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":60}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":4}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":38}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":22}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":17}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":21}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":25}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":13}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":19}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":2}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":27}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":76}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":94}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":20}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":13}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":4}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":36}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":10}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":10}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":19}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":20}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":50}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":25}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":8}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":13}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":61}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":71}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":16}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":15}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":35}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":18}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":23}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":89}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":19}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":20}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":15}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":16}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":14}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":57}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":55}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":19}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":19}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":58}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":23}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":19}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":14}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":9}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":12}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":2}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":25}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":11}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":17}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":20}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":54}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":30}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":25}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":20}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":20}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":17}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":30}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":16}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":22}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":2}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":22}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":7}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":10}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":15}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":9}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":17}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":26}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":36}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":47}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":56}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":12}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":10}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":25}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":41}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":71}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":33}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":25}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":71}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":26}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":12}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":5}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":27}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":11}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":42}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":13}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":53}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":55}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":63}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":14}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":26}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":22}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":23}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":36}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":17}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":26}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":95}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":13}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":10}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":13}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":10}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":14}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":107}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":36}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":16}},"208":{"start":{"line":209,"column":0},"end":{"line":209,"column":27}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":95}},"211":{"start":{"line":212,"column":0},"end":{"line":212,"column":93}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":11}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":26}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":17}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":22}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":19}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":21}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":38}},"221":{"start":{"line":222,"column":0},"end":{"line":222,"column":35}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":17}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":67}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":12}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":2}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":80}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":56}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":60}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":64}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":47}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":64}},"236":{"start":{"line":237,"column":0},"end":{"line":237,"column":82}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":68}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":97}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":16}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":36}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":28}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":25}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":29}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":21}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":23}},"246":{"start":{"line":247,"column":0},"end":{"line":247,"column":9}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":6}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":97}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":74}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":36}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":9}},"254":{"start":{"line":255,"column":0},"end":{"line":255,"column":30}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":20}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":55}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":38}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":26}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":13}},"260":{"start":{"line":261,"column":0},"end":{"line":261,"column":23}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":17}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":57}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":88}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":43}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":19}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":16}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":67}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":44}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":6}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":49}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":13}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":5}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":38}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":40}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":59}},"281":{"start":{"line":282,"column":0},"end":{"line":282,"column":42}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":59}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":53}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":33}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":8}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":81}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":6}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":99}},"290":{"start":{"line":291,"column":0},"end":{"line":291,"column":25}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":41}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":77}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":39}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":15}},"295":{"start":{"line":296,"column":0},"end":{"line":296,"column":7}},"296":{"start":{"line":297,"column":0},"end":{"line":297,"column":56}},"297":{"start":{"line":298,"column":0},"end":{"line":298,"column":74}},"298":{"start":{"line":299,"column":0},"end":{"line":299,"column":33}},"299":{"start":{"line":300,"column":0},"end":{"line":300,"column":42}},"300":{"start":{"line":301,"column":0},"end":{"line":301,"column":35}},"301":{"start":{"line":302,"column":0},"end":{"line":302,"column":51}},"302":{"start":{"line":303,"column":0},"end":{"line":303,"column":59}},"303":{"start":{"line":304,"column":0},"end":{"line":304,"column":16}},"304":{"start":{"line":305,"column":0},"end":{"line":305,"column":14}},"305":{"start":{"line":306,"column":0},"end":{"line":306,"column":13}},"306":{"start":{"line":307,"column":0},"end":{"line":307,"column":9}},"307":{"start":{"line":308,"column":0},"end":{"line":308,"column":59}},"308":{"start":{"line":309,"column":0},"end":{"line":309,"column":15}},"309":{"start":{"line":310,"column":0},"end":{"line":310,"column":7}},"310":{"start":{"line":311,"column":0},"end":{"line":311,"column":39}},"311":{"start":{"line":312,"column":0},"end":{"line":312,"column":33}},"312":{"start":{"line":313,"column":0},"end":{"line":313,"column":42}},"313":{"start":{"line":314,"column":0},"end":{"line":314,"column":35}},"314":{"start":{"line":315,"column":0},"end":{"line":315,"column":51}},"315":{"start":{"line":316,"column":0},"end":{"line":316,"column":59}},"316":{"start":{"line":317,"column":0},"end":{"line":317,"column":16}},"317":{"start":{"line":318,"column":0},"end":{"line":318,"column":14}},"318":{"start":{"line":319,"column":0},"end":{"line":319,"column":13}},"319":{"start":{"line":320,"column":0},"end":{"line":320,"column":9}},"320":{"start":{"line":321,"column":0},"end":{"line":321,"column":54}},"321":{"start":{"line":322,"column":0},"end":{"line":322,"column":25}},"322":{"start":{"line":323,"column":0},"end":{"line":323,"column":7}},"323":{"start":{"line":324,"column":0},"end":{"line":324,"column":5}},"324":{"start":{"line":325,"column":0},"end":{"line":325,"column":25}},"325":{"start":{"line":326,"column":0},"end":{"line":326,"column":98}},"327":{"start":{"line":328,"column":0},"end":{"line":328,"column":36}},"328":{"start":{"line":329,"column":0},"end":{"line":329,"column":21}},"329":{"start":{"line":330,"column":0},"end":{"line":330,"column":4}},"331":{"start":{"line":332,"column":0},"end":{"line":332,"column":41}},"332":{"start":{"line":333,"column":0},"end":{"line":333,"column":27}},"333":{"start":{"line":334,"column":0},"end":{"line":334,"column":4}},"335":{"start":{"line":336,"column":0},"end":{"line":336,"column":42}},"336":{"start":{"line":337,"column":0},"end":{"line":337,"column":28}},"337":{"start":{"line":338,"column":0},"end":{"line":338,"column":4}},"339":{"start":{"line":340,"column":0},"end":{"line":340,"column":43}},"340":{"start":{"line":341,"column":0},"end":{"line":341,"column":62}},"341":{"start":{"line":342,"column":0},"end":{"line":342,"column":21}},"342":{"start":{"line":343,"column":0},"end":{"line":343,"column":4}},"344":{"start":{"line":345,"column":0},"end":{"line":345,"column":44}},"345":{"start":{"line":346,"column":0},"end":{"line":346,"column":63}},"346":{"start":{"line":347,"column":0},"end":{"line":347,"column":22}},"347":{"start":{"line":348,"column":0},"end":{"line":348,"column":4}},"349":{"start":{"line":350,"column":0},"end":{"line":350,"column":40}},"350":{"start":{"line":351,"column":0},"end":{"line":351,"column":29}},"351":{"start":{"line":352,"column":0},"end":{"line":352,"column":4}},"353":{"start":{"line":354,"column":0},"end":{"line":354,"column":41}},"354":{"start":{"line":355,"column":0},"end":{"line":355,"column":30}},"355":{"start":{"line":356,"column":0},"end":{"line":356,"column":4}},"357":{"start":{"line":358,"column":0},"end":{"line":358,"column":49}},"358":{"start":{"line":359,"column":0},"end":{"line":359,"column":38}},"359":{"start":{"line":360,"column":0},"end":{"line":360,"column":4}},"361":{"start":{"line":362,"column":0},"end":{"line":362,"column":50}},"362":{"start":{"line":363,"column":0},"end":{"line":363,"column":39}},"363":{"start":{"line":364,"column":0},"end":{"line":364,"column":4}},"365":{"start":{"line":366,"column":0},"end":{"line":366,"column":43}},"366":{"start":{"line":367,"column":0},"end":{"line":367,"column":32}},"367":{"start":{"line":368,"column":0},"end":{"line":368,"column":4}},"369":{"start":{"line":370,"column":0},"end":{"line":370,"column":39}},"370":{"start":{"line":371,"column":0},"end":{"line":371,"column":35}},"371":{"start":{"line":372,"column":0},"end":{"line":372,"column":64}},"372":{"start":{"line":373,"column":0},"end":{"line":373,"column":70}},"373":{"start":{"line":374,"column":0},"end":{"line":374,"column":79}},"374":{"start":{"line":375,"column":0},"end":{"line":375,"column":81}},"375":{"start":{"line":376,"column":0},"end":{"line":376,"column":14}},"376":{"start":{"line":377,"column":0},"end":{"line":377,"column":64}},"377":{"start":{"line":378,"column":0},"end":{"line":378,"column":65}},"378":{"start":{"line":379,"column":0},"end":{"line":379,"column":7}},"379":{"start":{"line":380,"column":0},"end":{"line":380,"column":6}},"380":{"start":{"line":381,"column":0},"end":{"line":381,"column":41}},"381":{"start":{"line":382,"column":0},"end":{"line":382,"column":4}},"383":{"start":{"line":384,"column":0},"end":{"line":384,"column":46}},"384":{"start":{"line":385,"column":0},"end":{"line":385,"column":47}},"385":{"start":{"line":386,"column":0},"end":{"line":386,"column":32}},"386":{"start":{"line":387,"column":0},"end":{"line":387,"column":15}},"387":{"start":{"line":388,"column":0},"end":{"line":388,"column":7}},"388":{"start":{"line":389,"column":0},"end":{"line":389,"column":56}},"389":{"start":{"line":390,"column":0},"end":{"line":390,"column":15}},"390":{"start":{"line":391,"column":0},"end":{"line":391,"column":7}},"391":{"start":{"line":392,"column":0},"end":{"line":392,"column":71}},"392":{"start":{"line":393,"column":0},"end":{"line":393,"column":6}},"393":{"start":{"line":394,"column":0},"end":{"line":394,"column":41}},"394":{"start":{"line":395,"column":0},"end":{"line":395,"column":4}},"396":{"start":{"line":397,"column":0},"end":{"line":397,"column":52}},"397":{"start":{"line":398,"column":0},"end":{"line":398,"column":32}},"398":{"start":{"line":399,"column":0},"end":{"line":399,"column":28}},"399":{"start":{"line":400,"column":0},"end":{"line":400,"column":9}},"401":{"start":{"line":402,"column":0},"end":{"line":402,"column":50}},"402":{"start":{"line":403,"column":0},"end":{"line":403,"column":43}},"403":{"start":{"line":404,"column":0},"end":{"line":404,"column":23}},"405":{"start":{"line":406,"column":0},"end":{"line":406,"column":49}},"406":{"start":{"line":407,"column":0},"end":{"line":407,"column":45}},"407":{"start":{"line":408,"column":0},"end":{"line":408,"column":23}},"409":{"start":{"line":410,"column":0},"end":{"line":410,"column":39}},"410":{"start":{"line":411,"column":0},"end":{"line":411,"column":28}},"411":{"start":{"line":412,"column":0},"end":{"line":412,"column":66}},"412":{"start":{"line":413,"column":0},"end":{"line":413,"column":21}},"413":{"start":{"line":414,"column":0},"end":{"line":414,"column":33}},"414":{"start":{"line":415,"column":0},"end":{"line":415,"column":41}},"415":{"start":{"line":416,"column":0},"end":{"line":416,"column":26}},"416":{"start":{"line":417,"column":0},"end":{"line":417,"column":9}},"417":{"start":{"line":418,"column":0},"end":{"line":418,"column":14}},"418":{"start":{"line":419,"column":0},"end":{"line":419,"column":34}},"419":{"start":{"line":420,"column":0},"end":{"line":420,"column":24}},"420":{"start":{"line":421,"column":0},"end":{"line":421,"column":7}},"421":{"start":{"line":422,"column":0},"end":{"line":422,"column":6}},"422":{"start":{"line":423,"column":0},"end":{"line":423,"column":47}},"423":{"start":{"line":424,"column":0},"end":{"line":424,"column":4}},"425":{"start":{"line":426,"column":0},"end":{"line":426,"column":38}},"426":{"start":{"line":427,"column":0},"end":{"line":427,"column":47}},"427":{"start":{"line":428,"column":0},"end":{"line":428,"column":14}},"428":{"start":{"line":429,"column":0},"end":{"line":429,"column":63}},"429":{"start":{"line":430,"column":0},"end":{"line":430,"column":49}},"430":{"start":{"line":431,"column":0},"end":{"line":431,"column":40}},"431":{"start":{"line":432,"column":0},"end":{"line":432,"column":18}},"432":{"start":{"line":433,"column":0},"end":{"line":433,"column":21}},"433":{"start":{"line":434,"column":0},"end":{"line":434,"column":55}},"434":{"start":{"line":435,"column":0},"end":{"line":435,"column":68}},"436":{"start":{"line":437,"column":0},"end":{"line":437,"column":21}},"437":{"start":{"line":438,"column":0},"end":{"line":438,"column":18}},"438":{"start":{"line":439,"column":0},"end":{"line":439,"column":58}},"439":{"start":{"line":440,"column":0},"end":{"line":440,"column":100}},"440":{"start":{"line":441,"column":0},"end":{"line":441,"column":18}},"441":{"start":{"line":442,"column":0},"end":{"line":442,"column":16}},"442":{"start":{"line":443,"column":0},"end":{"line":443,"column":49}},"443":{"start":{"line":444,"column":0},"end":{"line":444,"column":44}},"444":{"start":{"line":445,"column":0},"end":{"line":445,"column":18}},"445":{"start":{"line":446,"column":0},"end":{"line":446,"column":56}},"446":{"start":{"line":447,"column":0},"end":{"line":447,"column":77}},"447":{"start":{"line":448,"column":0},"end":{"line":448,"column":31}},"449":{"start":{"line":450,"column":0},"end":{"line":450,"column":39}},"450":{"start":{"line":451,"column":0},"end":{"line":451,"column":83}},"451":{"start":{"line":452,"column":0},"end":{"line":452,"column":20}},"452":{"start":{"line":453,"column":0},"end":{"line":453,"column":15}},"453":{"start":{"line":454,"column":0},"end":{"line":454,"column":16}},"454":{"start":{"line":455,"column":0},"end":{"line":455,"column":14}},"456":{"start":{"line":457,"column":0},"end":{"line":457,"column":12}},"457":{"start":{"line":458,"column":0},"end":{"line":458,"column":14}},"458":{"start":{"line":459,"column":0},"end":{"line":459,"column":10}},"459":{"start":{"line":460,"column":0},"end":{"line":460,"column":65}},"460":{"start":{"line":461,"column":0},"end":{"line":461,"column":93}},"461":{"start":{"line":462,"column":0},"end":{"line":462,"column":16}},"462":{"start":{"line":463,"column":0},"end":{"line":463,"column":110}},"463":{"start":{"line":464,"column":0},"end":{"line":464,"column":30}},"464":{"start":{"line":465,"column":0},"end":{"line":465,"column":43}},"465":{"start":{"line":466,"column":0},"end":{"line":466,"column":16}},"467":{"start":{"line":468,"column":0},"end":{"line":468,"column":69}},"468":{"start":{"line":469,"column":0},"end":{"line":469,"column":40}},"469":{"start":{"line":470,"column":0},"end":{"line":470,"column":32}},"470":{"start":{"line":471,"column":0},"end":{"line":471,"column":50}},"471":{"start":{"line":472,"column":0},"end":{"line":472,"column":48}},"472":{"start":{"line":473,"column":0},"end":{"line":473,"column":57}},"473":{"start":{"line":474,"column":0},"end":{"line":474,"column":19}},"474":{"start":{"line":475,"column":0},"end":{"line":475,"column":84}},"475":{"start":{"line":476,"column":0},"end":{"line":476,"column":20}},"476":{"start":{"line":477,"column":0},"end":{"line":477,"column":18}},"477":{"start":{"line":478,"column":0},"end":{"line":478,"column":16}},"478":{"start":{"line":479,"column":0},"end":{"line":479,"column":22}},"479":{"start":{"line":480,"column":0},"end":{"line":480,"column":36}},"480":{"start":{"line":481,"column":0},"end":{"line":481,"column":28}},"481":{"start":{"line":482,"column":0},"end":{"line":482,"column":42}},"482":{"start":{"line":483,"column":0},"end":{"line":483,"column":14}},"483":{"start":{"line":484,"column":0},"end":{"line":484,"column":38}},"484":{"start":{"line":485,"column":0},"end":{"line":485,"column":43}},"485":{"start":{"line":486,"column":0},"end":{"line":486,"column":42}},"486":{"start":{"line":487,"column":0},"end":{"line":487,"column":12}},"487":{"start":{"line":488,"column":0},"end":{"line":488,"column":11}},"489":{"start":{"line":490,"column":0},"end":{"line":490,"column":5}},"490":{"start":{"line":491,"column":0},"end":{"line":491,"column":6}},"491":{"start":{"line":492,"column":0},"end":{"line":492,"column":22}},"492":{"start":{"line":493,"column":0},"end":{"line":493,"column":39}},"493":{"start":{"line":494,"column":0},"end":{"line":494,"column":37}},"494":{"start":{"line":495,"column":0},"end":{"line":495,"column":19}},"495":{"start":{"line":496,"column":0},"end":{"line":496,"column":20}},"496":{"start":{"line":497,"column":0},"end":{"line":497,"column":22}},"497":{"start":{"line":498,"column":0},"end":{"line":498,"column":5}},"499":{"start":{"line":500,"column":0},"end":{"line":500,"column":54}},"501":{"start":{"line":502,"column":0},"end":{"line":502,"column":42}},"502":{"start":{"line":503,"column":0},"end":{"line":503,"column":48}},"503":{"start":{"line":504,"column":0},"end":{"line":504,"column":31}},"504":{"start":{"line":505,"column":0},"end":{"line":505,"column":5}},"505":{"start":{"line":506,"column":0},"end":{"line":506,"column":23}},"507":{"start":{"line":508,"column":0},"end":{"line":508,"column":42}},"508":{"start":{"line":509,"column":0},"end":{"line":509,"column":12}},"509":{"start":{"line":510,"column":0},"end":{"line":510,"column":42}},"511":{"start":{"line":512,"column":0},"end":{"line":512,"column":79}},"513":{"start":{"line":514,"column":0},"end":{"line":514,"column":15}},"515":{"start":{"line":516,"column":0},"end":{"line":516,"column":12}},"517":{"start":{"line":518,"column":0},"end":{"line":518,"column":27}},"519":{"start":{"line":520,"column":0},"end":{"line":520,"column":84}},"521":{"start":{"line":522,"column":0},"end":{"line":522,"column":19}},"522":{"start":{"line":523,"column":0},"end":{"line":523,"column":69}},"523":{"start":{"line":524,"column":0},"end":{"line":524,"column":18}},"524":{"start":{"line":525,"column":0},"end":{"line":525,"column":72}},"525":{"start":{"line":526,"column":0},"end":{"line":526,"column":6}},"526":{"start":{"line":527,"column":0},"end":{"line":527,"column":9}},"528":{"start":{"line":529,"column":0},"end":{"line":529,"column":10}},"530":{"start":{"line":531,"column":0},"end":{"line":531,"column":9}},"531":{"start":{"line":532,"column":0},"end":{"line":532,"column":50}},"532":{"start":{"line":533,"column":0},"end":{"line":533,"column":15}},"533":{"start":{"line":534,"column":0},"end":{"line":534,"column":46}},"534":{"start":{"line":535,"column":0},"end":{"line":535,"column":21}},"535":{"start":{"line":536,"column":0},"end":{"line":536,"column":26}},"536":{"start":{"line":537,"column":0},"end":{"line":537,"column":43}},"537":{"start":{"line":538,"column":0},"end":{"line":538,"column":29}},"538":{"start":{"line":539,"column":0},"end":{"line":539,"column":32}},"539":{"start":{"line":540,"column":0},"end":{"line":540,"column":43}},"540":{"start":{"line":541,"column":0},"end":{"line":541,"column":37}},"541":{"start":{"line":542,"column":0},"end":{"line":542,"column":35}},"542":{"start":{"line":543,"column":0},"end":{"line":543,"column":10}},"544":{"start":{"line":545,"column":0},"end":{"line":545,"column":23}},"545":{"start":{"line":546,"column":0},"end":{"line":546,"column":49}},"546":{"start":{"line":547,"column":0},"end":{"line":547,"column":47}},"548":{"start":{"line":549,"column":0},"end":{"line":549,"column":31}},"549":{"start":{"line":550,"column":0},"end":{"line":550,"column":80}},"550":{"start":{"line":551,"column":0},"end":{"line":551,"column":48}},"551":{"start":{"line":552,"column":0},"end":{"line":552,"column":47}},"552":{"start":{"line":553,"column":0},"end":{"line":553,"column":25}},"553":{"start":{"line":554,"column":0},"end":{"line":554,"column":38}},"554":{"start":{"line":555,"column":0},"end":{"line":555,"column":22}},"555":{"start":{"line":556,"column":0},"end":{"line":556,"column":45}},"556":{"start":{"line":557,"column":0},"end":{"line":557,"column":31}},"557":{"start":{"line":558,"column":0},"end":{"line":558,"column":29}},"559":{"start":{"line":560,"column":0},"end":{"line":560,"column":44}},"560":{"start":{"line":561,"column":0},"end":{"line":561,"column":14}},"561":{"start":{"line":562,"column":0},"end":{"line":562,"column":28}},"562":{"start":{"line":563,"column":0},"end":{"line":563,"column":51}},"563":{"start":{"line":564,"column":0},"end":{"line":564,"column":14}},"564":{"start":{"line":565,"column":0},"end":{"line":565,"column":53}},"565":{"start":{"line":566,"column":0},"end":{"line":566,"column":39}},"566":{"start":{"line":567,"column":0},"end":{"line":567,"column":12}},"567":{"start":{"line":568,"column":0},"end":{"line":568,"column":25}},"570":{"start":{"line":571,"column":0},"end":{"line":571,"column":36}},"571":{"start":{"line":572,"column":0},"end":{"line":572,"column":30}},"572":{"start":{"line":573,"column":0},"end":{"line":573,"column":42}},"573":{"start":{"line":574,"column":0},"end":{"line":574,"column":46}},"574":{"start":{"line":575,"column":0},"end":{"line":575,"column":25}},"575":{"start":{"line":576,"column":0},"end":{"line":576,"column":39}},"576":{"start":{"line":577,"column":0},"end":{"line":577,"column":44}},"577":{"start":{"line":578,"column":0},"end":{"line":578,"column":37}},"578":{"start":{"line":579,"column":0},"end":{"line":579,"column":61}},"579":{"start":{"line":580,"column":0},"end":{"line":580,"column":85}},"580":{"start":{"line":581,"column":0},"end":{"line":581,"column":69}},"581":{"start":{"line":582,"column":0},"end":{"line":582,"column":68}},"582":{"start":{"line":583,"column":0},"end":{"line":583,"column":55}},"583":{"start":{"line":584,"column":0},"end":{"line":584,"column":10}},"586":{"start":{"line":587,"column":0},"end":{"line":587,"column":31}},"587":{"start":{"line":588,"column":0},"end":{"line":588,"column":42}},"588":{"start":{"line":589,"column":0},"end":{"line":589,"column":35}},"589":{"start":{"line":590,"column":0},"end":{"line":590,"column":38}},"590":{"start":{"line":591,"column":0},"end":{"line":591,"column":8}},"591":{"start":{"line":592,"column":0},"end":{"line":592,"column":24}},"592":{"start":{"line":593,"column":0},"end":{"line":593,"column":10}},"595":{"start":{"line":596,"column":0},"end":{"line":596,"column":2}},"597":{"start":{"line":598,"column":0},"end":{"line":598,"column":27}}},"s":{"0":0,"8":0,"22":0,"23":0,"25":0,"26":0,"27":0,"28":0,"42":0,"43":0,"44":0,"45":0,"46":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"78":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"94":0,"95":0,"96":0,"97":0,"98":0,"100":0,"101":0,"102":0,"103":0,"104":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"122":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"136":0,"137":0,"140":0,"141":0,"143":0,"144":0,"146":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"172":0,"173":0,"174":0,"175":0,"176":0,"178":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"196":0,"197":0,"199":0,"200":0,"201":0,"202":0,"203":0,"205":0,"206":0,"208":0,"209":0,"211":0,"213":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"224":0,"225":0,"227":0,"229":0,"230":0,"231":0,"233":0,"234":0,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":0,"247":0,"249":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"267":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"278":0,"279":0,"280":0,"281":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"289":0,"290":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"298":0,"299":0,"300":0,"301":0,"302":0,"303":0,"304":0,"305":0,"306":0,"307":0,"308":0,"309":0,"310":0,"311":0,"312":0,"313":0,"314":0,"315":0,"316":0,"317":0,"318":0,"319":0,"320":0,"321":0,"322":0,"323":0,"324":0,"325":0,"327":0,"328":0,"329":0,"331":0,"332":0,"333":0,"335":0,"336":0,"337":0,"339":0,"340":0,"341":0,"342":0,"344":0,"345":0,"346":0,"347":0,"349":0,"350":0,"351":0,"353":0,"354":0,"355":0,"357":0,"358":0,"359":0,"361":0,"362":0,"363":0,"365":0,"366":0,"367":0,"369":0,"370":0,"371":0,"372":0,"373":0,"374":0,"375":0,"376":0,"377":0,"378":0,"379":0,"380":0,"381":0,"383":0,"384":0,"385":0,"386":0,"387":0,"388":0,"389":0,"390":0,"391":0,"392":0,"393":0,"394":0,"396":0,"397":0,"398":0,"399":0,"401":0,"402":0,"403":0,"405":0,"406":0,"407":0,"409":0,"410":0,"411":0,"412":0,"413":0,"414":0,"415":0,"416":0,"417":0,"418":0,"419":0,"420":0,"421":0,"422":0,"423":0,"425":0,"426":0,"427":0,"428":0,"429":0,"430":0,"431":0,"432":0,"433":0,"434":0,"436":0,"437":0,"438":0,"439":0,"440":0,"441":0,"442":0,"443":0,"444":0,"445":0,"446":0,"447":0,"449":0,"450":0,"451":0,"452":0,"453":0,"454":0,"456":0,"457":0,"458":0,"459":0,"460":0,"461":0,"462":0,"463":0,"464":0,"465":0,"467":0,"468":0,"469":0,"470":0,"471":0,"472":0,"473":0,"474":0,"475":0,"476":0,"477":0,"478":0,"479":0,"480":0,"481":0,"482":0,"483":0,"484":0,"485":0,"486":0,"487":0,"489":0,"490":0,"491":0,"492":0,"493":0,"494":0,"495":0,"496":0,"497":0,"499":0,"501":0,"502":0,"503":0,"504":0,"505":0,"507":0,"508":0,"509":0,"511":0,"513":0,"515":0,"517":0,"519":0,"521":0,"522":0,"523":0,"524":0,"525":0,"526":0,"528":0,"530":0,"531":0,"532":0,"533":0,"534":0,"535":0,"536":0,"537":0,"538":0,"539":0,"540":0,"541":0,"542":0,"544":0,"545":0,"546":0,"548":0,"549":0,"550":0,"551":0,"552":0,"553":0,"554":0,"555":0,"556":0,"557":0,"559":0,"560":0,"561":0,"562":0,"563":0,"564":0,"565":0,"566":0,"567":0,"570":0,"571":0,"572":0,"573":0,"574":0,"575":0,"576":0,"577":0,"578":0,"579":0,"580":0,"581":0,"582":0,"583":0,"586":0,"587":0,"588":0,"589":0,"590":0,"591":0,"592":0,"595":0,"597":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}},"locations":[{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}},"loc":{"start":{"line":1,"column":0},"end":{"line":605,"column":-6480}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useLockCallback.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useLockCallback.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":75}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":14}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":23}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":3}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":29}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":48}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":29}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":24}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":9}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":42}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":27}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":17}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":17}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":27}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":14}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":5}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":11}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":1}}},"s":{"0":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"19":0,"20":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":601},"end":{"line":21,"column":1}},"locations":[{"start":{"line":1,"column":601},"end":{"line":21,"column":1}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":601},"end":{"line":21,"column":1}},"loc":{"start":{"line":1,"column":601},"end":{"line":21,"column":1}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useTelegram.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useTelegram.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":8}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":24}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":29}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":18}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":20}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":24}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":21}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":29}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":25}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":20}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":23}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":25}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":43}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":41}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":6}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":72}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":43}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":97}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":41}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":44}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":49}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":9}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":98}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":30}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":13}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":5}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":54}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":13}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":5}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":57}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":69}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":9}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":61}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":8}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":48}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":30}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":13}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":5}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":47}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":57}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":23}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":79}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":18}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":25}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":31}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":34}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":8}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":28}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":71}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":43}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":29}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":62}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":21}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":5}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":4}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":92}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":39}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":44}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":5}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":73}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":44}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":70}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":31}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":70}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":20}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":9}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":40}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":45}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":38}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":47}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":35}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":10}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":8}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":31}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":24}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":27}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":45}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":27}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":47}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":53}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":37}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":10}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":56}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":84}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":14}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":7}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":6}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":77}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":4}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":31}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":47}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":11}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":59}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":26}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":66}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":26}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":70}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":12}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":50}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":51}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":50}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":11}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":27}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":64}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":51}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":62}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":13}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":50}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":24}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":49}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":43}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":21}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":29}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":54}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":29}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":13}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":28}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":30}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":96}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":32}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":13}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":23}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":54}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":42}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":14}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":18}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":12}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":9}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":23}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":26}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":51}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":17}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":11}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":41}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":28}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":12}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":15}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":17}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":33}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":12}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":10}},"204":{"start":{"line":205,"column":0},"end":{"line":205,"column":7}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":6}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":83}},"207":{"start":{"line":208,"column":0},"end":{"line":208,"column":4}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":51}},"210":{"start":{"line":211,"column":0},"end":{"line":211,"column":80}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":44}},"214":{"start":{"line":215,"column":0},"end":{"line":215,"column":50}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":36}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":29}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":41}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":35}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":10}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":7}},"221":{"start":{"line":222,"column":0},"end":{"line":222,"column":57}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":35}},"223":{"start":{"line":224,"column":0},"end":{"line":224,"column":57}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":14}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":56}},"226":{"start":{"line":227,"column":0},"end":{"line":227,"column":32}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":84}},"228":{"start":{"line":229,"column":0},"end":{"line":229,"column":82}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":81}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":61}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":36}},"232":{"start":{"line":233,"column":0},"end":{"line":233,"column":78}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":24}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":25}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":26}},"236":{"start":{"line":237,"column":0},"end":{"line":237,"column":29}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":17}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":52}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":60}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":67}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":47}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":12}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":55}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":58}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":67}},"246":{"start":{"line":247,"column":0},"end":{"line":247,"column":98}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":18}},"248":{"start":{"line":249,"column":0},"end":{"line":249,"column":82}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":11}},"250":{"start":{"line":251,"column":0},"end":{"line":251,"column":16}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":28}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":57}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":95}},"254":{"start":{"line":255,"column":0},"end":{"line":255,"column":22}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":23}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":29}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":16}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":15}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":70}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":41}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":38}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":48}},"264":{"start":{"line":265,"column":0},"end":{"line":265,"column":14}},"265":{"start":{"line":266,"column":0},"end":{"line":266,"column":28}},"266":{"start":{"line":267,"column":0},"end":{"line":267,"column":31}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":49}},"268":{"start":{"line":269,"column":0},"end":{"line":269,"column":60}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":53}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":62}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":72}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":24}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":14}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":57}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":24}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":32}},"277":{"start":{"line":278,"column":0},"end":{"line":278,"column":24}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":55}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":22}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":14}},"281":{"start":{"line":282,"column":0},"end":{"line":282,"column":99}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":67}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":24}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":41}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":46}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":16}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":83}},"288":{"start":{"line":289,"column":0},"end":{"line":289,"column":13}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":98}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":19}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":11}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":32}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":59}},"295":{"start":{"line":296,"column":0},"end":{"line":296,"column":13}},"296":{"start":{"line":297,"column":0},"end":{"line":297,"column":28}},"297":{"start":{"line":298,"column":0},"end":{"line":298,"column":35}},"298":{"start":{"line":299,"column":0},"end":{"line":299,"column":18}},"299":{"start":{"line":300,"column":0},"end":{"line":300,"column":9}},"300":{"start":{"line":301,"column":0},"end":{"line":301,"column":7}},"301":{"start":{"line":302,"column":0},"end":{"line":302,"column":6}},"302":{"start":{"line":303,"column":0},"end":{"line":303,"column":93}},"303":{"start":{"line":304,"column":0},"end":{"line":304,"column":4}},"305":{"start":{"line":306,"column":0},"end":{"line":306,"column":37}},"306":{"start":{"line":307,"column":0},"end":{"line":307,"column":40}},"307":{"start":{"line":308,"column":0},"end":{"line":308,"column":28}},"308":{"start":{"line":309,"column":0},"end":{"line":309,"column":35}},"309":{"start":{"line":310,"column":0},"end":{"line":310,"column":35}},"310":{"start":{"line":311,"column":0},"end":{"line":311,"column":31}},"311":{"start":{"line":312,"column":0},"end":{"line":312,"column":23}},"312":{"start":{"line":313,"column":0},"end":{"line":313,"column":5}},"314":{"start":{"line":315,"column":0},"end":{"line":315,"column":50}},"315":{"start":{"line":316,"column":0},"end":{"line":316,"column":9}},"316":{"start":{"line":317,"column":0},"end":{"line":317,"column":41}},"317":{"start":{"line":318,"column":0},"end":{"line":318,"column":39}},"318":{"start":{"line":319,"column":0},"end":{"line":319,"column":25}},"319":{"start":{"line":320,"column":0},"end":{"line":320,"column":9}},"321":{"start":{"line":322,"column":0},"end":{"line":322,"column":42}},"323":{"start":{"line":324,"column":0},"end":{"line":324,"column":33}},"324":{"start":{"line":325,"column":0},"end":{"line":325,"column":28}},"325":{"start":{"line":326,"column":0},"end":{"line":326,"column":42}},"326":{"start":{"line":327,"column":0},"end":{"line":327,"column":9}},"327":{"start":{"line":328,"column":0},"end":{"line":328,"column":17}},"328":{"start":{"line":329,"column":0},"end":{"line":329,"column":60}},"329":{"start":{"line":330,"column":0},"end":{"line":330,"column":5}},"330":{"start":{"line":331,"column":0},"end":{"line":331,"column":28}},"332":{"start":{"line":333,"column":0},"end":{"line":333,"column":48}},"333":{"start":{"line":334,"column":0},"end":{"line":334,"column":33}},"334":{"start":{"line":335,"column":0},"end":{"line":335,"column":50}},"335":{"start":{"line":336,"column":0},"end":{"line":336,"column":46}},"336":{"start":{"line":337,"column":0},"end":{"line":337,"column":18}},"337":{"start":{"line":338,"column":0},"end":{"line":338,"column":9}},"338":{"start":{"line":339,"column":0},"end":{"line":339,"column":48}},"339":{"start":{"line":340,"column":0},"end":{"line":340,"column":6}},"340":{"start":{"line":341,"column":0},"end":{"line":341,"column":9}},"341":{"start":{"line":342,"column":0},"end":{"line":342,"column":4}},"343":{"start":{"line":344,"column":0},"end":{"line":344,"column":17}},"344":{"start":{"line":345,"column":0},"end":{"line":345,"column":12}},"345":{"start":{"line":346,"column":0},"end":{"line":346,"column":21}},"346":{"start":{"line":347,"column":0},"end":{"line":347,"column":24}},"347":{"start":{"line":348,"column":0},"end":{"line":348,"column":13}},"348":{"start":{"line":349,"column":0},"end":{"line":349,"column":20}},"349":{"start":{"line":350,"column":0},"end":{"line":350,"column":32}},"350":{"start":{"line":351,"column":0},"end":{"line":351,"column":7}},"351":{"start":{"line":352,"column":0},"end":{"line":352,"column":90}},"352":{"start":{"line":353,"column":0},"end":{"line":353,"column":4}},"353":{"start":{"line":354,"column":0},"end":{"line":354,"column":2}},"355":{"start":{"line":356,"column":0},"end":{"line":356,"column":27}}},"s":{"0":0,"43":0,"45":0,"46":0,"47":0,"48":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"82":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"146":0,"147":0,"148":0,"149":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"209":0,"210":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":0,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":0,"247":0,"248":0,"249":0,"250":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"277":0,"278":0,"279":0,"280":0,"281":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"288":0,"289":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"298":0,"299":0,"300":0,"301":0,"302":0,"303":0,"305":0,"306":0,"307":0,"308":0,"309":0,"310":0,"311":0,"312":0,"314":0,"315":0,"316":0,"317":0,"318":0,"319":0,"321":0,"323":0,"324":0,"325":0,"326":0,"327":0,"328":0,"329":0,"330":0,"332":0,"333":0,"334":0,"335":0,"336":0,"337":0,"338":0,"339":0,"340":0,"341":0,"343":0,"344":0,"345":0,"346":0,"347":0,"348":0,"349":0,"350":0,"351":0,"352":0,"353":0,"355":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}},"locations":[{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}},"loc":{"start":{"line":1,"column":0},"end":{"line":356,"column":-109}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useVerifier.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useVerifier.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":31}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":47}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":39}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":62}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":48}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":7}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":4}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":91}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":22}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":46}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":16}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":9}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":7}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":4}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":40}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":12}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":18}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":12}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":25}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":15}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":14}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":20}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":23}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":8}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":11}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":22}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":19}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":22}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":29}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":28}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":21}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":30}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":50}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":56}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":70}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":16}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":22}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":30}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":51}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":71}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":16}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":24}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":30}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":73}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":16}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":16}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":47}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":7}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":57}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":39}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":20}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":31}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":32}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":16}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":33}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":20}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":22}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":25}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":27}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":9}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":6}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":31}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":4}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":17}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":61}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":51}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":4}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":2}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":27}}},"s":{"0":0,"7":0,"31":0,"32":0,"34":0,"35":0,"36":0,"37":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"104":0,"105":0,"106":0,"107":0,"108":0,"110":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}},"locations":[{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}},"loc":{"start":{"line":1,"column":2943},"end":{"line":111,"column":27}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useWallet.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/useWallet.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":54}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":11}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":4}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":2}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":68}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":26}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":92}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":4}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":23}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":15}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":1}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":98}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":40}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":2}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":49}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":35}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":1}}},"s":{"0":0,"6":0,"7":0,"8":0,"9":0,"10":0,"12":0,"13":0,"14":0,"16":0,"17":0,"18":0,"19":0,"21":0,"22":0,"23":0,"25":0,"26":0,"27":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}},"loc":{"start":{"line":1,"column":0},"end":{"line":28,"column":-1}},"line":1}},"f":{"0":0}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/utils.ts": {"path":"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/src/utils.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":37}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":73}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":77}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":63}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":48}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":19}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":56}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":84}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":49}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":12}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":31}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":5}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":20}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":93}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":49}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":7}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":64}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":13}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":14}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":7}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":70}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":22}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":17}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":3}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}}},"s":{"0":1,"5":1,"6":1,"7":1,"9":1,"10":4,"11":4,"12":2,"13":2,"14":4,"15":4,"16":4,"17":4,"18":4,"19":4,"20":2,"21":2,"23":1,"24":2,"25":1,"26":1,"27":1,"28":1,"29":1,"30":0,"31":0,"32":2,"33":1,"34":1,"35":1,"36":2},"branchMap":{"0":{"type":"branch","line":10,"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"locations":[{"start":{"line":10,"column":33},"end":{"line":22,"column":2}}]},"1":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":18},"end":{"line":15,"column":80}},"locations":[{"start":{"line":12,"column":18},"end":{"line":15,"column":80}}]},"2":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":66},"end":{"line":15,"column":82}},"locations":[{"start":{"line":15,"column":66},"end":{"line":15,"column":82}}]},"3":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":3},"end":{"line":22,"column":2}},"locations":[{"start":{"line":20,"column":3},"end":{"line":22,"column":2}}]},"4":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"locations":[{"start":{"line":24,"column":36},"end":{"line":37,"column":2}}]},"5":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":47},"end":{"line":30,"column":7}},"locations":[{"start":{"line":25,"column":47},"end":{"line":30,"column":7}}]},"6":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":5},"end":{"line":32,"column":22}},"locations":[{"start":{"line":30,"column":5},"end":{"line":32,"column":22}}]},"7":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":2},"end":{"line":36,"column":3}},"locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":3}}]}},"b":{"0":[4],"1":[2],"2":[2],"3":[2],"4":[2],"5":[1],"6":[0],"7":[1]},"fnMap":{"0":{"name":"getCaContractBase","decl":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"line":10},"1":{"name":"getIsManagerReadOnly","decl":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"line":24}},"f":{"0":4,"1":2}} +{"/workspaces/aelf-web-login/packages/bridge/src/utils.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/utils.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":37}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":73}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":77}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":63}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":48}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":19}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":56}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":84}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":49}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":12}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":31}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":5}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":20}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":93}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":49}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":7}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":64}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":13}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":14}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":7}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":70}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":22}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":17}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":3}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}}},"s":{"0":1,"5":1,"6":1,"7":1,"9":1,"10":4,"11":4,"12":2,"13":2,"14":4,"15":4,"16":4,"17":4,"18":4,"19":4,"20":2,"21":2,"23":1,"24":2,"25":1,"26":1,"27":1,"28":1,"29":1,"30":0,"31":0,"32":2,"33":1,"34":1,"35":1,"36":2},"branchMap":{"0":{"type":"branch","line":10,"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"locations":[{"start":{"line":10,"column":33},"end":{"line":22,"column":2}}]},"1":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":18},"end":{"line":15,"column":80}},"locations":[{"start":{"line":12,"column":18},"end":{"line":15,"column":80}}]},"2":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":66},"end":{"line":15,"column":82}},"locations":[{"start":{"line":15,"column":66},"end":{"line":15,"column":82}}]},"3":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":3},"end":{"line":22,"column":2}},"locations":[{"start":{"line":20,"column":3},"end":{"line":22,"column":2}}]},"4":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"locations":[{"start":{"line":24,"column":36},"end":{"line":37,"column":2}}]},"5":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":47},"end":{"line":30,"column":7}},"locations":[{"start":{"line":25,"column":47},"end":{"line":30,"column":7}}]},"6":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":5},"end":{"line":32,"column":22}},"locations":[{"start":{"line":30,"column":5},"end":{"line":32,"column":22}}]},"7":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":2},"end":{"line":36,"column":3}},"locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":3}}]}},"b":{"0":[4],"1":[2],"2":[2],"3":[2],"4":[2],"5":[1],"6":[0],"7":[1]},"fnMap":{"0":{"name":"getCaContractBase","decl":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"line":10},"1":{"name":"getIsManagerReadOnly","decl":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"line":24}},"f":{"0":4,"1":2}} } diff --git a/packages/bridge/jest-report.xml b/packages/bridge/jest-report.xml index ae7f2a5e..c30f919f 100644 --- a/packages/bridge/jest-report.xml +++ b/packages/bridge/jest-report.xml @@ -1,25 +1,25 @@ - - - + + + - + - + - + intg----getIsManagerReadOnly is fail TypeError: caIns.callViewMethod is not a function - at Module.getIsManagerReadOnly [90m(/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/[39msrc/utils.ts:27:28[90m)[39m - at [90m/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/bridge/[39msrc/__tests__/utils.test.ts:46:15 - at file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:533:5 - at runTest (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1056:11) - at runSuite (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) - at runSuite (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) - at runFiles (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1262:5) - at startTests (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1271:3) - at run (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.7.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/workers/runVmTests.js:79:7) - at runVmTests (file:///Users/aelf/Documents/Projects/aelf/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.7.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/chunks/vm.Zr4qWzDJ.js:834:5) + at Module.getIsManagerReadOnly [90m(/workspaces/aelf-web-login/packages/bridge/[39msrc/utils.ts:27:28[90m)[39m + at [90m/workspaces/aelf-web-login/packages/bridge/[39msrc/__tests__/utils.test.ts:46:15 + at file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:533:5 + at runTest (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1056:11) + at runSuite (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) + at runSuite (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) + at runFiles (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1262:5) + at startTests (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1271:3) + at run (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.9.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/workers/runVmTests.js:79:7) + at runVmTests (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.9.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/chunks/vm.Zr4qWzDJ.js:834:5) diff --git a/packages/react/coverage/coverage-summary.json b/packages/react/coverage/coverage-summary.json index f1be1b7f..9637f187 100644 --- a/packages/react/coverage/coverage-summary.json +++ b/packages/react/coverage/coverage-summary.json @@ -1,3 +1,6 @@ -{"total": {"lines":{"total":17,"covered":16,"skipped":0,"pct":94.11},"statements":{"total":18,"covered":17,"skipped":0,"pct":94.44},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}} -,"/Users/aelf/Documents/Projects/aelf/aelf-web-login/packages/react/src/context.tsx": {"lines":{"total":17,"covered":16,"skipped":0,"pct":94.11},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":18,"covered":17,"skipped":0,"pct":94.44},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33}} +{"total": {"lines":{"total":71,"covered":61,"skipped":0,"pct":85.91},"statements":{"total":75,"covered":64,"skipped":0,"pct":85.33},"functions":{"total":17,"covered":13,"skipped":0,"pct":76.47},"branches":{"total":19,"covered":15,"skipped":0,"pct":78.94},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}} +,"/workspaces/aelf-web-login/packages/react/src/context.tsx": {"lines":{"total":17,"covered":16,"skipped":0,"pct":94.11},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":18,"covered":17,"skipped":0,"pct":94.44},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33}} +,"/workspaces/aelf-web-login/packages/react/src/init.ts": {"lines":{"total":20,"covered":18,"skipped":0,"pct":90},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":21,"covered":19,"skipped":0,"pct":90.47},"branches":{"total":7,"covered":6,"skipped":0,"pct":85.71}} +,"/workspaces/aelf-web-login/packages/react/src/useConnectWallet.tsx": {"lines":{"total":23,"covered":16,"skipped":0,"pct":69.56},"functions":{"total":4,"covered":2,"skipped":0,"pct":50},"statements":{"total":23,"covered":16,"skipped":0,"pct":69.56},"branches":{"total":6,"covered":4,"skipped":0,"pct":66.66}} +,"/workspaces/aelf-web-login/packages/react/src/useExternalStore.tsx": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":13,"covered":12,"skipped":0,"pct":92.3},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} } diff --git a/packages/react/jest-report.xml b/packages/react/jest-report.xml index ab9bca0a..161481a3 100644 --- a/packages/react/jest-report.xml +++ b/packages/react/jest-report.xml @@ -1,27 +1,27 @@ - - - + + + - + - + - - + + - - - + - - - + - + + + - + + + \ No newline at end of file From e5c39ce454851b0793d3b3266da98b9febc77225 Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Mon, 25 Nov 2024 15:58:27 +0000 Subject: [PATCH 08/25] chore: remove jest and clean up /bridge --- package.json | 13 ++++++--- pnpm-lock.yaml | 79 ++++++++++++++++++++++++++++++++------------------ 2 files changed, 59 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index f2d4360d..12a6fc5a 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,11 @@ "*.{json,less,md}": "prettier --ignore-unknown --write" }, "devDependencies": { + "@babel/core": "^7.24.7", "@babel/parser": "^7.24.0", + "@babel/preset-env": "^7.24.7", + "@babel/preset-react": "^7.24.7", + "@babel/preset-typescript": "^7.24.7", "@biomejs/biome": "^1.9.2", "@changesets/changelog-git": "^0.2.0", "@changesets/cli": "^2.27.1", @@ -59,13 +63,15 @@ "@ianvs/prettier-plugin-sort-imports": "^4.1.1", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", - "@types/node": "^22.9.3", + "@testing-library/react-hooks": "^8.0.1", "@types/jest": "^29.5.12", + "@types/node": "^22.9.3", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "@vitest/coverage-v8": "^2.1.5", + "babel-jest": "^29.7.0", "babel-plugin-transform-remove-console": "^6.9.4", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", @@ -76,15 +82,14 @@ "father": "^4.3.8", "happy-dom": "^15.11.6", "husky": "^8.0.3", - "babel-jest": "^29.7.0", - "node-fetch": "^3.3.2", "jest": "^29.7.0", - "jest-junit": "^16.0.0", "jest-canvas-mock": "^2.5.2", "jest-environment-jsdom": "^29.7.0", + "jest-junit": "^16.0.0", "jest-transform-stub": "^2.0.0", "jsdom": "^23.0.1", "lint-staged": "^15.2.0", + "node-fetch": "^3.3.2", "prettier": "^3.1.1", "rimraf": "^5.0.5", "ts-jest": "^29.2.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f824fa00..324a257f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,9 +12,21 @@ importers: .: devDependencies: + '@babel/core': + specifier: ^7.0.0 + version: 7.25.2 '@babel/parser': specifier: ^7.24.0 version: 7.25.6 + '@babel/preset-env': + specifier: ^7.24.7 + version: 7.25.4(@babel/core@7.25.2) + '@babel/preset-react': + specifier: ^7.24.7 + version: 7.24.7(@babel/core@7.25.2) + '@babel/preset-typescript': + specifier: ^7.24.7 + version: 7.24.7(@babel/core@7.25.2) '@biomejs/biome': specifier: ^1.9.2 version: 1.9.2 @@ -36,6 +48,9 @@ importers: '@testing-library/react': specifier: ^16.0.1 version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@testing-library/react-hooks': + specifier: ^8.0.1 + version: 8.0.1(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/jest': specifier: ^29.5.12 version: 29.5.13 @@ -176,18 +191,6 @@ importers: specifier: ^18.0.0 version: 18.3.1(react@18.3.1) devDependencies: - '@babel/core': - specifier: ^7.0.0 - version: 7.25.2 - '@babel/preset-env': - specifier: ^7.24.7 - version: 7.25.4(@babel/core@7.25.2) - '@babel/preset-react': - specifier: ^7.24.7 - version: 7.24.7(@babel/core@7.25.2) - '@babel/preset-typescript': - specifier: ^7.24.7 - version: 7.24.7(@babel/core@7.25.2) '@portkey/did-ui-react': specifier: ^2.15.9 version: 2.15.9(@types/react@18.3.9)(aelf-sdk@3.4.16-alpha.7(@babel/core@7.25.2)(encoding@0.1.13)(eslint@8.57.1))(encoding@0.1.13)(i18next@23.15.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -3441,6 +3444,22 @@ packages: resolution: {integrity: sha512-IteBhl4XqYNkM54f4ejhLRJiZNqcSCoXUOG2CPK7qbD322KjQozM4kHQOfkG2oln9b9HTYqs+Sae8vBATubxxA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + '@testing-library/react-hooks@8.0.1': + resolution: {integrity: sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==} + engines: {node: '>=12'} + peerDependencies: + '@types/react': ^16.9.0 || ^17.0.0 + react: ^16.9.0 || ^17.0.0 + react-dom: ^16.9.0 || ^17.0.0 + react-test-renderer: ^16.9.0 || ^17.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + react-dom: + optional: true + react-test-renderer: + optional: true + '@testing-library/react@16.0.1': resolution: {integrity: sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==} engines: {node: '>=18'} @@ -3542,9 +3561,6 @@ packages: '@types/jest@29.5.13': resolution: {integrity: sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==} - '@types/jest@29.5.14': - resolution: {integrity: sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==} - '@types/js-cookie@2.2.7': resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} @@ -15233,22 +15249,32 @@ snapshots: '@types/react': 18.3.9 react-dom: 18.3.1(react@18.3.1) - '@testing-library/react@14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@testing-library/dom': 10.4.0 - '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.9 + '@types/react-dom': 18.3.0 + '@tootallnate/once@2.0.0': {} + + '@trysound/sax@0.2.0': {} + + '@tsconfig/node10@1.0.11': + optional: true + + '@tsconfig/node12@1.0.11': + optional: true + + '@tsconfig/node14@1.0.3': + optional: true + + '@tsconfig/node16@1.0.4': + optional: true - '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@babel/runtime': 7.25.6 - '@testing-library/dom': 10.4.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - '@types/argparse@1.0.38': {} '@types/aria-query@5.0.4': {} @@ -15332,11 +15358,6 @@ snapshots: expect: 29.7.0 pretty-format: 29.7.0 - '@types/jest@29.5.14': - dependencies: - expect: 29.7.0 - pretty-format: 29.7.0 - '@types/js-cookie@2.2.7': {} '@types/jsdom@20.0.1': From 64f05eb74baa6477df9a55517a6443f0bbee03a3 Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Mon, 25 Nov 2024 15:58:59 +0000 Subject: [PATCH 09/25] chore: change rest of tests to use vitest --- .../bridge/src/__tests__/mountApp.test.tsx | 7 +++-- .../src/__tests__/useLockCallback.test.ts | 8 +++--- .../bridge/src/__tests__/useVerifier.test.ts | 28 +++++++++---------- packages/bridge/tsconfig.json | 2 +- packages/bridge/vite.config.ts | 2 +- 5 files changed, 24 insertions(+), 23 deletions(-) diff --git a/packages/bridge/src/__tests__/mountApp.test.tsx b/packages/bridge/src/__tests__/mountApp.test.tsx index 8341344d..cc51c817 100644 --- a/packages/bridge/src/__tests__/mountApp.test.tsx +++ b/packages/bridge/src/__tests__/mountApp.test.tsx @@ -4,12 +4,13 @@ import { useMountSignIn } from '../mountApp'; import { Bridge } from '../bridge'; import { NetworkEnum, WalletAdapter } from '@aelf-web-login/wallet-adapter-base'; import { IBaseConfig } from '../index'; -import '@testing-library/jest-dom'; // Mock components and dependencies -jest.mock('../ui', () => jest.fn(() =>
SignInModal Component
)); +vi.mock('../ui', () => ({ + default: () =>
SignInModal Component
, +})); -jest.mock('@portkey/did-ui-react', () => ({ +vi.mock('@portkey/did-ui-react', () => ({ PortkeyProvider: ({ children }: { children: React.ReactNode }) =>
{children}
, })); diff --git a/packages/bridge/src/__tests__/useLockCallback.test.ts b/packages/bridge/src/__tests__/useLockCallback.test.ts index 598038e2..c40e2d5f 100644 --- a/packages/bridge/src/__tests__/useLockCallback.test.ts +++ b/packages/bridge/src/__tests__/useLockCallback.test.ts @@ -3,7 +3,7 @@ import useLockCallback from '../useLockCallback'; describe('useLockCallback Hook', () => { it('should execute function and lock', async () => { - const mockFn = jest.fn(async () => { + const mockFn = vi.fn(async () => { await new Promise((res) => setTimeout(res, 100)); return 'result'; }); @@ -21,7 +21,7 @@ describe('useLockCallback Hook', () => { }); it('should prevent concurrent execution', async () => { - const mockFn = jest.fn(async () => { + const mockFn = vi.fn(async () => { await new Promise((res) => setTimeout(res, 100)); }); @@ -40,7 +40,7 @@ describe('useLockCallback Hook', () => { }); it('should allow another execution after previous is finished', async () => { - const mockFn = jest.fn(async () => { + const mockFn = vi.fn(async () => { await new Promise((res) => setTimeout(res, 100)); return 'success'; }); @@ -66,7 +66,7 @@ describe('useLockCallback Hook', () => { }); it('should release the lock if the callback throws an error', async () => { - const mockFn = jest.fn(async () => { + const mockFn = vi.fn(async () => { throw new Error('Test error'); }); diff --git a/packages/bridge/src/__tests__/useVerifier.test.ts b/packages/bridge/src/__tests__/useVerifier.test.ts index 6e6d72d5..95d94060 100644 --- a/packages/bridge/src/__tests__/useVerifier.test.ts +++ b/packages/bridge/src/__tests__/useVerifier.test.ts @@ -4,25 +4,25 @@ import { did, ConfigProvider, useVerifyToken, IVerifier } from '@portkey/did-ui- import { TChainId } from '@aelf-web-login/wallet-adapter-base'; import { OperationTypeEnum } from '@portkey/services'; -jest.mock('@portkey/did-ui-react', () => ({ +vi.mock('@portkey/did-ui-react', () => ({ did: { services: { - getRecommendationVerifier: jest.fn(), + getRecommendationVerifier: vi.fn(), }, }, ConfigProvider: { - getSocialLoginConfig: jest.fn(), + getSocialLoginConfig: vi.fn(), }, - useVerifyToken: jest.fn(), + useVerifyToken: vi.fn(), })); -jest.mock('@aelf-web-login/wallet-adapter-base', () => ({ +vi.mock('@aelf-web-login/wallet-adapter-base', () => ({ TChainId: { AELF: 'AELF', }, })); -jest.mock('@portkey/services', () => ({ +vi.mock('@portkey/services', () => ({ AccountType: { Apple: 'Apple', Google: 'Google', @@ -34,29 +34,29 @@ jest.mock('@portkey/services', () => ({ })); describe('useVerifier', () => { - const mockVerifyToken = jest.fn(); - const mockGetRecommendationVerifier = jest.fn(); + const mockVerifyToken = vi.fn(); + const mockGetRecommendationVerifier = vi.fn(); const mockSocialLoginConfig = { Apple: { clientId: 'apple-client-id', redirectURI: 'apple-redirect-uri', - customLoginHandler: jest.fn(), + customLoginHandler: vi.fn(), }, Google: { clientId: 'google-client-id', - customLoginHandler: jest.fn(), + customLoginHandler: vi.fn(), }, Telegram: { - customLoginHandler: jest.fn(), + customLoginHandler: vi.fn(), }, }; beforeEach(() => { - (did.services.getRecommendationVerifier as jest.Mock).mockReturnValue( + (did.services.getRecommendationVerifier as vi.Mock).mockReturnValue( mockGetRecommendationVerifier, ); - (ConfigProvider.getSocialLoginConfig as jest.Mock).mockReturnValue(mockSocialLoginConfig); - (useVerifyToken as jest.Mock).mockReturnValue(mockVerifyToken); + (ConfigProvider.getSocialLoginConfig as vi.Mock).mockReturnValue(mockSocialLoginConfig); + (useVerifyToken as vi.Mock).mockReturnValue(mockVerifyToken); }); it('should return getRecommendationVerifier and verifySocialToken functions', () => { diff --git a/packages/bridge/tsconfig.json b/packages/bridge/tsconfig.json index 092d3831..450e7d24 100644 --- a/packages/bridge/tsconfig.json +++ b/packages/bridge/tsconfig.json @@ -1,4 +1,4 @@ { "extends": "../../tsconfig.base.json", - "include": ["src/**/*.ts", "src/**/*.tsx", ".fatherrc.ts"] + "include": ["src/**/*.ts", "src/**/*.tsx", ".fatherrc.ts", "vitest.setup.tsx"] } diff --git a/packages/bridge/vite.config.ts b/packages/bridge/vite.config.ts index 5d420da2..661d0239 100644 --- a/packages/bridge/vite.config.ts +++ b/packages/bridge/vite.config.ts @@ -25,7 +25,7 @@ export default defineConfig({ globals: true, watch: false, environment: 'happy-dom', - setupFiles: ['./vitest.setup.ts'], + setupFiles: ['./vitest.setup'], include: ['./src/**/*(*.)?{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], name: 'bridge', exclude, From 08adad7e25b5b2d8d84d9c98328cfe801e18044b Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Mon, 25 Nov 2024 16:00:08 +0000 Subject: [PATCH 10/25] chore: coverage update --- .../bridge/coverage/coverage-summary.json | 5 +- packages/bridge/jest-report.xml | 44 +++- packages/bridge/jest.config.ts | 205 ------------------ 3 files changed, 42 insertions(+), 212 deletions(-) delete mode 100644 packages/bridge/jest.config.ts diff --git a/packages/bridge/coverage/coverage-summary.json b/packages/bridge/coverage/coverage-summary.json index 65433b78..0d14b816 100644 --- a/packages/bridge/coverage/coverage-summary.json +++ b/packages/bridge/coverage/coverage-summary.json @@ -1,2 +1,5 @@ -{"/workspaces/aelf-web-login/packages/bridge/src/utils.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/utils.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":37}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":73}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":77}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":63}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":48}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":19}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":56}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":84}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":49}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":12}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":31}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":5}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":20}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":93}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":49}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":7}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":64}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":13}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":14}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":7}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":70}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":22}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":17}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":3}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}}},"s":{"0":1,"5":1,"6":1,"7":1,"9":1,"10":4,"11":4,"12":2,"13":2,"14":4,"15":4,"16":4,"17":4,"18":4,"19":4,"20":2,"21":2,"23":1,"24":2,"25":1,"26":1,"27":1,"28":1,"29":1,"30":0,"31":0,"32":2,"33":1,"34":1,"35":1,"36":2},"branchMap":{"0":{"type":"branch","line":10,"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"locations":[{"start":{"line":10,"column":33},"end":{"line":22,"column":2}}]},"1":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":18},"end":{"line":15,"column":80}},"locations":[{"start":{"line":12,"column":18},"end":{"line":15,"column":80}}]},"2":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":66},"end":{"line":15,"column":82}},"locations":[{"start":{"line":15,"column":66},"end":{"line":15,"column":82}}]},"3":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":3},"end":{"line":22,"column":2}},"locations":[{"start":{"line":20,"column":3},"end":{"line":22,"column":2}}]},"4":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"locations":[{"start":{"line":24,"column":36},"end":{"line":37,"column":2}}]},"5":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":47},"end":{"line":30,"column":7}},"locations":[{"start":{"line":25,"column":47},"end":{"line":30,"column":7}}]},"6":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":5},"end":{"line":32,"column":22}},"locations":[{"start":{"line":30,"column":5},"end":{"line":32,"column":22}}]},"7":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":2},"end":{"line":36,"column":3}},"locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":3}}]}},"b":{"0":[4],"1":[2],"2":[2],"3":[2],"4":[2],"5":[1],"6":[0],"7":[1]},"fnMap":{"0":{"name":"getCaContractBase","decl":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"line":10},"1":{"name":"getIsManagerReadOnly","decl":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"line":24}},"f":{"0":4,"1":2}} +{"/workspaces/aelf-web-login/packages/bridge/src/mountApp.tsx": {"path":"/workspaces/aelf-web-login/packages/bridge/src/mountApp.tsx","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":68}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":31}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":25}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":27}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":26}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":28}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":20}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":36}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":12}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":97}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":97}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":18}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":24}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":54}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":20}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":1}}},"s":{"0":1,"7":1,"8":3,"9":3,"10":3,"11":3,"12":3,"13":3,"14":2,"15":2,"16":2,"17":2,"18":2,"20":3,"21":3,"22":3},"branchMap":{"0":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":7},"end":{"line":23,"column":1}},"locations":[{"start":{"line":8,"column":7},"end":{"line":23,"column":1}}]},"1":{"type":"branch","line":14,"loc":{"start":{"line":14,"column":29},"end":{"line":21,"column":5}},"locations":[{"start":{"line":14,"column":29},"end":{"line":21,"column":5}}]}},"b":{"0":[3],"1":[2]},"fnMap":{"0":{"name":"useMountSignIn","decl":{"start":{"line":8,"column":7},"end":{"line":23,"column":1}},"loc":{"start":{"line":8,"column":7},"end":{"line":23,"column":1}},"line":8}},"f":{"0":3}} +,"/workspaces/aelf-web-login/packages/bridge/src/useLockCallback.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/useLockCallback.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":75}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":14}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":23}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":3}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":29}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":48}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":29}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":24}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":9}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":42}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":27}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":17}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":17}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":27}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":14}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":5}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":11}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":1}}},"s":{"0":1,"2":4,"3":4,"4":4,"5":4,"6":4,"7":4,"8":7,"9":6,"10":6,"11":6,"12":4,"13":4,"14":7,"15":2,"16":2,"17":2,"19":4,"20":4},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":21,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":21,"column":1}}]},"1":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":21},"end":{"line":20,"column":5}},"locations":[{"start":{"line":8,"column":21},"end":{"line":20,"column":5}}]},"2":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":22},"end":{"line":9,"column":29}},"locations":[{"start":{"line":9,"column":22},"end":{"line":9,"column":29}}]},"3":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":22},"end":{"line":12,"column":42}},"locations":[{"start":{"line":9,"column":22},"end":{"line":12,"column":42}}]},"4":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":40},"end":{"line":15,"column":13}},"locations":[{"start":{"line":12,"column":40},"end":{"line":15,"column":13}}]},"5":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":4},"end":{"line":18,"column":5}},"locations":[{"start":{"line":15,"column":4},"end":{"line":18,"column":5}}]}},"b":{"0":[4],"1":[7],"2":[1],"3":[6],"4":[4],"5":[2]},"fnMap":{"0":{"name":"useLockCallback","decl":{"start":{"line":3,"column":0},"end":{"line":21,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":21,"column":1}},"line":3}},"f":{"0":4}} +,"/workspaces/aelf-web-login/packages/bridge/src/useVerifier.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/useVerifier.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":31}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":47}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":39}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":62}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":48}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":7}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":4}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":91}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":22}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":46}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":16}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":9}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":7}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":4}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":40}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":12}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":18}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":12}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":25}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":15}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":14}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":20}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":23}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":8}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":11}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":22}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":19}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":22}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":29}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":28}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":21}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":30}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":50}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":56}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":70}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":16}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":22}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":30}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":51}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":71}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":16}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":24}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":30}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":73}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":16}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":16}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":47}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":7}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":57}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":39}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":20}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":31}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":32}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":16}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":33}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":20}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":22}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":25}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":27}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":9}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":6}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":31}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":4}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":17}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":61}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":51}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":4}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":2}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":27}}},"s":{"0":1,"7":1,"31":1,"32":7,"34":7,"35":7,"36":7,"37":7,"39":7,"40":7,"41":1,"42":1,"43":1,"44":7,"45":7,"47":7,"48":7,"49":5,"50":5,"51":5,"52":5,"53":5,"54":5,"55":5,"56":5,"64":5,"65":5,"66":5,"67":5,"68":5,"69":5,"70":5,"71":2,"72":2,"73":2,"74":2,"75":2,"76":5,"77":1,"78":1,"79":1,"80":1,"81":5,"82":1,"83":1,"84":1,"85":5,"86":1,"87":5,"88":5,"89":3,"90":3,"91":3,"92":3,"93":3,"94":5,"95":5,"96":5,"97":5,"98":5,"99":5,"100":5,"101":7,"102":7,"104":7,"105":7,"106":7,"107":7,"108":7,"110":1},"branchMap":{"0":{"type":"branch","line":32,"loc":{"start":{"line":32,"column":40},"end":{"line":109,"column":2}},"locations":[{"start":{"line":32,"column":40},"end":{"line":109,"column":2}}]},"1":{"type":"branch","line":36,"loc":{"start":{"line":36,"column":4},"end":{"line":36,"column":48}},"locations":[{"start":{"line":36,"column":4},"end":{"line":36,"column":48}}]},"2":{"type":"branch","line":41,"loc":{"start":{"line":41,"column":4},"end":{"line":44,"column":9}},"locations":[{"start":{"line":41,"column":4},"end":{"line":44,"column":9}}]},"3":{"type":"branch","line":49,"loc":{"start":{"line":49,"column":4},"end":{"line":101,"column":6}},"locations":[{"start":{"line":49,"column":4},"end":{"line":101,"column":6}}]},"4":{"type":"branch","line":71,"loc":{"start":{"line":71,"column":8},"end":{"line":76,"column":16}},"locations":[{"start":{"line":71,"column":8},"end":{"line":76,"column":16}}]},"5":{"type":"branch","line":77,"loc":{"start":{"line":77,"column":8},"end":{"line":81,"column":16}},"locations":[{"start":{"line":77,"column":8},"end":{"line":81,"column":16}}]},"6":{"type":"branch","line":82,"loc":{"start":{"line":82,"column":8},"end":{"line":85,"column":16}},"locations":[{"start":{"line":82,"column":8},"end":{"line":85,"column":16}}]},"7":{"type":"branch","line":86,"loc":{"start":{"line":86,"column":8},"end":{"line":87,"column":47}},"locations":[{"start":{"line":86,"column":8},"end":{"line":87,"column":47}}]},"8":{"type":"branch","line":88,"loc":{"start":{"line":88,"column":6},"end":{"line":89,"column":25}},"locations":[{"start":{"line":88,"column":6},"end":{"line":89,"column":25}}]},"9":{"type":"branch","line":89,"loc":{"start":{"line":89,"column":25},"end":{"line":89,"column":57}},"locations":[{"start":{"line":89,"column":25},"end":{"line":89,"column":57}}]},"10":{"type":"branch","line":89,"loc":{"start":{"line":89,"column":31},"end":{"line":95,"column":30}},"locations":[{"start":{"line":89,"column":31},"end":{"line":95,"column":30}}]},"11":{"type":"branch","line":95,"loc":{"start":{"line":95,"column":18},"end":{"line":95,"column":33}},"locations":[{"start":{"line":95,"column":18},"end":{"line":95,"column":33}}]},"12":{"type":"branch","line":106,"loc":{"start":{"line":106,"column":4},"end":{"line":106,"column":61}},"locations":[{"start":{"line":106,"column":4},"end":{"line":106,"column":61}}]}},"b":{"0":[7],"1":[7],"2":[1],"3":[5],"4":[2],"5":[1],"6":[1],"7":[1],"8":[4],"9":[1],"10":[3],"11":[1],"12":[7]},"fnMap":{"0":{"name":"useVerifier","decl":{"start":{"line":32,"column":40},"end":{"line":109,"column":2}},"loc":{"start":{"line":32,"column":40},"end":{"line":109,"column":2}},"line":32}},"f":{"0":7}} +,"/workspaces/aelf-web-login/packages/bridge/src/utils.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/utils.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":37}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":73}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":77}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":63}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":48}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":19}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":56}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":84}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":49}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":12}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":31}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":5}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":20}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":93}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":49}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":7}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":64}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":13}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":14}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":7}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":70}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":22}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":17}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":3}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}}},"s":{"0":1,"5":1,"6":1,"7":1,"9":1,"10":4,"11":4,"12":2,"13":2,"14":4,"15":4,"16":4,"17":4,"18":4,"19":4,"20":2,"21":2,"23":1,"24":2,"25":1,"26":1,"27":1,"28":1,"29":1,"30":0,"31":0,"32":2,"33":1,"34":1,"35":1,"36":2},"branchMap":{"0":{"type":"branch","line":10,"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"locations":[{"start":{"line":10,"column":33},"end":{"line":22,"column":2}}]},"1":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":18},"end":{"line":15,"column":80}},"locations":[{"start":{"line":12,"column":18},"end":{"line":15,"column":80}}]},"2":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":66},"end":{"line":15,"column":82}},"locations":[{"start":{"line":15,"column":66},"end":{"line":15,"column":82}}]},"3":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":3},"end":{"line":22,"column":2}},"locations":[{"start":{"line":20,"column":3},"end":{"line":22,"column":2}}]},"4":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"locations":[{"start":{"line":24,"column":36},"end":{"line":37,"column":2}}]},"5":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":47},"end":{"line":30,"column":7}},"locations":[{"start":{"line":25,"column":47},"end":{"line":30,"column":7}}]},"6":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":5},"end":{"line":32,"column":22}},"locations":[{"start":{"line":30,"column":5},"end":{"line":32,"column":22}}]},"7":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":2},"end":{"line":36,"column":3}},"locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":3}}]}},"b":{"0":[4],"1":[2],"2":[2],"3":[2],"4":[2],"5":[1],"6":[0],"7":[1]},"fnMap":{"0":{"name":"getCaContractBase","decl":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"line":10},"1":{"name":"getIsManagerReadOnly","decl":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"line":24}},"f":{"0":4,"1":2}} } diff --git a/packages/bridge/jest-report.xml b/packages/bridge/jest-report.xml index c30f919f..67d07f36 100644 --- a/packages/bridge/jest-report.xml +++ b/packages/bridge/jest-report.xml @@ -1,13 +1,45 @@ - - - + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + intg----getIsManagerReadOnly is fail TypeError: caIns.callViewMethod is not a function at Module.getIsManagerReadOnly [90m(/workspaces/aelf-web-login/packages/bridge/[39msrc/utils.ts:27:28[90m)[39m diff --git a/packages/bridge/jest.config.ts b/packages/bridge/jest.config.ts deleted file mode 100644 index 1bf3ec63..00000000 --- a/packages/bridge/jest.config.ts +++ /dev/null @@ -1,205 +0,0 @@ -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck skip tsc for jest -/** - * For a detailed explanation regarding each configuration property, visit: - * https://jestjs.io/docs/configuration - */ - -import { compilerOptions } from '../../tsconfig.base.json'; -import path from 'path'; -const config = { - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/private/var/folders/46/f0k6l2594mg21yh77r2msl8w0000gn/T/jest_dx", - - // Automatically clear mock calls, instances, contexts and results before every test - clearMocks: true, - - // Indicates whether the coverage information should be collected while executing the test - collectCoverage: true, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files - coverageDirectory: 'coverage', - - // An array of regexp pattern strings used to skip coverage collection - // coveragePathIgnorePatterns: [ - // "/node_modules/" - // ], - - // Indicates which provider should be used to instrument code for coverage - // coverageProvider: "babel", - - // A list of reporter names that Jest uses when writing coverage reports - coverageReporters: ['json-summary', 'text'], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // The default configuration for fake timers - // fakeTimers: { - // "enableGlobally": false - // }, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module - // moduleNameMapper: {}, - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - // preset: 'babel-jest', - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - reporters: [ - 'default', - [ - 'jest-junit', - { - outputDirectory: '.', - outputName: 'jest-report.xml', - }, - ], - ], - - // Automatically reset mock state before every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state and implementation before every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - // rootDir: './', - - // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - // setupFiles: [], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - // snapshotSerializers: [], - - // The test environment that will be used for testing - - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - // testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jest-circus/runner", - - // A map from regular expressions to paths to transformers - transform: { '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest', '^.+\\.js$': 'babel-jest' }, - - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: [ - '.pnpm/node_modules/(?!((jest-)?react-native(-.*)?|@react-native(-community)?|victory(-.*)?|uuid)|react-navigation|@shopify/react-native-skia|@react-navigation/.*/)', - ], - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, - roots: [''], - testEnvironment: 'jsdom', - setupFilesAfterEnv: ['/jest.setup.ts'], - modulePaths: ['./', compilerOptions.baseUrl], - moduleDirectories: ['node_modules', 'src'], - moduleNameMapper: { - '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css|less|scss|sass)$': - 'jest-transform-stub', - ...Object.keys(compilerOptions.paths).reduce( - (prev, k) => ({ - ...prev, - [k]: path.resolve(__dirname, `../../${compilerOptions.paths[k][0]}`), - }), - {}, - ), - }, -}; - -export default config; From 8788f2e5e65dfe25ece6806280413d58af3d2b4b Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 14:33:12 +0800 Subject: [PATCH 11/25] chore: extract common internal config --- packages/bridge/package.json | 1 + packages/bridge/vite.config.ts | 47 ++----------------- packages/bridge/vitest.setup.ts | 62 +------------------------ packages/tools/README.md | 5 ++ packages/tools/__mocks__/setupGlobal.ts | 46 ++++++++++++++++++ packages/tools/__mocks__/setupLocal.ts | 17 +++++++ packages/tools/index.ts | 13 ++++++ packages/tools/package.json | 14 ++++++ packages/tools/tsconfig.json | 4 ++ packages/tools/vite.config.ts | 48 +++++++++++++++++++ tsconfig.base.json | 7 ++- 11 files changed, 158 insertions(+), 106 deletions(-) create mode 100644 packages/tools/README.md create mode 100644 packages/tools/__mocks__/setupGlobal.ts create mode 100644 packages/tools/__mocks__/setupLocal.ts create mode 100644 packages/tools/index.ts create mode 100644 packages/tools/package.json create mode 100644 packages/tools/tsconfig.json create mode 100644 packages/tools/vite.config.ts diff --git a/packages/bridge/package.json b/packages/bridge/package.json index b2a77061..c150f758 100755 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -33,6 +33,7 @@ }, "dependencies": { "@aelf-web-login/wallet-adapter-base": "workspace:*", + "@aelf-web-login/tools": "workspace:*", "@portkey/contracts": "^2.15.9", "@portkey/services": "^2.15.9", "@reduxjs/toolkit": "^2.2.3", diff --git a/packages/bridge/vite.config.ts b/packages/bridge/vite.config.ts index 661d0239..08b9a087 100644 --- a/packages/bridge/vite.config.ts +++ b/packages/bridge/vite.config.ts @@ -1,45 +1,4 @@ -import { defineConfig, configDefaults } from 'vitest/config'; -import tsconfigPaths from 'vite-tsconfig-paths'; +import baseViteConfig from '../tools/vite.config'; +import { mergeConfig } from 'vitest/config'; -const exclude = [...configDefaults.exclude, '**/dist/*.*', '**/.*', '**/*.setup.*']; - -export default defineConfig({ - plugins: [tsconfigPaths()], - test: { - maxConcurrency: 20, - pool: 'vmThreads', - poolOptions: { - threads: { - singleThread: true, - }, - }, - isolate: false, // only safe with the poolOptions above - css: false, - deps: { - optimizer: { - web: { - enabled: true, - }, - }, - }, - globals: true, - watch: false, - environment: 'happy-dom', - setupFiles: ['./vitest.setup'], - include: ['./src/**/*(*.)?{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], - name: 'bridge', - exclude, - reporters: ['junit', 'default'], - outputFile: { - junit: './jest-report.xml', - }, - coverage: { - all: false, - enabled: true, - provider: 'v8', - exclude: [...exclude, '**/__tests__/*.*'], - reportsDirectory: './coverage', - reporter: [['json', { file: 'coverage-summary.json' }], ['text']], - }, - }, -}); +export default mergeConfig(baseViteConfig, {}); diff --git a/packages/bridge/vitest.setup.ts b/packages/bridge/vitest.setup.ts index a0d2a70e..a5309360 100644 --- a/packages/bridge/vitest.setup.ts +++ b/packages/bridge/vitest.setup.ts @@ -1,60 +1,2 @@ -import '@testing-library/jest-dom'; -import { cleanup } from '@testing-library/react'; -import { afterEach, beforeAll, vi } from 'vitest'; - -beforeAll(() => { - global.ResizeObserver = class ResizeObserver { - observe() { - // do nothing - } - unobserve() { - // do nothing - } - disconnect() { - // do nothing - } - }; -}); - -afterEach(() => { - cleanup(); -}); - -// https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom -if (typeof window !== 'undefined') { - Object.defineProperty(window, 'matchMedia', { - writable: true, - value: vi.fn().mockImplementation((query) => ({ - matches: false, - media: query, - onchange: null, - addListener: vi.fn(), // deprecated - removeListener: vi.fn(), // deprecated - addEventListener: vi.fn(), - removeEventListener: vi.fn(), - dispatchEvent: vi.fn(), - })), - }); -} - -import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; -vi.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ - PortkeyAAWallet: vi.fn(), -})); -vi.mock('@portkey/did-ui-react', () => ({ - getChainInfo: (c: TChainId) => (!c ? null : {}), - did: { - didWallet: { - managementAccount: { - privateKey: '', - }, - }, - }, -})); -vi.mock('lottie-web'); -vi.mock('@portkey/utils'); -vi.mock('node-fetch'); -import { TextEncoder, TextDecoder } from 'util'; -global.TextEncoder = TextEncoder; -// @ts-expect-error TextDecoder -global.TextDecoder = TextDecoder; +import '../tools/__mocks__/setupGlobal'; +import '../tools/__mocks__/setupLocal'; diff --git a/packages/tools/README.md b/packages/tools/README.md new file mode 100644 index 00000000..33e01d8c --- /dev/null +++ b/packages/tools/README.md @@ -0,0 +1,5 @@ +# Why another package? + +During migration to vitest, there's a need to both provide common config and mocks without polluting workspace root, and establish clear boundary to import/export such configs. + +This package is _meant_ to be internally consumed, thus `private: true` in package.json and not to be published. diff --git a/packages/tools/__mocks__/setupGlobal.ts b/packages/tools/__mocks__/setupGlobal.ts new file mode 100644 index 00000000..461458c4 --- /dev/null +++ b/packages/tools/__mocks__/setupGlobal.ts @@ -0,0 +1,46 @@ +import '@testing-library/jest-dom'; +import { cleanup } from '@testing-library/react'; +import { afterEach, beforeAll, vi } from 'vitest'; + +beforeAll(() => { + global.ResizeObserver = class ResizeObserver { + observe() { + // do nothing + } + unobserve() { + // do nothing + } + disconnect() { + // do nothing + } + }; +}); + +afterEach(() => { + cleanup(); +}); + +// https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom +if (typeof window !== 'undefined') { + Object.defineProperty(window, 'matchMedia', { + writable: true, + value: vi.fn().mockImplementation((query) => ({ + matches: false, + media: query, + onchange: null, + addListener: vi.fn(), // deprecated + removeListener: vi.fn(), // deprecated + addEventListener: vi.fn(), + removeEventListener: vi.fn(), + dispatchEvent: vi.fn(), + })), + }); +} + +import { TextEncoder, TextDecoder } from 'util'; +global.TextEncoder = TextEncoder; +// @ts-expect-error TextDecoder +global.TextDecoder = TextDecoder; + +vi.mock('lottie-web'); +vi.mock('node-fetch'); diff --git a/packages/tools/__mocks__/setupLocal.ts b/packages/tools/__mocks__/setupLocal.ts new file mode 100644 index 00000000..d981bbb4 --- /dev/null +++ b/packages/tools/__mocks__/setupLocal.ts @@ -0,0 +1,17 @@ +import { vi } from 'vitest'; +import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; + +vi.mock('@portkey/utils'); +vi.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ + PortkeyAAWallet: vi.fn(), +})); +vi.mock('@portkey/did-ui-react', () => ({ + getChainInfo: (c: TChainId) => (!c ? null : {}), + did: { + didWallet: { + managementAccount: { + privateKey: '', + }, + }, + }, +})); diff --git a/packages/tools/index.ts b/packages/tools/index.ts new file mode 100644 index 00000000..73da2d5d --- /dev/null +++ b/packages/tools/index.ts @@ -0,0 +1,13 @@ +import { resolve } from 'path'; +// relative path is still required here before aliases are enabled +import baseTSConfig from '../../tsconfig.base.json'; + +export const getTSConfigPaths = () => { + const aliases: Record = {}; + for (const [key, value] of Object.entries(baseTSConfig.compilerOptions.paths)) { + aliases[key] = resolve(__dirname, value[0]); + } + return aliases; +}; + +export default {}; diff --git a/packages/tools/package.json b/packages/tools/package.json new file mode 100644 index 00000000..6446d19e --- /dev/null +++ b/packages/tools/package.json @@ -0,0 +1,14 @@ +{ + "name": "@aelf-web-login/tools", + "private": true, + "version": "1.0.0", + "description": "", + "main": "index.ts", + "files": [ + "*" + ], + "scripts": {}, + "keywords": [], + "author": "", + "license": "UNLICENSED" +} diff --git a/packages/tools/tsconfig.json b/packages/tools/tsconfig.json new file mode 100644 index 00000000..e715255c --- /dev/null +++ b/packages/tools/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../../tsconfig.base.json", + "include": ["*.ts", "**/*.ts"] +} diff --git a/packages/tools/vite.config.ts b/packages/tools/vite.config.ts new file mode 100644 index 00000000..91b6b9b3 --- /dev/null +++ b/packages/tools/vite.config.ts @@ -0,0 +1,48 @@ +import { defineConfig, configDefaults } from 'vitest/config'; +import tsconfigPaths from 'vite-tsconfig-paths'; + +const exclude = [...configDefaults.exclude, '**/dist/*.*', '**/.*', '**/*.setup.*']; + +export default defineConfig({ + plugins: [tsconfigPaths()], + test: { + maxConcurrency: 20, + pool: 'vmThreads', + poolOptions: { + threads: { + singleThread: true, + }, + }, + isolate: false, // only safe with the poolOptions above + css: false, + deps: { + optimizer: { + web: { + enabled: true, + }, + }, + }, + globals: true, + watch: false, + environment: 'happy-dom', + // expect a relative vitest.setup.[js|ts] file where this is initiated + // due to nature of mocks being hoisted during evaluation, consumers need + // to provide individual vitest setup files + setupFiles: ['./vitest.setup'], + include: ['./src/**/*(*.)?{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], + name: 'bridge', + exclude, + reporters: ['junit', 'default'], + outputFile: { + junit: './jest-report.xml', + }, + coverage: { + all: false, + enabled: true, + provider: 'v8', + exclude: [...exclude, '**/__tests__/*.*'], + reportsDirectory: './coverage', + reporter: [['json', { file: 'coverage-summary.json' }], ['text']], + }, + }, +}); diff --git a/tsconfig.base.json b/tsconfig.base.json index 8310a8ba..0d3c280c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -3,7 +3,8 @@ "baseUrl": "./", "target": "ESNext", "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "node", + "downlevelIteration": true, "jsx": "react-jsx", "esModuleInterop": true, "experimentalDecorators": true, @@ -25,7 +26,9 @@ "@aelf-web-login/wallet-adapter-portkey-discover": [ "./packages/wallets/portkey-discover/src" ], - "@aelf-web-login/wallet-adapter-night-elf": ["./packages/wallets/night-elf/src"] + "@aelf-web-login/wallet-adapter-night-elf": ["./packages/wallets/night-elf/src"], + "@aelf-web-login/tools/*": ["./packages/tools/*"], + "~/*": ["./*"] }, "types": ["node", "jest", "@testing-library/jest-dom", "vitest/globals"] } From 99d31e63947174586034a3458af51ab6357d73ab Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 14:36:53 +0800 Subject: [PATCH 12/25] chore: switch package /base to use vitest --- packages/base/jest.config.ts | 187 ------------------ packages/base/package.json | 6 +- .../enhancedLocalStorageInWindow.test.ts | 2 +- packages/base/vite.config.ts | 4 + packages/base/vitest.setup.ts | 2 + 5 files changed, 11 insertions(+), 190 deletions(-) delete mode 100644 packages/base/jest.config.ts create mode 100644 packages/base/vite.config.ts create mode 100644 packages/base/vitest.setup.ts diff --git a/packages/base/jest.config.ts b/packages/base/jest.config.ts deleted file mode 100644 index f1008d14..00000000 --- a/packages/base/jest.config.ts +++ /dev/null @@ -1,187 +0,0 @@ -/** - * For a detailed explanation regarding each configuration property, visit: - * https://jestjs.io/docs/configuration - */ - -import type { Config } from 'jest'; - -const config: Config = { - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/private/var/folders/46/f0k6l2594mg21yh77r2msl8w0000gn/T/jest_dx", - - // Automatically clear mock calls, instances, contexts and results before every test - clearMocks: true, - - // Indicates whether the coverage information should be collected while executing the test - collectCoverage: true, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files - coverageDirectory: 'coverage', - - // An array of regexp pattern strings used to skip coverage collection - // coveragePathIgnorePatterns: [ - // "/node_modules/" - // ], - - // Indicates which provider should be used to instrument code for coverage - // coverageProvider: "babel", - - // A list of reporter names that Jest uses when writing coverage reports - coverageReporters: ['json-summary', 'text'], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // The default configuration for fake timers - // fakeTimers: { - // "enableGlobally": false - // }, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - // moduleFileExtensions: ['js', 'mjs', 'cjs', 'jsx', 'ts', 'tsx', 'json', 'node'], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module - // moduleNameMapper: {}, - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - // preset: 'babel-jest', - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - reporters: [ - 'default', - [ - 'jest-junit', - { - outputDirectory: '.', - outputName: 'jest-report.xml', - }, - ], - ], - - // Automatically reset mock state before every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state and implementation before every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - // rootDir: undefined, - - // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - // setupFiles: [], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - // setupFilesAfterEnv: [], - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - // snapshotSerializers: [], - - // The test environment that will be used for testing - testEnvironment: 'node', - - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - // testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jest-circus/runner", - - // A map from regular expressions to paths to transformers - transform: { '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest', '^.+\\.js$': 'babel-jest' }, - - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: [], - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, -}; - -export default config; diff --git a/packages/base/package.json b/packages/base/package.json index ab374fc7..60d3e6b1 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -23,8 +23,10 @@ "scripts": { "dev": "father dev", "build": "father build", - "test": "jest --config=jest.config.ts --detectOpenHandles", - "test:coverage": "jest --config=jest.config.ts --coverage --detectOpenHandles" + "test": "vitest", + "test:dev": "pnpm test -- --watch", + "test:coverage": "pnpm test -- --coverage", + "test:debug": "pnpm test -- --detectOpenHandles" }, "dependencies": { "eventemitter3": "^5.0.1" diff --git a/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts b/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts index 987c6b8f..58455fc9 100644 --- a/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts +++ b/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts @@ -2,7 +2,7 @@ const originalConsoleLog = console.log; describe('localStorageMock in window', () => { beforeEach(() => { - console.log = jest.fn(); + console.log = vi.fn(); (global as any).window = {}; }); afterEach(() => { diff --git a/packages/base/vite.config.ts b/packages/base/vite.config.ts new file mode 100644 index 00000000..08b9a087 --- /dev/null +++ b/packages/base/vite.config.ts @@ -0,0 +1,4 @@ +import baseViteConfig from '../tools/vite.config'; +import { mergeConfig } from 'vitest/config'; + +export default mergeConfig(baseViteConfig, {}); diff --git a/packages/base/vitest.setup.ts b/packages/base/vitest.setup.ts new file mode 100644 index 00000000..a5309360 --- /dev/null +++ b/packages/base/vitest.setup.ts @@ -0,0 +1,2 @@ +import '../tools/__mocks__/setupGlobal'; +import '../tools/__mocks__/setupLocal'; From b50613773b7625527c00f3e3e734540dac1e1a83 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 14:52:34 +0800 Subject: [PATCH 13/25] chore: add internal package /tools --- packages/tools/vite.config.ts | 1 + pnpm-lock.yaml | 5 +++++ pnpm-workspace.yaml | 1 + tsconfig.base.json | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/tools/vite.config.ts b/packages/tools/vite.config.ts index 91b6b9b3..45adf8a4 100644 --- a/packages/tools/vite.config.ts +++ b/packages/tools/vite.config.ts @@ -1,3 +1,4 @@ +/// import { defineConfig, configDefaults } from 'vitest/config'; import tsconfigPaths from 'vite-tsconfig-paths'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 324a257f..0641d81f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -172,6 +172,9 @@ importers: packages/bridge: dependencies: + '@aelf-web-login/tools': + specifier: workspace:* + version: link:../tools '@aelf-web-login/wallet-adapter-base': specifier: workspace:* version: link:../base @@ -329,6 +332,8 @@ importers: specifier: ^14.9.1 version: 14.16.1 + packages/tools: {} + packages/utils: dependencies: '@aelf-web-login/wallet-adapter-base': diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 655e7c9e..e819cdf6 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -5,3 +5,4 @@ packages: - 'packages/react' - 'packages/utils' - 'packages/wallets/*' + - 'packages/tools' diff --git a/tsconfig.base.json b/tsconfig.base.json index 0d3c280c..3f75251f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -27,7 +27,7 @@ "./packages/wallets/portkey-discover/src" ], "@aelf-web-login/wallet-adapter-night-elf": ["./packages/wallets/night-elf/src"], - "@aelf-web-login/tools/*": ["./packages/tools/*"], + "@aelf-web-login/tools": ["./packages/tools"], "~/*": ["./*"] }, "types": ["node", "jest", "@testing-library/jest-dom", "vitest/globals"] From c4a5b0fd7a07a1e93e1bcb850bc0c78f5dda9b00 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 15:06:20 +0800 Subject: [PATCH 14/25] chore: add workspace package /tools and vitest UI --- package.json | 1 + pnpm-lock.yaml | 89 ++++++++++++++++++++++++++++++++++++++++++--- pnpm-workspace.yaml | 3 +- 3 files changed, 87 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 12a6fc5a..06c55819 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,7 @@ "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "@vitest/coverage-v8": "^2.1.5", + "@vitest/ui": "^2.1.5", "babel-jest": "^29.7.0", "babel-plugin-transform-remove-console": "^6.9.4", "eslint": "^8.56.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0641d81f..e48a166d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,7 +71,10 @@ importers: version: 7.18.0(eslint@8.57.1)(typescript@5.6.2) '@vitest/coverage-v8': specifier: ^2.1.5 - version: 2.1.5(vitest@2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) + version: 2.1.5(vitest@2.1.5) + '@vitest/ui': + specifier: ^2.1.5 + version: 2.1.5(vitest@2.1.5) babel-jest: specifier: ^29.7.0 version: 29.7.0(@babel/core@7.25.2) @@ -146,7 +149,7 @@ importers: version: 5.1.3(typescript@5.6.2)(vite@5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) vitest: specifier: ^2.1.5 - version: 2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + version: 2.1.5(@types/node@22.9.3)(@vitest/ui@2.1.5)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) packages/base: dependencies: @@ -2642,6 +2645,9 @@ packages: resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@polka/url@1.0.0-next.28': + resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==} + '@portkey/accounts@2.10.5': resolution: {integrity: sha512-HNNzbqRDOeJlrbM5iabpnAYeSeDa0OQ7/OSg/2wafKhsjRqj92zWHlUadhYWowR8xMAJdbFb5Out/s0BOz7jGg==} peerDependencies: @@ -4049,6 +4055,11 @@ packages: '@vitest/spy@2.1.5': resolution: {integrity: sha512-aWZF3P0r3w6DiYTVskOYuhBc7EMc3jvn1TkBg8ttylFFRqNN2XGD7V5a4aQdk6QiUzZQ4klNBSpCLJgWNdIiNw==} + '@vitest/ui@2.1.5': + resolution: {integrity: sha512-ERgKkDMTfngrZip6VG5h8L9B5D0AH/4+bga4yR1UzGH7c2cxv3LWogw2Dvuwr9cP3/iKDHYys7kIFLDKpxORTg==} + peerDependencies: + vitest: 2.1.5 + '@vitest/utils@2.1.5': resolution: {integrity: sha512-yfj6Yrp0Vesw2cwJbP+cl04OC+IHFsuQsrsJBL9pyGeQXE56v1UAOQco+SR55Vf1nQzfV0QJg1Qum7AaWUwwYg==} @@ -5958,6 +5969,14 @@ packages: fb-watchman@2.0.2: resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + fdir@6.4.2: + resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fetch-blob@3.2.0: resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} engines: {node: ^12.20 || >= 14.13} @@ -5966,6 +5985,9 @@ packages: resolution: {integrity: sha512-BQm7iZLFhMWFy5CZ/162sAGjBfdNWb7a8LEqqnzsHFhxT/X/SVj/z2t2nu3aJvjlbQkrAlTUApplPRjWyH4mhA==} engines: {node: '>=8'} + fflate@0.8.2: + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + figures@2.0.0: resolution: {integrity: sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==} engines: {node: '>=4'} @@ -7854,6 +7876,10 @@ packages: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} + mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -8303,6 +8329,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pidtree@0.6.0: resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} engines: {node: '>=0.10'} @@ -9858,6 +9888,10 @@ packages: simple-swizzle@0.2.2: resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} + sirv@3.0.0: + resolution: {integrity: sha512-BPwJGUeDaDCHihkORDchNyyTvWFhcusy1XMmhEVTQTwGeybFbp8YEmB+njbPnth1FibULBSBVwCQni25XlCUDg==} + engines: {node: '>=18'} + sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -10369,6 +10403,10 @@ packages: tinyexec@0.3.1: resolution: {integrity: sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==} + tinyglobby@0.2.10: + resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} + engines: {node: '>=12.0.0'} + tinypool@1.0.2: resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -10413,6 +10451,10 @@ packages: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + tough-cookie@4.1.4: resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} engines: {node: '>=6'} @@ -14056,6 +14098,8 @@ snapshots: picocolors: 1.1.0 tslib: 2.7.0 + '@polka/url@1.0.0-next.28': {} + '@portkey/accounts@2.10.5(@portkey/request@2.10.5)(aelf-sdk@3.4.15(@babel/core@7.25.2)(encoding@0.1.13)(eslint@8.57.1))(query-string@7.1.3)': dependencies: '@portkey/types': 2.15.9 @@ -16059,7 +16103,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0))': + '@vitest/coverage-v8@2.1.5(vitest@2.1.5)': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -16073,7 +16117,7 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + vitest: 2.1.5(@types/node@22.9.3)(@vitest/ui@2.1.5)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) transitivePeerDependencies: - supports-color @@ -16111,6 +16155,17 @@ snapshots: dependencies: tinyspy: 3.0.2 + '@vitest/ui@2.1.5(vitest@2.1.5)': + dependencies: + '@vitest/utils': 2.1.5 + fflate: 0.8.2 + flatted: 3.3.1 + pathe: 1.1.2 + sirv: 3.0.0 + tinyglobby: 0.2.10 + tinyrainbow: 1.2.0 + vitest: 2.1.5(@types/node@22.9.3)(@vitest/ui@2.1.5)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0) + '@vitest/utils@2.1.5': dependencies: '@vitest/pretty-format': 2.1.5 @@ -18819,6 +18874,10 @@ snapshots: dependencies: bser: 2.1.1 + fdir@6.4.2(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + fetch-blob@3.2.0: dependencies: node-domexception: 1.0.0 @@ -18828,6 +18887,8 @@ snapshots: dependencies: tough-cookie: 4.1.4 + fflate@0.8.2: {} + figures@2.0.0: dependencies: escape-string-regexp: 1.0.5 @@ -21330,6 +21391,8 @@ snapshots: mri@1.2.0: {} + mrmime@2.0.0: {} + ms@2.0.0: {} ms@2.1.3: {} @@ -21864,6 +21927,8 @@ snapshots: picomatch@2.3.1: {} + picomatch@4.0.2: {} + pidtree@0.6.0: {} pify@3.0.0: {} @@ -23704,6 +23769,12 @@ snapshots: dependencies: is-arrayish: 0.3.2 + sirv@3.0.0: + dependencies: + '@polka/url': 1.0.0-next.28 + mrmime: 2.0.0 + totalist: 3.0.1 + sisteransi@1.0.5: {} sitemap@7.1.2: @@ -24316,6 +24387,11 @@ snapshots: tinyexec@0.3.1: {} + tinyglobby@0.2.10: + dependencies: + fdir: 6.4.2(picomatch@4.0.2) + picomatch: 4.0.2 + tinypool@1.0.2: {} tinyrainbow@1.2.0: {} @@ -24344,6 +24420,8 @@ snapshots: toidentifier@1.0.1: {} + totalist@3.0.1: {} + tough-cookie@4.1.4: dependencies: psl: 1.9.0 @@ -24876,7 +24954,7 @@ snapshots: sass: 1.79.3 terser: 5.34.0 - vitest@2.1.5(@types/node@22.9.3)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): + vitest@2.1.5(@types/node@22.9.3)(@vitest/ui@2.1.5)(happy-dom@15.11.6)(jsdom@23.2.0)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0): dependencies: '@vitest/expect': 2.1.5 '@vitest/mocker': 2.1.5(vite@5.4.8(@types/node@22.9.3)(less@4.2.0)(lightningcss@1.22.1)(sass@1.79.3)(terser@5.34.0)) @@ -24900,6 +24978,7 @@ snapshots: why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.9.3 + '@vitest/ui': 2.1.5(vitest@2.1.5) happy-dom: 15.11.6 jsdom: 23.2.0 transitivePeerDependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e819cdf6..6fca973f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ +# https://github.com/vitest-dev/vscode/issues/110#issuecomment-1730788166 packages: - 'packages/base' - 'packages/starter' @@ -5,4 +6,4 @@ packages: - 'packages/react' - 'packages/utils' - 'packages/wallets/*' - - 'packages/tools' + - 'packages/tools' \ No newline at end of file From 5dac9dbe7d40ceefbb96e1c2236cba4b2cc71b7a Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 15:08:00 +0800 Subject: [PATCH 15/25] chore: use vitest UI in /base and /bridge --- packages/base/package.json | 2 +- packages/bridge/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/base/package.json b/packages/base/package.json index 60d3e6b1..79d871ce 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -26,7 +26,7 @@ "test": "vitest", "test:dev": "pnpm test -- --watch", "test:coverage": "pnpm test -- --coverage", - "test:debug": "pnpm test -- --detectOpenHandles" + "test:ui": "pnpm test:dev --ui" }, "dependencies": { "eventemitter3": "^5.0.1" diff --git a/packages/bridge/package.json b/packages/bridge/package.json index c150f758..10c802de 100755 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -29,7 +29,7 @@ "test": "vitest", "test:dev": "pnpm test -- --watch", "test:coverage": "pnpm test -- --coverage", - "test:debug": "pnpm test -- --detectOpenHandles" + "test:ui": "pnpm test:dev --ui" }, "dependencies": { "@aelf-web-login/wallet-adapter-base": "workspace:*", From c263db827418dfd573b2617b7f8e27d3aca64711 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 16:57:24 +0800 Subject: [PATCH 16/25] chore: use vitest UI in /react --- packages/react/jest.config.ts | 214 ------------------ packages/react/jest.setup.ts | 21 -- packages/react/package.json | 4 +- packages/react/src/__tests__/context.test.tsx | 14 +- packages/react/src/__tests__/init.test.ts | 48 +++- .../src/__tests__/useConnectWallet.test.tsx | 16 +- packages/react/vite.config.ts | 4 + packages/react/vitest.setup.ts | 25 ++ 8 files changed, 82 insertions(+), 264 deletions(-) delete mode 100644 packages/react/jest.config.ts delete mode 100644 packages/react/jest.setup.ts create mode 100644 packages/react/vite.config.ts create mode 100644 packages/react/vitest.setup.ts diff --git a/packages/react/jest.config.ts b/packages/react/jest.config.ts deleted file mode 100644 index caf397c4..00000000 --- a/packages/react/jest.config.ts +++ /dev/null @@ -1,214 +0,0 @@ -/** - * For a detailed explanation regarding each configuration property, visit: - * https://jestjs.io/docs/configuration - */ - -import { - createDefaultEsmPreset, - pathsToModuleNameMapper, - type JestConfigWithTsJest, - type TsJestTransformerOptions, -} from 'ts-jest'; -import { compilerOptions } from '../../tsconfig.base.json'; - -const presetConfig = createDefaultEsmPreset({ - tsconfig: compilerOptions as TsJestTransformerOptions['tsconfig'], - diagnostics: false, // important - to make ts-jest ignore type-checking. must set here - isolatedModules: true, // perf -}); - -const config: JestConfigWithTsJest = { - ...presetConfig, - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/private/var/folders/46/f0k6l2594mg21yh77r2msl8w0000gn/T/jest_dx", - - // Automatically clear mock calls, instances, contexts and results before every test - clearMocks: true, - - // Indicates whether the coverage information should be collected while executing the test - collectCoverage: true, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files - coverageDirectory: 'coverage', - - // An array of regexp pattern strings used to skip coverage collection - // coveragePathIgnorePatterns: [ - // "/node_modules/" - // ], - - // Indicates which provider should be used to instrument code for coverage - // coverageProvider: "babel", - - // A list of reporter names that Jest uses when writing coverage reports - coverageReporters: ['json-summary', 'text'], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // The default configuration for fake timers - // fakeTimers: { - // "enableGlobally": false - // }, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module - // moduleNameMapper: {}, - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - // preset: 'babel-jest', - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - reporters: [ - 'default', - [ - 'jest-junit', - { - outputDirectory: '.', - outputName: 'jest-report.xml', - }, - ], - ], - - // Automatically reset mock state before every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state and implementation before every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - // rootDir: './', - - // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - // setupFiles: [], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - setupFilesAfterEnv: ['/jest.setup.ts'], - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - // snapshotSerializers: [], - - // The test environment that will be used for testing - testEnvironment: 'jsdom', - - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - // testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jest-circus/runner", - - // A map from regular expressions to paths to transformers - transform: { - ...presetConfig.transform, - '^.+\\.(js|jsx)$': 'babel-jest', - }, - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: [ - '.pnpm/node_modules/(?!((jest-)?react-native(-.*)?|@react-native(-community)?|victory(-.*)?|uuid)|react-navigation|@shopify/react-native-skia|@react-navigation/.*/)', - ], - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, - roots: [''], - modulePaths: ['./', compilerOptions.baseUrl], - moduleDirectories: ['node_modules', 'src'], - moduleNameMapper: { - ...pathsToModuleNameMapper(compilerOptions.paths, { prefix: '../../' }), - '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css|less|scss|sass)$': - 'jest-transform-stub', - }, - preset: 'ts-jest', -}; - -export default config; diff --git a/packages/react/jest.setup.ts b/packages/react/jest.setup.ts deleted file mode 100644 index 8bd80ada..00000000 --- a/packages/react/jest.setup.ts +++ /dev/null @@ -1,21 +0,0 @@ -// In your own jest-setup.js (or any other name) -import '@testing-library/jest-dom'; -global.fetch = require('node-fetch'); -import { type IBridgeAPI } from '@aelf-web-login/wallet-adapter-bridge'; - -jest.mock('@aelf-web-login/wallet-adapter-bridge', () => ({ - initBridge: jest.fn().mockReturnValue({ - getSignIn: jest.fn((children) => children), - store: { - getState: () => null, - subscribe: () => null, - }, - instance: {} as IBridgeAPI['instance'], - }), -})); - -jest.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ - PortkeyAAWallet: jest.fn(), -})); - -jest.mock('vconsole'); diff --git a/packages/react/package.json b/packages/react/package.json index 998a7477..1b7cc23a 100755 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -23,10 +23,10 @@ "scripts": { "dev": "father dev", "build": "father build", - "test": "NODE_OPTIONS='$NODE_OPTIONS --experimental-vm-modules' jest", + "test": "vitest", "test:dev": "pnpm test -- --watch", "test:coverage": "pnpm test -- --coverage", - "test:debug": "pnpm test -- --detectOpenHandles" + "test:ui": "pnpm test:dev --ui" }, "dependencies": { "@aelf-web-login/wallet-adapter-base": "workspace:*", diff --git a/packages/react/src/__tests__/context.test.tsx b/packages/react/src/__tests__/context.test.tsx index 63362432..42c35762 100644 --- a/packages/react/src/__tests__/context.test.tsx +++ b/packages/react/src/__tests__/context.test.tsx @@ -4,7 +4,7 @@ import config from '../data/config'; import { IBridgeAPI } from '@aelf-web-login/wallet-adapter-bridge'; const mockBridgeAPI: IBridgeAPI = { - getSignIn: jest.fn((children) => children), + getSignIn: vi.fn((children) => children), store: { getState: () => null as unknown as ReturnType, subscribe: () => null as unknown as ReturnType, @@ -14,24 +14,24 @@ const mockBridgeAPI: IBridgeAPI = { describe('WebLoginProvider', () => { it('should render children with provided bridgeAPI', () => { - render( + const a = render( // @ts-expect-error passing invalid props on purpose -
Test Child
+
with provided bridgeAPI
, ); - - expect(screen.getByText('Test Child')).toBeInTheDocument(); + a.debug(); + expect(screen.getByText('with provided bridgeAPI')).toBeInTheDocument(); }); it('should render children with provided config', () => { render( -
Test Child
+
with provided config
, ); - expect(screen.getByText('Test Child')).toBeInTheDocument(); + expect(screen.getByText('with provided config')).toBeInTheDocument(); }); it('should return null if no bridgeAPI nor config', () => { diff --git a/packages/react/src/__tests__/init.test.ts b/packages/react/src/__tests__/init.test.ts index 202a308b..59588592 100644 --- a/packages/react/src/__tests__/init.test.ts +++ b/packages/react/src/__tests__/init.test.ts @@ -1,24 +1,50 @@ +import { NetworkEnum } from '@aelf-web-login/wallet-adapter-base'; import { init } from '../index'; -import { initBridge } from '@aelf-web-login/wallet-adapter-bridge'; +import { type IConfigProps, initBridge } from '@aelf-web-login/wallet-adapter-bridge'; +import VConsole from 'vconsole'; + +const baseOptions: IConfigProps = { + baseConfig: { + showVconsole: true, + networkType: NetworkEnum.TESTNET, + chainId: 'tDVV', + sideChainId: 'tDVW', + }, + didConfig: {}, + wallets: [], +}; describe('init', () => { it('should initialize VConsole if showVconsole is true', async () => { - const options = { baseConfig: { showVconsole: true } }; - init(options as any); - const VConsole = await import('vconsole'); - expect(VConsole).toHaveBeenCalled(); + const options: IConfigProps = { + ...baseOptions, + baseConfig: { ...baseOptions.baseConfig, showVconsole: true }, + }; + init(options); + // workaround for rare race condition where VConsole is being initiated but init() already returns + // and assertion runs + await new Promise((r) => { + setTimeout(() => { + expect(VConsole).toHaveBeenCalled(); + r(); + }, 10); + }); }); it('should not initialize VConsole if showVconsole is false', async () => { - const options = { baseConfig: { showVconsole: false } }; - init(options as any); - const VConsole = await import('vconsole'); + const options = { + ...baseOptions, + baseConfig: { ...baseOptions.baseConfig, showVconsole: false }, + }; + init(options); expect(VConsole).not.toHaveBeenCalled(); }); it('should call initBridge with the given options', async () => { - const options = { baseConfig: { showVconsole: false } }; - // const { initBridge } = await import('@aelf-web-login/wallet-adapter-bridge'); - init(options as any); + const options = { + ...baseOptions, + baseConfig: { ...baseOptions.baseConfig, showVconsole: false }, + }; + init(options); expect(initBridge).toHaveBeenCalledWith(options); }); }); diff --git a/packages/react/src/__tests__/useConnectWallet.test.tsx b/packages/react/src/__tests__/useConnectWallet.test.tsx index 0540fd5f..306cc6be 100644 --- a/packages/react/src/__tests__/useConnectWallet.test.tsx +++ b/packages/react/src/__tests__/useConnectWallet.test.tsx @@ -3,17 +3,15 @@ import useConnectWallet from '../useConnectWallet'; import { WebLoginProvider } from '../context'; import config from '../data/config'; -jest.mock('../useExternalStore', () => () => ({ - store: { - getState: () => null, - subscribe: () => null, - }, +vi.mock('../useExternalStore', () => ({ + default: () => ({ + store: { + getState: () => null, + subscribe: () => null, + }, + }), })); -beforeEach(() => { - jest.clearAllMocks(); -}); - const Comp = () => { useConnectWallet(); return null; diff --git a/packages/react/vite.config.ts b/packages/react/vite.config.ts new file mode 100644 index 00000000..08b9a087 --- /dev/null +++ b/packages/react/vite.config.ts @@ -0,0 +1,4 @@ +import baseViteConfig from '../tools/vite.config'; +import { mergeConfig } from 'vitest/config'; + +export default mergeConfig(baseViteConfig, {}); diff --git a/packages/react/vitest.setup.ts b/packages/react/vitest.setup.ts new file mode 100644 index 00000000..47ab9824 --- /dev/null +++ b/packages/react/vitest.setup.ts @@ -0,0 +1,25 @@ +import { vi } from 'vitest'; +import '../tools/__mocks__/setupGlobal'; +import '../tools/__mocks__/setupLocal'; +import { type IBridgeAPI } from '@aelf-web-login/wallet-adapter-bridge'; + +vi.mock('@aelf-web-login/wallet-adapter-bridge', () => ({ + initBridge: vi.fn().mockReturnValue({ + getSignIn: vi.fn((children) => children), + store: { + getState: () => null, + subscribe: () => null, + }, + instance: {} as IBridgeAPI['instance'], + }), +})); + +vi.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ + PortkeyAAWallet: vi.fn(), +})); + +vi.mock('vconsole'); + +afterEach(() => { + vi.clearAllMocks(); +}); From 794fffe454409bb678c7df51e4d13925246cd61f Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 17:11:35 +0800 Subject: [PATCH 17/25] chore: use vitest UI in /utils --- package.json | 8 - packages/bridge/package.json | 1 - packages/react/package.json | 1 - packages/tools/__mocks__/setupGlobal.ts | 26 +++ packages/tools/vite.config.ts | 1 + packages/utils/jest.config.ts | 187 ------------------ packages/utils/package.json | 7 +- packages/utils/setupTests.ts | 1 - .../address/__tests__/decodeAddress.test.ts | 13 +- .../__tests__/getRawTransaction.test.ts | 19 +- .../__tests__/getRawTransactionNight.test.ts | 13 +- .../getRawTransactionPortkey.test.ts | 19 +- .../__tests__/getTxResultRetry.test.ts | 19 +- .../useCheckAllowanceAndApprove.test.ts | 51 +++-- .../contract/__tests__/useGetBalance.test.ts | 11 +- .../src/is/__tests__/isAElfBridge.test.ts | 8 +- .../src/is/__tests__/isMobileDevices.test.ts | 34 ++-- .../utils/src/is/__tests__/isPortkey.test.ts | 8 +- .../src/is/__tests__/isPrivateKey.test.ts | 2 +- packages/utils/src/is/isMobileDevices.ts | 1 + .../src/utility/__tests__/Loading.test.tsx | 4 +- .../utils/src/utility/__tests__/sleep.test.ts | 4 +- packages/utils/vite.config.ts | 4 + packages/utils/vitest.setup.ts | 2 + pnpm-lock.yaml | 6 - tsconfig.base.json | 2 +- 26 files changed, 146 insertions(+), 306 deletions(-) delete mode 100644 packages/utils/jest.config.ts delete mode 100644 packages/utils/setupTests.ts create mode 100644 packages/utils/vite.config.ts create mode 100644 packages/utils/vitest.setup.ts diff --git a/package.json b/package.json index 06c55819..09d30f44 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,6 @@ "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@types/jest": "^29.5.12", "@types/node": "^22.9.3", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", @@ -72,7 +71,6 @@ "@typescript-eslint/parser": "^7.1.1", "@vitest/coverage-v8": "^2.1.5", "@vitest/ui": "^2.1.5", - "babel-jest": "^29.7.0", "babel-plugin-transform-remove-console": "^6.9.4", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", @@ -83,17 +81,11 @@ "father": "^4.3.8", "happy-dom": "^15.11.6", "husky": "^8.0.3", - "jest": "^29.7.0", - "jest-canvas-mock": "^2.5.2", - "jest-environment-jsdom": "^29.7.0", - "jest-junit": "^16.0.0", - "jest-transform-stub": "^2.0.0", "jsdom": "^23.0.1", "lint-staged": "^15.2.0", "node-fetch": "^3.3.2", "prettier": "^3.1.1", "rimraf": "^5.0.5", - "ts-jest": "^29.2.5", "typescript": "^5.3.3", "vite-tsconfig-paths": "^5.1.3", "vitest": "^2.1.5" diff --git a/packages/bridge/package.json b/packages/bridge/package.json index 10c802de..9f940079 100755 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -41,7 +41,6 @@ "react-dom": "^18.0.0" }, "devDependencies": { - "babel-jest": "^29.7.0", "@portkey/did-ui-react": "^2.15.9", "@portkey/types": "^2.15.9", "@portkey/utils": "^2.15.9", diff --git a/packages/react/package.json b/packages/react/package.json index 1b7cc23a..17ff1091 100755 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -40,7 +40,6 @@ "@babel/preset-env": "^7.24.7", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@types/jest": "^29.5.13", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", "father": "^4.3.8" diff --git a/packages/tools/__mocks__/setupGlobal.ts b/packages/tools/__mocks__/setupGlobal.ts index 461458c4..f4177288 100644 --- a/packages/tools/__mocks__/setupGlobal.ts +++ b/packages/tools/__mocks__/setupGlobal.ts @@ -36,6 +36,32 @@ if (typeof window !== 'undefined') { })), }); } +// https://github.com/wobsoriano/vitest-canvas-mock/issues/16 +if (typeof HTMLCanvasElement !== 'undefined') { + HTMLCanvasElement.prototype.getContext = vi.fn().mockReturnValue({ + fillRect: vi.fn(), + clearRect: vi.fn(), + getImageData: vi.fn().mockReturnValue({ data: [] }), + putImageData: vi.fn(), + createImageData: vi.fn().mockReturnValue([]), + setTransform: vi.fn(), + drawImage: vi.fn(), + save: vi.fn(), + fillText: vi.fn(), + restore: vi.fn(), + beginPath: vi.fn(), + moveTo: vi.fn(), + lineTo: vi.fn(), + closePath: vi.fn(), + stroke: vi.fn(), + translate: vi.fn(), + scale: vi.fn(), + rotate: vi.fn(), + arc: vi.fn(), + fill: vi.fn(), + measureText: vi.fn().mockReturnValue({ width: 0 }), + }); +} import { TextEncoder, TextDecoder } from 'util'; global.TextEncoder = TextEncoder; diff --git a/packages/tools/vite.config.ts b/packages/tools/vite.config.ts index 45adf8a4..3252a69a 100644 --- a/packages/tools/vite.config.ts +++ b/packages/tools/vite.config.ts @@ -20,6 +20,7 @@ export default defineConfig({ optimizer: { web: { enabled: true, + include: [], }, }, }, diff --git a/packages/utils/jest.config.ts b/packages/utils/jest.config.ts deleted file mode 100644 index 142c4581..00000000 --- a/packages/utils/jest.config.ts +++ /dev/null @@ -1,187 +0,0 @@ -/** - * For a detailed explanation regarding each configuration property, visit: - * https://jestjs.io/docs/configuration - */ - -import type { Config } from 'jest'; - -const config: Config = { - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/private/var/folders/46/f0k6l2594mg21yh77r2msl8w0000gn/T/jest_dx", - - // Automatically clear mock calls, instances, contexts and results before every test - clearMocks: true, - - // Indicates whether the coverage information should be collected while executing the test - collectCoverage: true, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files - coverageDirectory: 'coverage', - - // An array of regexp pattern strings used to skip coverage collection - // coveragePathIgnorePatterns: [ - // "/node_modules/" - // ], - - // Indicates which provider should be used to instrument code for coverage - // coverageProvider: "babel", - - // A list of reporter names that Jest uses when writing coverage reports - coverageReporters: ['json-summary', 'text'], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // The default configuration for fake timers - // fakeTimers: { - // "enableGlobally": false - // }, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - // moduleFileExtensions: ['js', 'mjs', 'cjs', 'jsx', 'ts', 'tsx', 'json', 'node'], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module - moduleNameMapper: { '\\.(css|less|sass|scss)$': 'identity-obj-proxy' }, - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - // preset: 'babel-jest', - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - reporters: [ - 'default', - [ - 'jest-junit', - { - outputDirectory: '.', - outputName: 'jest-report.xml', - }, - ], - ], - - // Automatically reset mock state before every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state and implementation before every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - // rootDir: undefined, - - // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - setupFiles: ['jest-canvas-mock'], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - setupFilesAfterEnv: ['/setupTests.ts'], - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - // snapshotSerializers: [], - - // The test environment that will be used for testing - testEnvironment: 'node', - - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - // testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jest-circus/runner", - - // A map from regular expressions to paths to transformers - transform: { '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest', '^.+\\.js$': 'babel-jest' }, - - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: [], - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, -}; - -export default config; diff --git a/packages/utils/package.json b/packages/utils/package.json index fa1d6c03..e476cf4b 100755 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -23,9 +23,10 @@ "scripts": { "dev": "father dev", "build": "father build", - "test": "jest --config=jest.config.ts --detectOpenHandles", - "test:watch": "jest --config=jest.config.ts --watch --detectOpenHandles", - "test:coverage": "jest --config=jest.config.ts --coverage --detectOpenHandles" + "test": "vitest", + "test:dev": "pnpm test -- --watch", + "test:coverage": "pnpm test -- --coverage", + "test:ui": "pnpm test:dev --ui" }, "dependencies": { "@aelf-web-login/wallet-adapter-base": "0.1.2", diff --git a/packages/utils/setupTests.ts b/packages/utils/setupTests.ts deleted file mode 100644 index 7b0828bf..00000000 --- a/packages/utils/setupTests.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom'; diff --git a/packages/utils/src/address/__tests__/decodeAddress.test.ts b/packages/utils/src/address/__tests__/decodeAddress.test.ts index 8539726c..c534b7b8 100644 --- a/packages/utils/src/address/__tests__/decodeAddress.test.ts +++ b/packages/utils/src/address/__tests__/decodeAddress.test.ts @@ -1,18 +1,21 @@ +import { type Mock } from 'vitest'; import { decodeAddress } from '../decodeAddress'; import AElf from 'aelf-sdk'; // Mock AElf.utils.decodeAddressRep to avoid actual decoding during tests -jest.mock('aelf-sdk', () => { +vi.mock('aelf-sdk', () => { return { - utils: { - decodeAddressRep: jest.fn(), + default: { + utils: { + decodeAddressRep: vi.fn(), + }, }, }; }); describe('decodeAddress', () => { beforeEach(() => { - (AElf.utils.decodeAddressRep as jest.Mock).mockClear(); + (AElf.utils.decodeAddressRep as Mock).mockClear(); }); it('should return false when address is empty', () => { @@ -38,7 +41,7 @@ describe('decodeAddress', () => { }); it('should return false when AElf.utils.decodeAddressRep throws an error', () => { - (AElf.utils.decodeAddressRep as jest.Mock).mockImplementation(() => { + (AElf.utils.decodeAddressRep as Mock).mockImplementation(() => { throw new Error('Decoding failed'); }); expect(decodeAddress('validAddress')).toBe(false); diff --git a/packages/utils/src/contract/__tests__/getRawTransaction.test.ts b/packages/utils/src/contract/__tests__/getRawTransaction.test.ts index 80b026c2..e11337b4 100644 --- a/packages/utils/src/contract/__tests__/getRawTransaction.test.ts +++ b/packages/utils/src/contract/__tests__/getRawTransaction.test.ts @@ -3,23 +3,24 @@ import getRawTransactionDiscover from '../getRawTransactionDiscover'; import getRawTransactionPortkey from '../getRawTransactionPortkey'; import { getRawTransaction } from '../getRawTransaction'; import { WalletTypeEnum, TWalletInfo } from '@aelf-web-login/wallet-adapter-base'; +import { type Mock } from 'vitest'; -jest.mock('../getRawTransactionNight', () => ({ +vi.mock('../getRawTransactionNight', () => ({ __esModule: true, - default: jest.fn().mockResolvedValue('encodedDataMock1'), + default: vi.fn().mockResolvedValue('encodedDataMock1'), })); -jest.mock('../getRawTransactionDiscover', () => ({ +vi.mock('../getRawTransactionDiscover', () => ({ __esModule: true, - default: jest.fn().mockResolvedValue('encodedDataMock2'), + default: vi.fn().mockResolvedValue('encodedDataMock2'), })); -jest.mock('../getRawTransactionPortkey', () => ({ +vi.mock('../getRawTransactionPortkey', () => ({ __esModule: true, - default: jest.fn().mockResolvedValue('encodedDataMock3'), + default: vi.fn().mockResolvedValue('encodedDataMock3'), })); describe('getRawTransaction', () => { afterEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should call getRawTransactionPortkey for WalletTypeEnum.aa and return its result', async () => { @@ -100,9 +101,9 @@ describe('getRawTransaction', () => { it('should log and return null when an error occurs', async () => { const walletInfo: TWalletInfo = { address: 'mockAddress' }; - const consoleLogSpy = jest.spyOn(console, 'log').mockImplementation(); + const consoleLogSpy = vi.spyOn(console, 'log').mockImplementation(); - (getRawTransactionDiscover as jest.Mock).mockImplementation(() => { + (getRawTransactionDiscover as Mock).mockImplementation(() => { throw new Error('Decoding failed'); }); diff --git a/packages/utils/src/contract/__tests__/getRawTransactionNight.test.ts b/packages/utils/src/contract/__tests__/getRawTransactionNight.test.ts index 1ce9676b..2728afa7 100644 --- a/packages/utils/src/contract/__tests__/getRawTransactionNight.test.ts +++ b/packages/utils/src/contract/__tests__/getRawTransactionNight.test.ts @@ -1,20 +1,21 @@ import { getContractBasic } from '@portkey/contracts'; import getRawTransactionNight, { CreateTransactionParamsOfNight } from '../getRawTransactionNight'; +import { type Mock } from 'vitest'; -jest.mock('@portkey/contracts', () => ({ - getContractBasic: jest.fn(), +vi.mock('@portkey/contracts', () => ({ + getContractBasic: vi.fn(), })); describe('getRawTransactionNight', () => { beforeEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should return encoded transaction data', async () => { const mockContract = { - encodedTx: jest.fn().mockResolvedValue({ data: 'encodedDataMock' }), + encodedTx: vi.fn().mockResolvedValue({ data: 'encodedDataMock' }), }; - (getContractBasic as jest.Mock).mockResolvedValue(mockContract); + (getContractBasic as Mock).mockResolvedValue(mockContract); const params: CreateTransactionParamsOfNight = { contractAddress: '0xExampleAddress', @@ -39,7 +40,7 @@ describe('getRawTransactionNight', () => { }); it('should handle errors from getContractBasic', async () => { - (getContractBasic as jest.Mock).mockRejectedValue(new Error('Failed to get contract')); + (getContractBasic as Mock).mockRejectedValue(new Error('Failed to get contract')); try { await getRawTransactionNight({ diff --git a/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts b/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts index 4430f3cd..f00fa955 100644 --- a/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts +++ b/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts @@ -3,29 +3,30 @@ import getRawTransactionPortkey, { } from '../getRawTransactionPortkey'; import { getContractBasic } from '@portkey/contracts'; import { aelf } from '@portkey/utils'; +import { type Mock } from 'vitest'; -jest.mock('@portkey/contracts', () => ({ - getContractBasic: jest.fn(), +vi.mock('@portkey/contracts', () => ({ + getContractBasic: vi.fn(), })); -jest.mock('@portkey/utils', () => ({ +vi.mock('@portkey/utils', () => ({ aelf: { - getWallet: jest.fn(), + getWallet: vi.fn(), }, })); describe('getRawTransactionPortkey', () => { beforeEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should return encoded transaction data', async () => { const mockContract = { - encodedTx: jest.fn().mockResolvedValue({ data: 'encodedDataMock' }), + encodedTx: vi.fn().mockResolvedValue({ data: 'encodedDataMock' }), }; - (getContractBasic as jest.Mock).mockResolvedValue(mockContract); + (getContractBasic as Mock).mockResolvedValue(mockContract); - (aelf.getWallet as jest.Mock).mockReturnValue({ + (aelf.getWallet as Mock).mockReturnValue({ address: 'testAddress', }); @@ -57,7 +58,7 @@ describe('getRawTransactionPortkey', () => { }); it('should reject with error when getContractBasic fails', async () => { - (getContractBasic as jest.Mock).mockRejectedValue(new Error('Failed to get contract')); + (getContractBasic as Mock).mockRejectedValue(new Error('Failed to get contract')); const params: IRowTransactionPortkeyParams = { caHash: '0xExampleCaHash', diff --git a/packages/utils/src/contract/__tests__/getTxResultRetry.test.ts b/packages/utils/src/contract/__tests__/getTxResultRetry.test.ts index e9a8cbb3..dea93f09 100644 --- a/packages/utils/src/contract/__tests__/getTxResultRetry.test.ts +++ b/packages/utils/src/contract/__tests__/getTxResultRetry.test.ts @@ -1,24 +1,25 @@ +import { type Mock } from 'vitest'; import { getAElf, getTxResultRetry } from '../getTxResultRetry'; import { getTxResult } from '@portkey/contracts'; -jest.mock('@portkey/contracts', () => ({ - getTxResult: jest.fn(), +vi.mock('@portkey/contracts', () => ({ + getTxResult: vi.fn(), })); describe('test getAElf', () => { beforeEach(() => { - const mockConstructor = jest.fn((param1) => { + const mockConstructor = vi.fn((param1) => { return { param1, }; }); - const mockProviders = jest.fn().mockImplementation(() => { + const mockProviders = vi.fn().mockImplementation(() => { return { - HttpProvider: jest.fn().mockReturnValueOnce({}), + HttpProvider: vi.fn().mockReturnValueOnce({}), }; }); - jest.doMock('aelf-sdk', () => ({ + vi.doMock('aelf-sdk', () => ({ __esModule: true, default: mockConstructor, providers: mockProviders, @@ -48,7 +49,7 @@ describe('test getAElf', () => { describe('test getTxResultRetry', () => { beforeEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('returns mined transaction result', async () => { @@ -56,7 +57,7 @@ describe('test getTxResultRetry', () => { Status: 'MINED', }; - (getTxResult as jest.Mock).mockResolvedValue(mockTxResult); + (getTxResult as Mock).mockResolvedValue(mockTxResult); const TransactionId = 'some-transaction-id'; const rpcUrl = 'https://example-rpc.com'; @@ -70,7 +71,7 @@ describe('test getTxResultRetry', () => { const mockTxResult = { Status: 'FAILED', }; - (getTxResult as jest.Mock).mockResolvedValue(mockTxResult); + (getTxResult as Mock).mockResolvedValue(mockTxResult); const TransactionId = 'another-transaction-id'; const rpcUrl = 'https://example-rpc.com'; diff --git a/packages/utils/src/contract/__tests__/useCheckAllowanceAndApprove.test.ts b/packages/utils/src/contract/__tests__/useCheckAllowanceAndApprove.test.ts index fb76edb3..16be653f 100644 --- a/packages/utils/src/contract/__tests__/useCheckAllowanceAndApprove.test.ts +++ b/packages/utils/src/contract/__tests__/useCheckAllowanceAndApprove.test.ts @@ -1,21 +1,20 @@ -/** @jest-environment jsdom */ - import { renderHook, act } from '@testing-library/react'; import { useCheckAllowanceAndApprove } from '../useCheckAllowanceAndApprove'; import { useConnectWallet } from '@aelf-web-login/wallet-adapter-react'; -import { TChainId } from '@aelf-web-login/wallet-adapter-base'; +import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; +import { type Mock } from 'vitest'; -jest.mock('@aelf-web-login/wallet-adapter-react', () => ({ - // ...jest.requireActual('@aelf-web-login/wallet-adapter-react'), - useConnectWallet: jest.fn(), +vi.mock('@aelf-web-login/wallet-adapter-react', () => ({ + // ...vi.requireActual('@aelf-web-login/wallet-adapter-react'), + useConnectWallet: vi.fn(), })); describe('useCheckAllowanceAndApprove allowance is little than amount', () => { - let mockCallViewMethod: jest.Mock; - let mockCallSendMethod: jest.Mock; + let mockCallViewMethod: Mock; + let mockCallSendMethod: Mock; beforeEach(() => { - mockCallViewMethod = jest.fn((params) => { + mockCallViewMethod = vi.fn((params) => { switch (params.methodName) { case 'GetAllowance': return Promise.resolve({ @@ -29,15 +28,15 @@ describe('useCheckAllowanceAndApprove allowance is little than amount', () => { return Promise.reject(new Error('Unsupported method')); } }); - mockCallSendMethod = jest.fn(); - (useConnectWallet as jest.Mock).mockReturnValue({ + mockCallSendMethod = vi.fn(); + (useConnectWallet as Mock).mockReturnValue({ callViewMethod: mockCallViewMethod, callSendMethod: mockCallSendMethod, }); }); afterEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should correctly call GetAllowance and GetTokenInfo when starting', async () => { @@ -82,18 +81,18 @@ describe('useCheckAllowanceAndApprove allowance is little than amount', () => { }); it('should log and return error when an error occurs', async () => { - (mockCallViewMethod as jest.Mock).mockImplementation(() => { + (mockCallViewMethod as Mock).mockImplementation(() => { throw new Error('failed'); }); }); }); describe('useCheckAllowanceAndApprove allowance is big than amount', () => { - let mockCallViewMethod: jest.Mock; - let mockCallSendMethod: jest.Mock; + let mockCallViewMethod: Mock; + let mockCallSendMethod: Mock; beforeEach(() => { - mockCallViewMethod = jest.fn((params) => { + mockCallViewMethod = vi.fn((params) => { switch (params.methodName) { case 'GetAllowance': return Promise.resolve({ @@ -111,15 +110,15 @@ describe('useCheckAllowanceAndApprove allowance is big than amount', () => { return Promise.reject(new Error('Unsupported method')); } }); - mockCallSendMethod = jest.fn(); - (useConnectWallet as jest.Mock).mockReturnValue({ + mockCallSendMethod = vi.fn(); + (useConnectWallet as Mock).mockReturnValue({ callViewMethod: mockCallViewMethod, callSendMethod: mockCallSendMethod, }); }); afterEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should correctly call GetAllowance and GetTokenInfo when starting', async () => { @@ -152,20 +151,20 @@ describe('useCheckAllowanceAndApprove allowance is big than amount', () => { }); describe('useCheckAllowanceAndApprove error occurs', () => { - let mockCallViewMethod: jest.Mock; - let mockCallSendMethod: jest.Mock; + let mockCallViewMethod: Mock; + let mockCallSendMethod: Mock; beforeEach(() => { - mockCallViewMethod = jest.fn(); - mockCallSendMethod = jest.fn(); - (useConnectWallet as jest.Mock).mockReturnValue({ + mockCallViewMethod = vi.fn(); + mockCallSendMethod = vi.fn(); + (useConnectWallet as Mock).mockReturnValue({ callViewMethod: mockCallViewMethod, callSendMethod: mockCallSendMethod, }); }); afterEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); it('should log and return error when an error occurs', async () => { @@ -186,7 +185,7 @@ describe('useCheckAllowanceAndApprove error occurs', () => { chainId, }), ); - (mockCallViewMethod as jest.Mock).mockImplementation(() => { + (mockCallViewMethod as Mock).mockImplementation(() => { throw new Error('failed'); }); diff --git a/packages/utils/src/contract/__tests__/useGetBalance.test.ts b/packages/utils/src/contract/__tests__/useGetBalance.test.ts index 67e26e39..3babab74 100644 --- a/packages/utils/src/contract/__tests__/useGetBalance.test.ts +++ b/packages/utils/src/contract/__tests__/useGetBalance.test.ts @@ -1,16 +1,13 @@ -/** @jest-environment jsdom */ import { renderHook, act } from '@testing-library/react'; import { useGetBalance } from '../useGetBalance'; -import { setupJestCanvasMock } from 'jest-canvas-mock'; beforeEach(() => { - jest.clearAllMocks(); - setupJestCanvasMock(); + vi.clearAllMocks(); }); -jest.mock('@aelf-web-login/wallet-adapter-react', () => ({ - useConnectWallet: jest.fn(() => ({ - callViewMethod: jest.fn(), +vi.mock('@aelf-web-login/wallet-adapter-react', () => ({ + useConnectWallet: vi.fn(() => ({ + callViewMethod: vi.fn(), })), })); diff --git a/packages/utils/src/is/__tests__/isAElfBridge.test.ts b/packages/utils/src/is/__tests__/isAElfBridge.test.ts index e52c1513..828f477b 100644 --- a/packages/utils/src/is/__tests__/isAElfBridge.test.ts +++ b/packages/utils/src/is/__tests__/isAElfBridge.test.ts @@ -2,20 +2,20 @@ import { isAElfBridge } from '../isAElfBridge'; import { AElfDappBridge } from '@aelf-react/types'; describe('test isAElfBridge', () => { - test('return true when contain options and connect', () => { + it('return true when contain options and connect', () => { const aelfBridge = { options: { rpcUrl: 'test', chainId: 'test', }, - connect: jest.fn(), + connect: vi.fn(), }; expect(isAElfBridge(aelfBridge as unknown as AElfDappBridge)).toBeTruthy(); }); - test('return false when miss options and connect', () => { + it('return false when miss options and connect', () => { const aelfBridge = { - connect: jest.fn(), + connect: vi.fn(), }; expect(isAElfBridge(aelfBridge as unknown as AElfDappBridge)).toBeFalsy(); }); diff --git a/packages/utils/src/is/__tests__/isMobileDevices.test.ts b/packages/utils/src/is/__tests__/isMobileDevices.test.ts index 82d454f8..73f07155 100644 --- a/packages/utils/src/is/__tests__/isMobileDevices.test.ts +++ b/packages/utils/src/is/__tests__/isMobileDevices.test.ts @@ -1,25 +1,33 @@ import { isMobileDevices } from '../isMobileDevices'; +import type DetachedWindowAPI from 'happy-dom/lib/window/DetachedWindowAPI.js'; -describe('isMobileDevices', () => { - const originalNavigator = global.navigator; +declare global { + const happyDOM: DetachedWindowAPI; +} +const originalNavigator = happyDOM.settings.navigator; + +beforeEach(() => { + // global.navigator = { + // userAgent: + // 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148', + // } as Navigator; +}); + +afterEach(() => { + happyDOM.settings.navigator = originalNavigator; +}); - beforeEach(() => { - global.navigator = { +describe('isMobileDevices', () => { + it('returns true for mobile user agent', () => { + happyDOM.settings.navigator = { userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148', } as Navigator; - }); - - afterEach(() => { - global.navigator = originalNavigator; - }); - - test('returns true for mobile user agent', () => { expect(isMobileDevices()).toBe(true); }); - test('returns false for desktop user agent', () => { - global.navigator = { + it('returns false for desktop user agent', () => { + happyDOM.settings.navigator = { userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36', } as Navigator; diff --git a/packages/utils/src/is/__tests__/isPortkey.test.ts b/packages/utils/src/is/__tests__/isPortkey.test.ts index f8af8cc6..460d7332 100644 --- a/packages/utils/src/is/__tests__/isPortkey.test.ts +++ b/packages/utils/src/is/__tests__/isPortkey.test.ts @@ -12,8 +12,8 @@ describe('isPortkey in window', () => { (global as any).window = { document: { body: {}, - addEventListener: jest.fn(), - removeEventListener: jest.fn(), + addEventListener: vi.fn(), + removeEventListener: vi.fn(), }, navigator: { userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)', @@ -21,8 +21,8 @@ describe('isPortkey in window', () => { }, location: { href: '', - reload: jest.fn(), - replace: jest.fn(), + reload: vi.fn(), + replace: vi.fn(), }, }; }); diff --git a/packages/utils/src/is/__tests__/isPrivateKey.test.ts b/packages/utils/src/is/__tests__/isPrivateKey.test.ts index 1c5aebef..4bfc75af 100644 --- a/packages/utils/src/is/__tests__/isPrivateKey.test.ts +++ b/packages/utils/src/is/__tests__/isPrivateKey.test.ts @@ -10,7 +10,7 @@ describe('test isPrivateKey', () => { test('returns false when Buffer.from throw error', () => { const originalFrom = Buffer.from; - jest.spyOn(Buffer, 'from').mockImplementationOnce(() => { + vi.spyOn(Buffer, 'from').mockImplementationOnce(() => { throw new Error('Mocked buffer error'); }); diff --git a/packages/utils/src/is/isMobileDevices.ts b/packages/utils/src/is/isMobileDevices.ts index c37dea46..b0cda78d 100644 --- a/packages/utils/src/is/isMobileDevices.ts +++ b/packages/utils/src/is/isMobileDevices.ts @@ -187,5 +187,6 @@ export function isMobile(param?: IsMobileParameter): isMobileResult { export function isMobileDevices() { const isM = isMobile(); + console.log('---', navigator.userAgent, '---', isM, '---', happyDOM.settings.navigator); return isM.apple.device || isM.android.device; } diff --git a/packages/utils/src/utility/__tests__/Loading.test.tsx b/packages/utils/src/utility/__tests__/Loading.test.tsx index 2fff47e8..1ea2bbd4 100644 --- a/packages/utils/src/utility/__tests__/Loading.test.tsx +++ b/packages/utils/src/utility/__tests__/Loading.test.tsx @@ -1,6 +1,4 @@ -/** @jest-environment jsdom */ import { screen, waitFor, act } from '@testing-library/react'; -import '@testing-library/jest-dom'; import { Loading } from '../Loading'; describe('Loading class', () => { @@ -11,7 +9,7 @@ describe('Loading class', () => { }); afterEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); document.body.innerHTML = ''; }); diff --git a/packages/utils/src/utility/__tests__/sleep.test.ts b/packages/utils/src/utility/__tests__/sleep.test.ts index 76f2ea7e..419a172c 100644 --- a/packages/utils/src/utility/__tests__/sleep.test.ts +++ b/packages/utils/src/utility/__tests__/sleep.test.ts @@ -1,7 +1,7 @@ import { sleep } from '../sleep'; -jest.useFakeTimers(); -jest.spyOn(global, 'setTimeout'); +vi.useFakeTimers(); +vi.spyOn(global, 'setTimeout'); test('waits 1 second', () => { sleep(1000); diff --git a/packages/utils/vite.config.ts b/packages/utils/vite.config.ts new file mode 100644 index 00000000..08b9a087 --- /dev/null +++ b/packages/utils/vite.config.ts @@ -0,0 +1,4 @@ +import baseViteConfig from '../tools/vite.config'; +import { mergeConfig } from 'vitest/config'; + +export default mergeConfig(baseViteConfig, {}); diff --git a/packages/utils/vitest.setup.ts b/packages/utils/vitest.setup.ts new file mode 100644 index 00000000..a5309360 --- /dev/null +++ b/packages/utils/vitest.setup.ts @@ -0,0 +1,2 @@ +import '../tools/__mocks__/setupGlobal'; +import '../tools/__mocks__/setupLocal'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e48a166d..b8821caa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -215,9 +215,6 @@ importers: antd: specifier: 4.24.14 version: 4.24.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - babel-jest: - specifier: ^29.7.0 - version: 29.7.0(@babel/core@7.25.2) father: specifier: ^4.3.8 version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) @@ -252,9 +249,6 @@ importers: '@babel/preset-typescript': specifier: ^7.24.7 version: 7.24.7(@babel/core@7.25.2) - '@types/jest': - specifier: ^29.5.13 - version: 29.5.13 '@types/react': specifier: ^18.3.1 version: 18.3.9 diff --git a/tsconfig.base.json b/tsconfig.base.json index 3f75251f..a010a91b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -30,6 +30,6 @@ "@aelf-web-login/tools": ["./packages/tools"], "~/*": ["./*"] }, - "types": ["node", "jest", "@testing-library/jest-dom", "vitest/globals"] + "types": ["node", "@testing-library/jest-dom", "vitest/globals"] } } From 301019746aa1d31e670a6eb57bd60b996c6bd0ea Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 17:33:39 +0800 Subject: [PATCH 18/25] chore: remove jsdom and happy-dom in jest --- package.json | 2 - pnpm-lock.yaml | 771 +++++++++++++++++++------------------------------ 2 files changed, 298 insertions(+), 475 deletions(-) diff --git a/package.json b/package.json index 09d30f44..7f3e6f24 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,6 @@ "@biomejs/biome": "^1.9.2", "@changesets/changelog-git": "^0.2.0", "@changesets/cli": "^2.27.1", - "@happy-dom/jest-environment": "^15.11.6", "@ianvs/prettier-plugin-sort-imports": "^4.1.1", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", @@ -81,7 +80,6 @@ "father": "^4.3.8", "happy-dom": "^15.11.6", "husky": "^8.0.3", - "jsdom": "^23.0.1", "lint-staged": "^15.2.0", "node-fetch": "^3.3.2", "prettier": "^3.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8821caa..d3b5c29a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,9 +36,6 @@ importers: '@changesets/cli': specifier: ^2.27.1 version: 2.27.8 - '@happy-dom/jest-environment': - specifier: ^15.11.6 - version: 15.11.6 '@ianvs/prettier-plugin-sort-imports': specifier: ^4.1.1 version: 4.3.1(prettier@3.3.3) @@ -51,9 +48,6 @@ importers: '@testing-library/react-hooks': specifier: ^8.0.1 version: 8.0.1(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@types/jest': - specifier: ^29.5.12 - version: 29.5.13 '@types/node': specifier: ^22.9.3 version: 22.9.3 @@ -75,9 +69,6 @@ importers: '@vitest/ui': specifier: ^2.1.5 version: 2.1.5(vitest@2.1.5) - babel-jest: - specifier: ^29.7.0 - version: 29.7.0(@babel/core@7.25.2) babel-plugin-transform-remove-console: specifier: ^6.9.4 version: 6.9.4 @@ -101,31 +92,13 @@ importers: version: 3.2.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1) father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) happy-dom: specifier: ^15.11.6 version: 15.11.6 husky: specifier: ^8.0.3 version: 8.0.3 - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) - jest-canvas-mock: - specifier: ^2.5.2 - version: 2.5.2 - jest-environment-jsdom: - specifier: ^29.7.0 - version: 29.7.0 - jest-junit: - specifier: ^16.0.0 - version: 16.0.0 - jest-transform-stub: - specifier: ^2.0.0 - version: 2.0.0 - jsdom: - specifier: ^23.0.1 - version: 23.2.0 lint-staged: specifier: ^15.2.0 version: 15.2.10 @@ -138,9 +111,6 @@ importers: rimraf: specifier: ^5.0.5 version: 5.0.10 - ts-jest: - specifier: ^29.2.5 - version: 29.2.5(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(typescript@5.6.2) typescript: specifier: ^5.3.3 version: 5.6.2 @@ -217,7 +187,7 @@ importers: version: 4.24.14(react-dom@18.3.1(react@18.3.1))(react@18.3.1) father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) packages/react: dependencies: @@ -257,7 +227,7 @@ importers: version: 18.3.0 father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) packages/starter: dependencies: @@ -387,7 +357,7 @@ importers: version: 3.4.15(@babel/core@7.25.2)(encoding@0.1.13)(eslint@8.57.1) father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) identity-obj-proxy: specifier: ^3.0.0 version: 3.0.0 @@ -418,7 +388,7 @@ importers: version: 5.1.6 father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) typescript: specifier: ^5.3.3 version: 5.6.2 @@ -443,7 +413,7 @@ importers: version: 2.15.9 father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) typescript: specifier: ^5.3.3 version: 5.6.2 @@ -477,7 +447,7 @@ importers: version: 5.1.6 father: specifier: ^4.3.8 - version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + version: 4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0) typescript: specifier: ^5.3.3 version: 5.6.2 @@ -2327,10 +2297,6 @@ packages: peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@happy-dom/jest-environment@15.11.6': - resolution: {integrity: sha512-ExRx7ApOMeKEbKZhuE5578fvcyJjqlB+xOjaVV0lE/AGdo+Wa5FEYCsj8J1UDfMJU5voHxPX+W7wZ42wcKXxwQ==} - engines: {node: '>=18.0.0'} - '@humanwhocodes/config-array@0.13.0': resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} engines: {node: '>=10.10.0'} @@ -3480,10 +3446,6 @@ packages: '@types/react-dom': optional: true - '@tootallnate/once@2.0.0': - resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} - engines: {node: '>= 10'} - '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -3563,15 +3525,9 @@ packages: '@types/istanbul-reports@3.0.4': resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} - '@types/jest@29.5.13': - resolution: {integrity: sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==} - '@types/js-cookie@2.2.7': resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} - '@types/jsdom@20.0.1': - resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} - '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -3653,9 +3609,6 @@ packages: '@types/stylis@4.2.5': resolution: {integrity: sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==} - '@types/tough-cookie@4.0.5': - resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} - '@types/unist@2.0.11': resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} @@ -4131,10 +4084,6 @@ packages: '@xtuc/long@4.2.2': resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} - abab@2.0.6: - resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} - deprecated: Use your platform's native atob() and btoa() methods instead - abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -4143,9 +4092,6 @@ packages: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} - acorn-globals@7.0.1: - resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} - acorn-import-attributes@1.9.5: resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} peerDependencies: @@ -4188,10 +4134,6 @@ packages: resolution: {integrity: sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==} engines: {node: '>= 4.0.0'} - agent-base@6.0.2: - resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} - engines: {node: '>= 6.0.0'} - agent-base@7.1.1: resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} engines: {node: '>= 14'} @@ -4408,9 +4350,6 @@ packages: async-validator@4.2.5: resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} - async@3.2.6: - resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} - asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} @@ -4627,10 +4566,6 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - bs-logger@0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} - bs58@4.0.1: resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} @@ -5156,23 +5091,10 @@ packages: engines: {node: '>=4'} hasBin: true - cssfontparser@1.2.1: - resolution: {integrity: sha512-6tun4LoZnj7VN6YeegOVb67KBX/7JJsqvj+pv3ZA7F878/eN33AbGa5b/S/wXxS/tcp8nc40xRUrsPlxIyNUPg==} - csso@4.2.0: resolution: {integrity: sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==} engines: {node: '>=8.0.0'} - cssom@0.3.8: - resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} - - cssom@0.5.0: - resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==} - - cssstyle@2.3.0: - resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} - engines: {node: '>=8'} - cssstyle@4.1.0: resolution: {integrity: sha512-h66W1URKpBS5YMI/V8PyXvTMFT8SupJ1IzoIV8IeBC/ji8WVmrO8dGlTi+2dh6whmdk6BiKJLD/ZBkhWbcg6nA==} engines: {node: '>=18'} @@ -5194,10 +5116,6 @@ packages: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} - data-urls@3.0.2: - resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} - engines: {node: '>=12'} - data-urls@5.0.0: resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==} engines: {node: '>=18'} @@ -5432,11 +5350,6 @@ packages: domelementtype@2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} - domexception@4.0.0: - resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} - engines: {node: '>=12'} - deprecated: Use your platform's native DOMException instead - domhandler@4.3.1: resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==} engines: {node: '>= 4'} @@ -5500,11 +5413,6 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - ejs@3.1.10: - resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==} - engines: {node: '>=0.10.0'} - hasBin: true - electron-to-chromium@1.5.29: resolution: {integrity: sha512-PF8n2AlIhCKXQ+gTpiJi0VhcHDb69kYX4MtCiivctc2QD3XuNZ/XIOlbGzt7WAjjEev0TtaH6Cu3arZExm5DOw==} @@ -5681,11 +5589,6 @@ packages: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} engines: {node: '>=12'} - escodegen@2.1.0: - resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} - engines: {node: '>=6.0'} - hasBin: true - eslint-config-prettier@9.1.0: resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} hasBin: true @@ -6003,9 +5906,6 @@ packages: file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} - filelist@1.0.4: - resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} - filesize@3.6.1: resolution: {integrity: sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==} engines: {node: '>= 0.4.0'} @@ -6465,10 +6365,6 @@ packages: htm@3.1.1: resolution: {integrity: sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==} - html-encoding-sniffer@3.0.0: - resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} - engines: {node: '>=12'} - html-encoding-sniffer@4.0.0: resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==} engines: {node: '>=18'} @@ -6532,10 +6428,6 @@ packages: resolution: {integrity: sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==} engines: {node: '>= 4.5.0'} - http-proxy-agent@5.0.0: - resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} - engines: {node: '>= 6'} - http-proxy-agent@7.0.2: resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} @@ -6547,10 +6439,6 @@ packages: resolution: {integrity: sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==} engines: {node: '>= 4.5.0'} - https-proxy-agent@5.0.1: - resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} - engines: {node: '>= 6'} - https-proxy-agent@7.0.5: resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} engines: {node: '>= 14'} @@ -7036,17 +6924,9 @@ packages: jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - jake@10.9.2: - resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==} - engines: {node: '>=10'} - hasBin: true - javascript-stringify@2.1.0: resolution: {integrity: sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==} - jest-canvas-mock@2.5.2: - resolution: {integrity: sha512-vgnpPupjOL6+L5oJXzxTxFrlGEIbHdZqFU+LFNdtLxZ3lRDCl17FlTMM7IatoRQkrcyOTMlDinjUguqmQ6bR2A==} - jest-changed-files@29.7.0: resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -7089,15 +6969,6 @@ packages: resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - jest-environment-jsdom@29.7.0: - resolution: {integrity: sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - jest-environment-node@29.7.0: resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -7110,10 +6981,6 @@ packages: resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - jest-junit@16.0.0: - resolution: {integrity: sha512-A94mmw6NfJab4Fg/BlvVOUXzXgF0XIH6EmTgJ5NDPp4xoKq0Kr7sErb+4Xs9nZvu58pJojz5RFGpqnZYJTrRfQ==} - engines: {node: '>=10.12.0'} - jest-leak-detector@29.7.0: resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -7163,9 +7030,6 @@ packages: resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - jest-transform-stub@2.0.0: - resolution: {integrity: sha512-lspHaCRx/mBbnm3h4uMMS3R5aZzMwyNpNIJLXj4cEsV0mIUtS4IjYJLSoyjRCtnxb6RIGJ4NL2quZzfIeNhbkg==} - jest-util@29.7.0: resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -7224,15 +7088,6 @@ packages: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true - jsdom@20.0.3: - resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} - engines: {node: '>=14'} - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - jsdom@23.2.0: resolution: {integrity: sha512-L88oL7D/8ufIES+Zjz7v0aes+oBMh2Xnh3ygWvL0OaICOomKEPKuPnIfBJekiXr+BHbbMjrWn/xqrDQuxFTeyA==} engines: {node: '>=18'} @@ -7472,9 +7327,6 @@ packages: lodash.isequal@4.5.0: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} - lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} - lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} @@ -7821,10 +7673,6 @@ packages: minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - minimatch@5.1.6: - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} - engines: {node: '>=10'} - minimatch@9.0.5: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} @@ -7851,17 +7699,9 @@ packages: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true - mkdirp@1.0.4: - resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} - engines: {node: '>=10'} - hasBin: true - moment@2.30.1: resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} - moo-color@1.0.3: - resolution: {integrity: sha512-i/+ZKXMDf6aqYtBhuOcej71YSlbjT3wCO/4H1j8rPvxDJEifdwgg5MaFyu6iYAT8GBZJg2z0dkgK4YMzvURALQ==} - move-concurrently@1.0.1: resolution: {integrity: sha512-hdrFxZOycD/g6A6SoI2bB5NA/5NEqD0569+S47WZhPvm46sD50ZHdYaFmnua5lndde9rCHGjmfK7Z8BuCt/PcQ==} deprecated: This package is no longer supported. @@ -8022,9 +7862,6 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - nwsapi@2.2.12: - resolution: {integrity: sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==} - object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -10456,10 +10293,6 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@3.0.0: - resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} - engines: {node: '>=12'} - tr46@5.0.0: resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} engines: {node: '>=18'} @@ -10497,30 +10330,6 @@ packages: resolution: {integrity: sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==} engines: {node: '>=8'} - ts-jest@29.2.5: - resolution: {integrity: sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==} - engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@babel/core': ^7.0.0 - '@jest/transform': ^29.0.0 - '@jest/types': ^29.0.0 - babel-jest: ^29.0.0 - esbuild: '*' - jest: ^29.0.0 - typescript: '>=4.3 <6' - peerDependenciesMeta: - '@babel/core': - optional: true - '@jest/transform': - optional: true - '@jest/types': - optional: true - babel-jest: - optional: true - esbuild: - optional: true - ts-node@10.9.2: resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true @@ -10971,10 +10780,6 @@ packages: resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==} engines: {node: '>=0.10.0'} - w3c-xmlserializer@4.0.0: - resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} - engines: {node: '>=14'} - w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} engines: {node: '>=18'} @@ -11021,10 +10826,6 @@ packages: webpack-cli: optional: true - whatwg-encoding@2.0.0: - resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} - engines: {node: '>=12'} - whatwg-encoding@3.1.1: resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} engines: {node: '>=18'} @@ -11040,10 +10841,6 @@ packages: resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} engines: {node: '>=18'} - whatwg-url@11.0.0: - resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} - engines: {node: '>=12'} - whatwg-url@14.0.0: resolution: {integrity: sha512-1lfMEm2IEr7RIV+f4lUNPOqfFL+pO+Xw3fJSqmjX9AbXcXcYOkCe1P6+9VBZB6n94af16NfZf+sSk0JCBZC9aw==} engines: {node: '>=18'} @@ -11153,10 +10950,6 @@ packages: xml-lexer@0.2.2: resolution: {integrity: sha512-G0i98epIwiUEiKmMcavmVdhtymW+pCAohMRgybyIME9ygfVu8QheIi+YoQh3ngiThsT0SQzJT4R0sKDEv8Ou0w==} - xml-name-validator@4.0.0: - resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} - engines: {node: '>=12'} - xml-name-validator@5.0.0: resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} engines: {node: '>=18'} @@ -11164,9 +10957,6 @@ packages: xml-reader@2.4.3: resolution: {integrity: sha512-xWldrIxjeAMAu6+HSf9t50ot1uL5M+BtOidRCWHXIeewvSeIpscWCsp4Zxjk8kHHhdqFBrfK8U0EJeCcnyQ/gA==} - xml@1.0.1: - resolution: {integrity: sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==} - xmlchars@2.2.0: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} @@ -11455,6 +11245,7 @@ snapshots: bidi-js: 1.0.3 css-tree: 2.3.1 is-potential-custom-element-name: 1.0.1 + optional: true '@aws-crypto/crc32@5.2.0': dependencies: @@ -13645,15 +13436,6 @@ snapshots: dependencies: graphql: 16.9.0 - '@happy-dom/jest-environment@15.11.6': - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - happy-dom: 15.11.6 - jest-mock: 29.7.0 - jest-util: 29.7.0 - '@humanwhocodes/config-array@0.13.0': dependencies: '@humanwhocodes/object-schema': 2.0.3 @@ -13718,6 +13500,7 @@ snapshots: jest-message-util: 29.7.0 jest-util: 29.7.0 slash: 3.0.0 + optional: true '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2))': dependencies: @@ -13753,6 +13536,7 @@ snapshots: - babel-plugin-macros - supports-color - ts-node + optional: true '@jest/environment@29.7.0': dependencies: @@ -13760,10 +13544,12 @@ snapshots: '@jest/types': 29.6.3 '@types/node': 22.9.3 jest-mock: 29.7.0 + optional: true '@jest/expect-utils@29.7.0': dependencies: jest-get-type: 29.6.3 + optional: true '@jest/expect@29.7.0': dependencies: @@ -13771,6 +13557,7 @@ snapshots: jest-snapshot: 29.7.0 transitivePeerDependencies: - supports-color + optional: true '@jest/fake-timers@29.7.0': dependencies: @@ -13780,6 +13567,7 @@ snapshots: jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 + optional: true '@jest/globals@29.7.0': dependencies: @@ -13789,6 +13577,7 @@ snapshots: jest-mock: 29.7.0 transitivePeerDependencies: - supports-color + optional: true '@jest/reporters@29.7.0': dependencies: @@ -13818,6 +13607,7 @@ snapshots: v8-to-istanbul: 9.3.0 transitivePeerDependencies: - supports-color + optional: true '@jest/schemas@29.6.3': dependencies: @@ -13828,6 +13618,7 @@ snapshots: '@jridgewell/trace-mapping': 0.3.25 callsites: 3.1.0 graceful-fs: 4.2.11 + optional: true '@jest/test-result@29.7.0': dependencies: @@ -13835,6 +13626,7 @@ snapshots: '@jest/types': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 collect-v8-coverage: 1.0.2 + optional: true '@jest/test-sequencer@29.7.0': dependencies: @@ -13842,6 +13634,7 @@ snapshots: graceful-fs: 4.2.11 jest-haste-map: 29.7.0 slash: 3.0.0 + optional: true '@jest/transform@29.7.0': dependencies: @@ -14732,10 +14525,12 @@ snapshots: '@sinonjs/commons@3.0.1': dependencies: type-detect: 4.0.8 + optional: true '@sinonjs/fake-timers@10.3.0': dependencies: '@sinonjs/commons': 3.0.1 + optional: true '@sketch-hq/sketch-file-format-ts@6.5.0': {} @@ -15302,8 +15097,6 @@ snapshots: '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@tootallnate/once@2.0.0': {} - '@trysound/sax@0.2.0': {} '@tsconfig/node10@1.0.11': @@ -15396,19 +15189,8 @@ snapshots: dependencies: '@types/istanbul-lib-report': 3.0.3 - '@types/jest@29.5.13': - dependencies: - expect: 29.7.0 - pretty-format: 29.7.0 - '@types/js-cookie@2.2.7': {} - '@types/jsdom@20.0.1': - dependencies: - '@types/node': 22.9.3 - '@types/tough-cookie': 4.0.5 - parse5: 7.1.2 - '@types/json-schema@7.0.15': {} '@types/jsonfile@6.1.4': @@ -15483,12 +15265,11 @@ snapshots: '@types/semver@7.5.8': {} - '@types/stack-utils@2.0.3': {} + '@types/stack-utils@2.0.3': + optional: true '@types/stylis@4.2.5': {} - '@types/tough-cookie@4.0.5': {} - '@types/unist@2.0.11': {} '@types/yargs-parser@21.0.3': {} @@ -15781,6 +15562,40 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve + '@umijs/bundler-webpack@4.3.24(type-fest@0.21.3)(typescript@5.3.3)(webpack@5.95.0)': + dependencies: + '@svgr/core': 6.5.1 + '@svgr/plugin-jsx': 6.5.1(@svgr/core@6.5.1) + '@svgr/plugin-svgo': 6.5.1(@svgr/core@6.5.1) + '@types/hapi__joi': 17.1.9 + '@umijs/babel-preset-umi': 4.3.24 + '@umijs/bundler-utils': 4.3.24 + '@umijs/case-sensitive-paths-webpack-plugin': 1.0.1 + '@umijs/mfsu': 4.3.24 + '@umijs/react-refresh-webpack-plugin': 0.5.11(react-refresh@0.14.0)(type-fest@0.21.3)(webpack@5.95.0) + '@umijs/utils': 4.3.24 + cors: 2.8.5 + css-loader: 6.7.1(webpack@5.95.0) + es5-imcompatible-versions: 0.1.90 + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.3.3)(webpack@5.95.0) + jest-worker: 29.4.3 + lightningcss: 1.22.1 + node-libs-browser: 2.2.1 + postcss: 8.4.47 + postcss-preset-env: 7.5.0(postcss@8.4.47) + react-error-overlay: 6.0.9 + react-refresh: 0.14.0 + transitivePeerDependencies: + - '@types/webpack' + - sockjs-client + - supports-color + - type-fest + - typescript + - webpack + - webpack-dev-server + - webpack-hot-middleware + - webpack-plugin-serve + '@umijs/bundler-webpack@4.3.24(type-fest@0.21.3)(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)))': dependencies: '@svgr/core': 6.5.1 @@ -16033,6 +15848,22 @@ snapshots: optionalDependencies: type-fest: 0.21.3 + '@umijs/react-refresh-webpack-plugin@0.5.11(react-refresh@0.14.0)(type-fest@0.21.3)(webpack@5.95.0)': + dependencies: + ansi-html-community: 0.0.8 + common-path-prefix: 3.0.0 + core-js-pure: 3.38.1 + error-stack-parser: 2.1.4 + find-up: 5.0.0 + html-entities: 2.5.2 + loader-utils: 2.0.4 + react-refresh: 0.14.0 + schema-utils: 3.3.0 + source-map: 0.7.4 + webpack: 5.95.0 + optionalDependencies: + type-fest: 0.21.3 + '@umijs/renderer-react@4.3.24(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.23.6 @@ -16268,8 +16099,6 @@ snapshots: '@xtuc/long@4.2.2': {} - abab@2.0.6: {} - abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 @@ -16279,11 +16108,6 @@ snapshots: mime-types: 2.1.35 negotiator: 0.6.3 - acorn-globals@7.0.1: - dependencies: - acorn: 8.12.1 - acorn-walk: 8.3.4 - acorn-import-attributes@1.9.5(acorn@8.12.1): dependencies: acorn: 8.12.1 @@ -16295,6 +16119,7 @@ snapshots: acorn-walk@8.3.4: dependencies: acorn: 8.12.1 + optional: true acorn@8.12.1: {} @@ -16414,17 +16239,12 @@ snapshots: dependencies: es6-promisify: 5.0.0 - agent-base@6.0.2: - dependencies: - debug: 4.3.7 - transitivePeerDependencies: - - supports-color - agent-base@7.1.1: dependencies: debug: 4.3.7 transitivePeerDependencies: - supports-color + optional: true agentkeepalive@3.5.3: dependencies: @@ -16474,6 +16294,7 @@ snapshots: ansi-escapes@4.3.2: dependencies: type-fest: 0.21.3 + optional: true ansi-escapes@7.0.0: dependencies: @@ -16785,9 +16606,8 @@ snapshots: async-validator@4.2.5: {} - async@3.2.6: {} - - asynckit@0.4.0: {} + asynckit@0.4.0: + optional: true atob@2.1.2: {} @@ -16963,6 +16783,7 @@ snapshots: bidi-js@1.0.3: dependencies: require-from-string: 2.0.2 + optional: true big-integer@1.6.52: {} @@ -17099,10 +16920,6 @@ snapshots: node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.24.0) - bs-logger@0.2.6: - dependencies: - fast-json-stable-stringify: 2.1.0 - bs58@4.0.1: dependencies: base-x: 3.0.10 @@ -17266,7 +17083,8 @@ snapshots: chalk@5.3.0: {} - char-regex@1.0.2: {} + char-regex@1.0.2: + optional: true character-entities-html4@2.1.0: {} @@ -17321,7 +17139,8 @@ snapshots: inherits: 2.0.4 safe-buffer: 5.2.1 - cjs-module-lexer@1.4.1: {} + cjs-module-lexer@1.4.1: + optional: true classnames@2.3.2: {} @@ -17368,7 +17187,8 @@ snapshots: clsx@1.2.1: {} - co@4.6.0: {} + co@4.6.0: + optional: true coa@2.0.2: dependencies: @@ -17410,7 +17230,8 @@ snapshots: transitivePeerDependencies: - supports-color - collect-v8-coverage@1.0.2: {} + collect-v8-coverage@1.0.2: + optional: true color-convert@1.9.3: dependencies: @@ -17443,6 +17264,7 @@ snapshots: combined-stream@1.0.8: dependencies: delayed-stream: 1.0.0 + optional: true comma-separated-tokens@2.0.3: {} @@ -17601,6 +17423,7 @@ snapshots: - babel-plugin-macros - supports-color - ts-node + optional: true create-require@1.1.1: optional: true @@ -17665,6 +17488,18 @@ snapshots: semver: 7.6.3 webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)) + css-loader@6.7.1(webpack@5.95.0): + dependencies: + icss-utils: 5.1.0(postcss@8.4.47) + postcss: 8.4.47 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.47) + postcss-modules-local-by-default: 4.0.5(postcss@8.4.47) + postcss-modules-scope: 3.2.0(postcss@8.4.47) + postcss-modules-values: 4.0.0(postcss@8.4.47) + postcss-value-parser: 4.2.0 + semver: 7.6.3 + webpack: 5.95.0 + css-prefers-color-scheme@6.0.3(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -17706,6 +17541,7 @@ snapshots: dependencies: mdn-data: 2.0.30 source-map-js: 1.2.1 + optional: true css-what@3.4.2: {} @@ -17723,23 +17559,14 @@ snapshots: cssesc@3.0.0: {} - cssfontparser@1.2.1: {} - csso@4.2.0: dependencies: css-tree: 1.1.3 - cssom@0.3.8: {} - - cssom@0.5.0: {} - - cssstyle@2.3.0: - dependencies: - cssom: 0.3.8 - cssstyle@4.1.0: dependencies: rrweb-cssom: 0.7.1 + optional: true csstype@3.1.3: {} @@ -17753,16 +17580,11 @@ snapshots: data-uri-to-buffer@4.0.1: {} - data-urls@3.0.2: - dependencies: - abab: 2.0.6 - whatwg-mimetype: 3.0.0 - whatwg-url: 11.0.0 - data-urls@5.0.0: dependencies: whatwg-mimetype: 4.0.0 whatwg-url: 14.0.0 + optional: true data-view-buffer@1.0.1: dependencies: @@ -17816,7 +17638,8 @@ snapshots: decamelize@1.2.0: {} - decimal.js@10.4.3: {} + decimal.js@10.4.3: + optional: true decode-named-character-reference@1.0.2: dependencies: @@ -17827,6 +17650,7 @@ snapshots: dedent@1.5.3(babel-plugin-macros@3.1.0): optionalDependencies: babel-plugin-macros: 3.1.0 + optional: true deep-eql@5.0.2: {} @@ -17871,7 +17695,8 @@ snapshots: has-property-descriptors: 1.0.2 object-keys: 1.1.1 - delayed-stream@1.0.0: {} + delayed-stream@1.0.0: + optional: true depd@2.0.0: {} @@ -17890,13 +17715,15 @@ snapshots: detect-libc@1.0.3: {} - detect-newline@3.1.0: {} + detect-newline@3.1.0: + optional: true detect-newline@4.0.1: {} detect-node@2.1.0: {} - diff-sequences@29.6.3: {} + diff-sequences@29.6.3: + optional: true diff@4.0.2: optional: true @@ -17954,10 +17781,6 @@ snapshots: domelementtype@2.3.0: {} - domexception@4.0.0: - dependencies: - webidl-conversions: 7.0.0 - domhandler@4.3.1: dependencies: domelementtype: 2.3.0 @@ -18128,10 +17951,6 @@ snapshots: ee-first@1.1.1: {} - ejs@3.1.10: - dependencies: - jake: 10.9.2 - electron-to-chromium@1.5.29: {} elliptic@6.5.7: @@ -18144,7 +17963,8 @@ snapshots: minimalistic-assert: 1.0.1 minimalistic-crypto-utils: 1.0.1 - emittery@0.13.1: {} + emittery@0.13.1: + optional: true emoji-regex@10.4.0: {} @@ -18442,20 +18262,13 @@ snapshots: escape-string-regexp@1.0.5: {} - escape-string-regexp@2.0.0: {} + escape-string-regexp@2.0.0: + optional: true escape-string-regexp@4.0.0: {} escape-string-regexp@5.0.0: {} - escodegen@2.1.0: - dependencies: - esprima: 4.0.1 - estraverse: 5.3.0 - esutils: 2.0.3 - optionalDependencies: - source-map: 0.6.1 - eslint-config-prettier@9.1.0(eslint@8.57.1): dependencies: eslint: 8.57.1 @@ -18706,7 +18519,8 @@ snapshots: signal-exit: 4.1.0 strip-final-newline: 3.0.0 - exit@0.1.2: {} + exit@0.1.2: + optional: true expand-tilde@1.2.2: dependencies: @@ -18721,6 +18535,7 @@ snapshots: jest-matcher-utils: 29.7.0 jest-message-util: 29.7.0 jest-util: 29.7.0 + optional: true express-http-proxy@2.1.1: dependencies: @@ -18860,9 +18675,47 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - fault@2.0.1: + father@4.5.0(@babel/core@7.25.2)(@types/node@22.9.3)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(type-fest@0.21.3)(webpack@5.95.0): dependencies: - format: 0.2.2 + '@microsoft/api-extractor': 7.39.1(@types/node@22.9.3) + '@umijs/babel-preset-umi': 4.3.24 + '@umijs/bundler-utils': 4.3.24 + '@umijs/bundler-webpack': 4.3.24(type-fest@0.21.3)(typescript@5.3.3)(webpack@5.95.0) + '@umijs/case-sensitive-paths-webpack-plugin': 1.0.1 + '@umijs/core': 4.3.24 + '@umijs/utils': 4.3.24 + '@vercel/ncc': 0.33.3 + babel-plugin-dynamic-import-node: 2.3.3 + babel-plugin-module-resolver: 4.1.0 + babel-plugin-styled-components: 2.1.4(@babel/core@7.25.2)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + babel-plugin-transform-define: 2.0.1 + enhanced-resolve: 5.9.3 + esbuild: 0.17.19 + fast-glob: 3.2.12 + file-system-cache: 2.0.0 + loader-runner: 4.2.0 + minimatch: 3.1.2 + piscina: 4.7.0 + tsconfig-paths: 4.0.0 + typescript: 5.3.3 + typescript-transform-paths: 3.4.6(typescript@5.3.3) + v8-compile-cache: 2.3.0 + transitivePeerDependencies: + - '@babel/core' + - '@types/node' + - '@types/webpack' + - sockjs-client + - styled-components + - supports-color + - type-fest + - webpack + - webpack-dev-server + - webpack-hot-middleware + - webpack-plugin-serve + + fault@2.0.1: + dependencies: + format: 0.2.2 fb-watchman@2.0.2: dependencies: @@ -18907,10 +18760,6 @@ snapshots: file-uri-to-path@1.0.0: {} - filelist@1.0.4: - dependencies: - minimatch: 5.1.6 - filesize@3.6.1: {} fill-range@7.1.1: @@ -19006,6 +18855,23 @@ snapshots: typescript: 5.3.3 webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)) + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.3.3)(webpack@5.95.0): + dependencies: + '@babel/code-frame': 7.24.7 + chalk: 4.1.2 + chokidar: 3.6.0 + cosmiconfig: 7.1.0 + deepmerge: 4.3.1 + fs-extra: 10.1.0 + memfs: 3.5.3 + minimatch: 3.1.2 + node-abort-controller: 3.1.1 + schema-utils: 3.3.0 + semver: 7.6.3 + tapable: 2.2.1 + typescript: 5.3.3 + webpack: 5.95.0 + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.6.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))): dependencies: '@babel/code-frame': 7.24.7 @@ -19028,6 +18894,7 @@ snapshots: asynckit: 0.4.0 combined-stream: 1.0.8 mime-types: 2.1.35 + optional: true format@0.2.2: {} @@ -19513,13 +19380,10 @@ snapshots: htm@3.1.1: {} - html-encoding-sniffer@3.0.0: - dependencies: - whatwg-encoding: 2.0.0 - html-encoding-sniffer@4.0.0: dependencies: whatwg-encoding: 3.1.1 + optional: true html-entities@2.5.2: {} @@ -19612,20 +19476,13 @@ snapshots: transitivePeerDependencies: - supports-color - http-proxy-agent@5.0.0: - dependencies: - '@tootallnate/once': 2.0.0 - agent-base: 6.0.2 - debug: 4.3.7 - transitivePeerDependencies: - - supports-color - http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.1 debug: 4.3.7 transitivePeerDependencies: - supports-color + optional: true https-browserify@1.0.0: {} @@ -19636,19 +19493,13 @@ snapshots: transitivePeerDependencies: - supports-color - https-proxy-agent@5.0.1: - dependencies: - agent-base: 6.0.2 - debug: 4.3.7 - transitivePeerDependencies: - - supports-color - https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.1 debug: 4.3.7 transitivePeerDependencies: - supports-color + optional: true human-id@1.0.2: {} @@ -19718,6 +19569,7 @@ snapshots: dependencies: pkg-dir: 4.2.0 resolve-cwd: 3.0.0 + optional: true imurmurhash@0.1.4: {} @@ -19894,7 +19746,8 @@ snapshots: dependencies: get-east-asian-width: 1.2.0 - is-generator-fn@2.1.0: {} + is-generator-fn@2.1.0: + optional: true is-generator-function@1.0.10: dependencies: @@ -19950,7 +19803,8 @@ snapshots: is-plain-object@5.0.0: {} - is-potential-custom-element-name@1.0.1: {} + is-potential-custom-element-name@1.0.1: + optional: true is-redirect@1.0.0: {} @@ -20059,6 +19913,7 @@ snapshots: semver: 7.6.3 transitivePeerDependencies: - supports-color + optional: true istanbul-lib-report@3.0.1: dependencies: @@ -20073,6 +19928,7 @@ snapshots: source-map: 0.6.1 transitivePeerDependencies: - supports-color + optional: true istanbul-lib-source-maps@5.0.6: dependencies: @@ -20109,25 +19965,14 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 - jake@10.9.2: - dependencies: - async: 3.2.6 - chalk: 4.1.2 - filelist: 1.0.4 - minimatch: 3.1.2 - javascript-stringify@2.1.0: {} - jest-canvas-mock@2.5.2: - dependencies: - cssfontparser: 1.2.1 - moo-color: 1.0.3 - jest-changed-files@29.7.0: dependencies: execa: 5.1.1 jest-util: 29.7.0 p-limit: 3.1.0 + optional: true jest-circus@29.7.0(babel-plugin-macros@3.1.0): dependencies: @@ -20154,6 +19999,7 @@ snapshots: transitivePeerDependencies: - babel-plugin-macros - supports-color + optional: true jest-cli@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)): dependencies: @@ -20173,6 +20019,7 @@ snapshots: - babel-plugin-macros - supports-color - ts-node + optional: true jest-config@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)): dependencies: @@ -20204,6 +20051,7 @@ snapshots: transitivePeerDependencies: - babel-plugin-macros - supports-color + optional: true jest-diff@29.7.0: dependencies: @@ -20211,10 +20059,12 @@ snapshots: diff-sequences: 29.6.3 jest-get-type: 29.6.3 pretty-format: 29.7.0 + optional: true jest-docblock@29.7.0: dependencies: detect-newline: 3.1.0 + optional: true jest-each@29.7.0: dependencies: @@ -20223,21 +20073,7 @@ snapshots: jest-get-type: 29.6.3 jest-util: 29.7.0 pretty-format: 29.7.0 - - jest-environment-jsdom@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/jsdom': 20.0.1 - '@types/node': 22.9.3 - jest-mock: 29.7.0 - jest-util: 29.7.0 - jsdom: 20.0.3 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate + optional: true jest-environment-node@29.7.0: dependencies: @@ -20247,8 +20083,10 @@ snapshots: '@types/node': 22.9.3 jest-mock: 29.7.0 jest-util: 29.7.0 + optional: true - jest-get-type@29.6.3: {} + jest-get-type@29.6.3: + optional: true jest-haste-map@29.7.0: dependencies: @@ -20266,17 +20104,11 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - jest-junit@16.0.0: - dependencies: - mkdirp: 1.0.4 - strip-ansi: 6.0.1 - uuid: 8.3.2 - xml: 1.0.1 - jest-leak-detector@29.7.0: dependencies: jest-get-type: 29.6.3 pretty-format: 29.7.0 + optional: true jest-matcher-utils@29.7.0: dependencies: @@ -20284,6 +20116,7 @@ snapshots: jest-diff: 29.7.0 jest-get-type: 29.6.3 pretty-format: 29.7.0 + optional: true jest-message-util@29.7.0: dependencies: @@ -20296,16 +20129,19 @@ snapshots: pretty-format: 29.7.0 slash: 3.0.0 stack-utils: 2.0.6 + optional: true jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 '@types/node': 22.9.3 jest-util: 29.7.0 + optional: true jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): optionalDependencies: jest-resolve: 29.7.0 + optional: true jest-regex-util@29.6.3: {} @@ -20315,6 +20151,7 @@ snapshots: jest-snapshot: 29.7.0 transitivePeerDependencies: - supports-color + optional: true jest-resolve@29.7.0: dependencies: @@ -20327,6 +20164,7 @@ snapshots: resolve: 1.22.8 resolve.exports: 2.0.2 slash: 3.0.0 + optional: true jest-runner@29.7.0: dependencies: @@ -20353,6 +20191,7 @@ snapshots: source-map-support: 0.5.13 transitivePeerDependencies: - supports-color + optional: true jest-runtime@29.7.0: dependencies: @@ -20380,6 +20219,7 @@ snapshots: strip-bom: 4.0.0 transitivePeerDependencies: - supports-color + optional: true jest-snapshot@29.7.0: dependencies: @@ -20405,8 +20245,7 @@ snapshots: semver: 7.6.3 transitivePeerDependencies: - supports-color - - jest-transform-stub@2.0.0: {} + optional: true jest-util@29.7.0: dependencies: @@ -20425,6 +20264,7 @@ snapshots: jest-get-type: 29.6.3 leven: 3.1.0 pretty-format: 29.7.0 + optional: true jest-watcher@29.7.0: dependencies: @@ -20436,6 +20276,7 @@ snapshots: emittery: 0.13.1 jest-util: 29.7.0 string-length: 4.0.2 + optional: true jest-worker@27.5.1: dependencies: @@ -20468,6 +20309,7 @@ snapshots: - babel-plugin-macros - supports-color - ts-node + optional: true jju@1.4.0: {} @@ -20488,39 +20330,6 @@ snapshots: dependencies: argparse: 2.0.1 - jsdom@20.0.3: - dependencies: - abab: 2.0.6 - acorn: 8.12.1 - acorn-globals: 7.0.1 - cssom: 0.5.0 - cssstyle: 2.3.0 - data-urls: 3.0.2 - decimal.js: 10.4.3 - domexception: 4.0.0 - escodegen: 2.1.0 - form-data: 4.0.0 - html-encoding-sniffer: 3.0.0 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 - is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.12 - parse5: 7.1.2 - saxes: 6.0.0 - symbol-tree: 3.2.4 - tough-cookie: 4.1.4 - w3c-xmlserializer: 4.0.0 - webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 - whatwg-mimetype: 3.0.0 - whatwg-url: 11.0.0 - ws: 8.18.0 - xml-name-validator: 4.0.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - jsdom@23.2.0: dependencies: '@asamuzakjp/dom-selector': 2.0.2 @@ -20548,6 +20357,7 @@ snapshots: - bufferutil - supports-color - utf-8-validate + optional: true jsesc@0.5.0: {} @@ -20614,7 +20424,8 @@ snapshots: kind-of@6.0.3: {} - kleur@3.0.3: {} + kleur@3.0.3: + optional: true kleur@4.1.5: {} @@ -20662,7 +20473,8 @@ snapshots: needle: 3.3.1 source-map: 0.6.1 - leven@3.1.0: {} + leven@3.1.0: + optional: true levn@0.4.1: dependencies: @@ -20771,8 +20583,6 @@ snapshots: lodash.isequal@4.5.0: {} - lodash.memoize@4.1.2: {} - lodash.merge@4.6.2: {} lodash.startcase@4.4.0: {} @@ -20856,7 +20666,8 @@ snapshots: dependencies: semver: 7.6.3 - make-error@1.3.6: {} + make-error@1.3.6: + optional: true make-fetch-happen@2.6.0: dependencies: @@ -21037,7 +20848,8 @@ snapshots: mdn-data@2.0.14: {} - mdn-data@2.0.30: {} + mdn-data@2.0.30: + optional: true mdn-data@2.0.4: {} @@ -21318,10 +21130,6 @@ snapshots: dependencies: brace-expansion: 1.1.11 - minimatch@5.1.6: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.5: dependencies: brace-expansion: 2.0.1 @@ -21366,14 +21174,8 @@ snapshots: dependencies: minimist: 1.2.8 - mkdirp@1.0.4: {} - moment@2.30.1: {} - moo-color@1.0.3: - dependencies: - color-name: 1.1.4 - move-concurrently@1.0.1: dependencies: aproba: 1.2.0 @@ -21576,8 +21378,6 @@ snapshots: dependencies: boolbase: 1.0.0 - nwsapi@2.2.12: {} - object-assign@4.1.1: {} object-inspect@1.13.2: {} @@ -21959,6 +21759,7 @@ snapshots: pkg-dir@4.2.0: dependencies: find-up: 4.1.0 + optional: true pkg-up@3.1.0: dependencies: @@ -22261,6 +22062,7 @@ snapshots: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 react-is: 18.3.1 + optional: true prism-react-renderer@1.3.5(react@18.3.1): dependencies: @@ -22291,6 +22093,7 @@ snapshots: dependencies: kleur: 3.0.3 sisteransi: 1.0.5 + optional: true prop-types@15.8.1: dependencies: @@ -22347,7 +22150,8 @@ snapshots: punycode@2.3.1: {} - pure-rand@6.1.0: {} + pure-rand@6.1.0: + optional: true q@1.5.1: {} @@ -23445,6 +23249,7 @@ snapshots: resolve-cwd@3.0.0: dependencies: resolve-from: 5.0.0 + optional: true resolve-dir@0.1.1: dependencies: @@ -23457,7 +23262,8 @@ snapshots: resolve-pkg-maps@1.0.0: {} - resolve.exports@2.0.2: {} + resolve.exports@2.0.2: + optional: true resolve@1.19.0: dependencies: @@ -23550,9 +23356,11 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.22.4 fsevents: 2.3.3 - rrweb-cssom@0.6.0: {} + rrweb-cssom@0.6.0: + optional: true - rrweb-cssom@0.7.1: {} + rrweb-cssom@0.7.1: + optional: true rtl-css-js@1.16.1: dependencies: @@ -23616,6 +23424,7 @@ snapshots: saxes@6.0.0: dependencies: xmlchars: 2.2.0 + optional: true scheduler@0.23.2: dependencies: @@ -23769,7 +23578,8 @@ snapshots: mrmime: 2.0.0 totalist: 3.0.1 - sisteransi@1.0.5: {} + sisteransi@1.0.5: + optional: true sitemap@7.1.2: dependencies: @@ -23854,6 +23664,7 @@ snapshots: dependencies: buffer-from: 1.1.2 source-map: 0.6.1 + optional: true source-map-support@0.5.21: dependencies: @@ -23935,6 +23746,7 @@ snapshots: stack-utils@2.0.6: dependencies: escape-string-regexp: 2.0.0 + optional: true stackback@0.0.2: {} @@ -24000,6 +23812,7 @@ snapshots: dependencies: char-regex: 1.0.2 strip-ansi: 6.0.1 + optional: true string-width@2.1.1: dependencies: @@ -24100,7 +23913,8 @@ snapshots: strip-bom@3.0.0: {} - strip-bom@4.0.0: {} + strip-bom@4.0.0: + optional: true strip-eof@1.0.0: {} @@ -24270,7 +24084,8 @@ snapshots: symbol-observable@4.0.0: {} - symbol-tree@3.2.4: {} + symbol-tree@3.2.4: + optional: true synckit@0.8.5: dependencies: @@ -24328,6 +24143,15 @@ snapshots: optionalDependencies: '@swc/core': 1.9.3(@swc/helpers@0.5.1) + terser-webpack-plugin@5.3.10(webpack@5.95.0): + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + jest-worker: 27.5.1 + schema-utils: 3.3.0 + serialize-javascript: 6.0.2 + terser: 5.34.0 + webpack: 5.95.0 + terser@5.34.0: dependencies: '@jridgewell/source-map': 0.3.6 @@ -24425,13 +24249,10 @@ snapshots: tr46@0.0.3: {} - tr46@3.0.0: - dependencies: - punycode: 2.3.1 - tr46@5.0.0: dependencies: punycode: 2.3.1 + optional: true transformation-matrix@2.16.1: {} @@ -24455,25 +24276,6 @@ snapshots: dependencies: tslib: 2.7.0 - ts-jest@29.2.5(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)))(typescript@5.6.2): - dependencies: - bs-logger: 0.2.6 - ejs: 3.1.10 - fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@22.9.3)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2)) - jest-util: 29.7.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.6.3 - typescript: 5.6.2 - yargs-parser: 21.1.1 - optionalDependencies: - '@babel/core': 7.25.2 - '@jest/transform': 29.7.0 - '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.25.2) - ts-node@10.9.2(@swc/core@1.9.3(@swc/helpers@0.5.1))(@types/node@22.9.3)(typescript@5.6.2): dependencies: '@cspotcode/source-map-support': 0.8.1 @@ -24532,13 +24334,15 @@ snapshots: dependencies: prelude-ls: 1.2.1 - type-detect@4.0.8: {} + type-detect@4.0.8: + optional: true type-fest@0.18.1: {} type-fest@0.20.2: {} - type-fest@0.21.3: {} + type-fest@0.21.3: + optional: true type-fest@0.6.0: {} @@ -24855,6 +24659,7 @@ snapshots: '@jridgewell/trace-mapping': 0.3.25 '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 + optional: true validate-npm-package-license@3.0.4: dependencies: @@ -24990,13 +24795,10 @@ snapshots: void-elements@3.1.0: {} - w3c-xmlserializer@4.0.0: - dependencies: - xml-name-validator: 4.0.0 - w3c-xmlserializer@5.0.0: dependencies: xml-name-validator: 5.0.0 + optional: true walker@1.0.8: dependencies: @@ -25026,7 +24828,7 @@ snapshots: webpack-sources@3.2.3: {} - webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)): + webpack@5.95.0: dependencies: '@types/estree': 1.0.6 '@webassemblyjs/ast': 1.12.1 @@ -25048,7 +24850,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.9.3(@swc/helpers@0.5.1))(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + terser-webpack-plugin: 5.3.10(webpack@5.95.0) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -25056,29 +24858,53 @@ snapshots: - esbuild - uglify-js - whatwg-encoding@2.0.0: + webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1)): dependencies: - iconv-lite: 0.6.3 + '@types/estree': 1.0.6 + '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/wasm-edit': 1.12.1 + '@webassemblyjs/wasm-parser': 1.12.1 + acorn: 8.12.1 + acorn-import-attributes: 1.9.5(acorn@8.12.1) + browserslist: 4.24.0 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.17.1 + es-module-lexer: 1.5.4 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.10(@swc/core@1.9.3(@swc/helpers@0.5.1))(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.1))) + watchpack: 2.4.2 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js whatwg-encoding@3.1.1: dependencies: iconv-lite: 0.6.3 + optional: true whatwg-fetch@3.6.20: {} whatwg-mimetype@3.0.0: {} - whatwg-mimetype@4.0.0: {} - - whatwg-url@11.0.0: - dependencies: - tr46: 3.0.0 - webidl-conversions: 7.0.0 + whatwg-mimetype@4.0.0: + optional: true whatwg-url@14.0.0: dependencies: tr46: 5.0.0 webidl-conversions: 7.0.0 + optional: true whatwg-url@5.0.0: dependencies: @@ -25177,7 +25003,8 @@ snapshots: ws@8.17.1: {} - ws@8.18.0: {} + ws@8.18.0: + optional: true xdg-basedir@3.0.0: {} @@ -25185,18 +25012,16 @@ snapshots: dependencies: eventemitter3: 2.0.3 - xml-name-validator@4.0.0: {} - - xml-name-validator@5.0.0: {} + xml-name-validator@5.0.0: + optional: true xml-reader@2.4.3: dependencies: eventemitter3: 2.0.3 xml-lexer: 0.2.2 - xml@1.0.1: {} - - xmlchars@2.2.0: {} + xmlchars@2.2.0: + optional: true xmlhttprequest-ssl@2.1.1: {} From 38dc10a00e1732bf00d07182d03651fa96ae0006 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 18:00:36 +0800 Subject: [PATCH 19/25] chore: remove /utils console.log --- packages/utils/src/is/isMobileDevices.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/utils/src/is/isMobileDevices.ts b/packages/utils/src/is/isMobileDevices.ts index b0cda78d..c37dea46 100644 --- a/packages/utils/src/is/isMobileDevices.ts +++ b/packages/utils/src/is/isMobileDevices.ts @@ -187,6 +187,5 @@ export function isMobile(param?: IsMobileParameter): isMobileResult { export function isMobileDevices() { const isM = isMobile(); - console.log('---', navigator.userAgent, '---', isM, '---', happyDOM.settings.navigator); return isM.apple.device || isM.android.device; } From 09c522e79f3f6ea60d0fef9266eeeea468b5fd69 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Tue, 26 Nov 2024 17:53:24 +0800 Subject: [PATCH 20/25] chore: fix /bridge utils test --- .../{utils.test.ts => utils.test.tsx} | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) rename packages/bridge/src/__tests__/{utils.test.ts => utils.test.tsx} (80%) diff --git a/packages/bridge/src/__tests__/utils.test.ts b/packages/bridge/src/__tests__/utils.test.tsx similarity index 80% rename from packages/bridge/src/__tests__/utils.test.ts rename to packages/bridge/src/__tests__/utils.test.tsx index aa7b7e28..22e1a4a7 100644 --- a/packages/bridge/src/__tests__/utils.test.ts +++ b/packages/bridge/src/__tests__/utils.test.tsx @@ -9,6 +9,24 @@ afterEach(() => { vi.mock('@portkey/contracts', () => ({ getContractBasic: vi.fn(), })); +vi.mock('@portkey/did-ui-react', () => ({ + getChainInfo: (c: TChainId) => (!c ? null : {}), + did: { + didWallet: { + managementAccount: { + privateKey: '', + }, + }, + }, + PortkeyProvider: ({ children }: { children: React.ReactNode }) =>
{children}
, +})); +vi.mock('aelf-sdk', () => ({ + default: { + getWallet: () => ({ + address: '', + }), + }, +})); describe('getCaContractBase()', () => { it('should throw error about chain is not running', async () => { From ab60d38e3fba811854cbab6fa400157894a1d2bc Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Tue, 26 Nov 2024 17:31:13 +0000 Subject: [PATCH 21/25] chore: fix tests --- packages/bridge/src/__tests__/utils.test.tsx | 11 +- packages/react/vitest.setup.ts | 6 +- packages/tools/__mocks__/setupGlobal.ts | 1 + packages/tools/__mocks__/setupLocal.ts | 6 +- packages/tools/tsconfig.json | 2 +- packages/utils/coverage/clover.xml | 282 -------- packages/utils/coverage/coverage-final.json | 23 - packages/utils/coverage/coverage-summary.json | 45 +- packages/utils/coverage/lcov.info | 640 ------------------ .../__tests__/getRawTransaction.test.ts | 4 - .../getRawTransactionPortkey.test.ts | 4 - .../src/is/__tests__/isMobileDevices.test.ts | 6 +- .../utils/src/is/__tests__/isPortkey.test.ts | 46 +- 13 files changed, 61 insertions(+), 1015 deletions(-) delete mode 100644 packages/utils/coverage/clover.xml delete mode 100644 packages/utils/coverage/coverage-final.json delete mode 100644 packages/utils/coverage/lcov.info diff --git a/packages/bridge/src/__tests__/utils.test.tsx b/packages/bridge/src/__tests__/utils.test.tsx index 22e1a4a7..9deb4b6d 100644 --- a/packages/bridge/src/__tests__/utils.test.tsx +++ b/packages/bridge/src/__tests__/utils.test.tsx @@ -6,9 +6,11 @@ import { type Mock } from 'vitest'; afterEach(() => { vi.unmock('@portkey/contracts'); }); + vi.mock('@portkey/contracts', () => ({ getContractBasic: vi.fn(), })); + vi.mock('@portkey/did-ui-react', () => ({ getChainInfo: (c: TChainId) => (!c ? null : {}), did: { @@ -20,11 +22,10 @@ vi.mock('@portkey/did-ui-react', () => ({ }, PortkeyProvider: ({ children }: { children: React.ReactNode }) =>
{children}
, })); -vi.mock('aelf-sdk', () => ({ - default: { - getWallet: () => ({ - address: '', - }), + +vi.mock('@portkey/utils', () => ({ + aelf: { + getWallet: vi.fn(), }, })); diff --git a/packages/react/vitest.setup.ts b/packages/react/vitest.setup.ts index 47ab9824..488ba6e3 100644 --- a/packages/react/vitest.setup.ts +++ b/packages/react/vitest.setup.ts @@ -1,4 +1,4 @@ -import { vi } from 'vitest'; +import { vi, afterEach } from 'vitest'; import '../tools/__mocks__/setupGlobal'; import '../tools/__mocks__/setupLocal'; import { type IBridgeAPI } from '@aelf-web-login/wallet-adapter-bridge'; @@ -19,7 +19,3 @@ vi.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ })); vi.mock('vconsole'); - -afterEach(() => { - vi.clearAllMocks(); -}); diff --git a/packages/tools/__mocks__/setupGlobal.ts b/packages/tools/__mocks__/setupGlobal.ts index f4177288..b68db65e 100644 --- a/packages/tools/__mocks__/setupGlobal.ts +++ b/packages/tools/__mocks__/setupGlobal.ts @@ -18,6 +18,7 @@ beforeAll(() => { afterEach(() => { cleanup(); + vi.clearAllMocks(); }); // https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom diff --git a/packages/tools/__mocks__/setupLocal.ts b/packages/tools/__mocks__/setupLocal.ts index d981bbb4..43da8ad9 100644 --- a/packages/tools/__mocks__/setupLocal.ts +++ b/packages/tools/__mocks__/setupLocal.ts @@ -1,10 +1,14 @@ import { vi } from 'vitest'; import { type TChainId } from '@aelf-web-login/wallet-adapter-base'; -vi.mock('@portkey/utils'); +vi.mock('@portkey/contracts', () => ({ + getTxResult: vi.fn(), +})); + vi.mock('@aelf-web-login/wallet-adapter-portkey-aa', () => ({ PortkeyAAWallet: vi.fn(), })); + vi.mock('@portkey/did-ui-react', () => ({ getChainInfo: (c: TChainId) => (!c ? null : {}), did: { diff --git a/packages/tools/tsconfig.json b/packages/tools/tsconfig.json index e715255c..5730d119 100644 --- a/packages/tools/tsconfig.json +++ b/packages/tools/tsconfig.json @@ -1,4 +1,4 @@ { "extends": "../../tsconfig.base.json", - "include": ["*.ts", "**/*.ts"] + "include": ["*.ts", "**/*.ts", "__mocks__/setupLocal.ts"] } diff --git a/packages/utils/coverage/clover.xml b/packages/utils/coverage/clover.xml deleted file mode 100644 index 7bc27fc6..00000000 --- a/packages/utils/coverage/clover.xml +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/utils/coverage/coverage-final.json b/packages/utils/coverage/coverage-final.json deleted file mode 100644 index c8bae525..00000000 --- a/packages/utils/coverage/coverage-final.json +++ /dev/null @@ -1,23 +0,0 @@ -{"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/addPrefixSuffix.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/addPrefixSuffix.ts","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":2,"column":23}},"1":{"start":{"line":2,"column":12},"end":{"line":2,"column":23}},"2":{"start":{"line":3,"column":15},"end":{"line":3,"column":25}},"3":{"start":{"line":4,"column":17},"end":{"line":4,"column":23}},"4":{"start":{"line":5,"column":17},"end":{"line":5,"column":50}},"5":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"6":{"start":{"line":7,"column":4},"end":{"line":7,"column":34}},"7":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"8":{"start":{"line":10,"column":4},"end":{"line":10,"column":34}},"9":{"start":{"line":12,"column":2},"end":{"line":12,"column":16}}},"fnMap":{"0":{"name":"addPrefixSuffix","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":24}},"loc":{"start":{"line":1,"column":56},"end":{"line":13,"column":1}},"line":1}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":23}},"type":"if","locations":[{"start":{"line":2,"column":2},"end":{"line":2,"column":23}},{"start":{},"end":{}}],"line":2},"1":{"loc":{"start":{"line":5,"column":17},"end":{"line":5,"column":50}},"type":"cond-expr","locations":[{"start":{"line":5,"column":27},"end":{"line":5,"column":40}},{"start":{"line":5,"column":43},"end":{"line":5,"column":50}}],"line":5},"2":{"loc":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},{"start":{},"end":{}}],"line":6},"3":{"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},{"start":{},"end":{}}],"line":9}},"s":{"0":5,"1":1,"2":4,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":4},"f":{"0":5},"b":{"0":[1,4],"1":[1,3],"2":[4,0],"3":[4,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"7129cb57cab10de7be46abed60432ba208f68b1b"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/decodeAddress.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/decodeAddress.ts","statementMap":{"0":{"start":{"line":2,"column":29},"end":{"line":19,"column":1}},"1":{"start":{"line":3,"column":2},"end":{"line":18,"column":3}},"2":{"start":{"line":4,"column":4},"end":{"line":4,"column":31}},"3":{"start":{"line":4,"column":18},"end":{"line":4,"column":31}},"4":{"start":{"line":5,"column":4},"end":{"line":5,"column":55}},"5":{"start":{"line":5,"column":42},"end":{"line":5,"column":55}},"6":{"start":{"line":6,"column":4},"end":{"line":14,"column":5}},"7":{"start":{"line":7,"column":20},"end":{"line":7,"column":38}},"8":{"start":{"line":8,"column":6},"end":{"line":8,"column":43}},"9":{"start":{"line":8,"column":30},"end":{"line":8,"column":43}},"10":{"start":{"line":10,"column":26},"end":{"line":10,"column":34}},"11":{"start":{"line":11,"column":6},"end":{"line":11,"column":47}},"12":{"start":{"line":13,"column":6},"end":{"line":13,"column":43}},"13":{"start":{"line":15,"column":4},"end":{"line":15,"column":16}},"14":{"start":{"line":17,"column":4},"end":{"line":17,"column":17}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":2,"column":29},"end":{"line":2,"column":30}},"loc":{"start":{"line":2,"column":50},"end":{"line":19,"column":1}},"line":2}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":31}},"type":"if","locations":[{"start":{"line":4,"column":4},"end":{"line":4,"column":31}},{"start":{},"end":{}}],"line":4},"1":{"loc":{"start":{"line":5,"column":4},"end":{"line":5,"column":55}},"type":"if","locations":[{"start":{"line":5,"column":4},"end":{"line":5,"column":55}},{"start":{},"end":{}}],"line":5},"2":{"loc":{"start":{"line":6,"column":4},"end":{"line":14,"column":5}},"type":"if","locations":[{"start":{"line":6,"column":4},"end":{"line":14,"column":5}},{"start":{"line":12,"column":11},"end":{"line":14,"column":5}}],"line":6},"3":{"loc":{"start":{"line":8,"column":6},"end":{"line":8,"column":43}},"type":"if","locations":[{"start":{"line":8,"column":6},"end":{"line":8,"column":43}},{"start":{},"end":{}}],"line":8}},"s":{"0":1,"1":6,"2":6,"3":1,"4":5,"5":1,"6":4,"7":2,"8":2,"9":1,"10":1,"11":1,"12":2,"13":2,"14":1},"f":{"0":6},"b":{"0":[1,5],"1":[1,4],"2":[2,2],"3":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"989c0f3e777a93b860fbbdd094e36945d788eff8"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/getOriginalAddress.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/getOriginalAddress.ts","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":2,"column":27}},"1":{"start":{"line":2,"column":16},"end":{"line":2,"column":27}},"2":{"start":{"line":3,"column":2},"end":{"line":5,"column":3}},"3":{"start":{"line":4,"column":4},"end":{"line":4,"column":15}},"4":{"start":{"line":6,"column":2},"end":{"line":6,"column":58}}},"fnMap":{"0":{"name":"getOriginalAddress","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":27}},"loc":{"start":{"line":1,"column":45},"end":{"line":7,"column":1}},"line":1}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":27}},"type":"if","locations":[{"start":{"line":2,"column":2},"end":{"line":2,"column":27}},{"start":{},"end":{}}],"line":2},"1":{"loc":{"start":{"line":3,"column":2},"end":{"line":5,"column":3}},"type":"if","locations":[{"start":{"line":3,"column":2},"end":{"line":5,"column":3}},{"start":{},"end":{}}],"line":3}},"s":{"0":6,"1":2,"2":4,"3":1,"4":3},"f":{"0":6},"b":{"0":[2,4],"1":[1,3]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"d7435d2b91aa62f6afc366de4bb733f20d58b8af"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/divDecimals.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/divDecimals.ts","statementMap":{"0":{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},"1":{"start":{"line":4,"column":10},"end":{"line":4,"column":34}},"2":{"start":{"line":5,"column":15},"end":{"line":5,"column":62}},"3":{"start":{"line":6,"column":2},"end":{"line":6,"column":71}},"4":{"start":{"line":6,"column":47},"end":{"line":6,"column":71}},"5":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"6":{"start":{"line":8,"column":4},"end":{"line":8,"column":30}},"7":{"start":{"line":10,"column":2},"end":{"line":10,"column":35}}},"fnMap":{"0":{"name":"divDecimals","decl":{"start":{"line":3,"column":16},"end":{"line":3,"column":27}},"loc":{"start":{"line":3,"column":81},"end":{"line":11,"column":1}},"line":3}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":49},"end":{"line":3,"column":79}},"type":"default-arg","locations":[{"start":{"line":3,"column":77},"end":{"line":3,"column":79}}],"line":3},"1":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},{"start":{},"end":{}}],"line":4},"2":{"loc":{"start":{"line":5,"column":15},"end":{"line":5,"column":62}},"type":"cond-expr","locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":43}},{"start":{"line":5,"column":46},"end":{"line":5,"column":62}}],"line":5},"3":{"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":71}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":71}},{"start":{},"end":{}}],"line":6},"4":{"loc":{"start":{"line":6,"column":6},"end":{"line":6,"column":45}},"type":"binary-expr","locations":[{"start":{"line":6,"column":6},"end":{"line":6,"column":18}},{"start":{"line":6,"column":22},"end":{"line":6,"column":45}}],"line":6},"5":{"loc":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"type":"if","locations":[{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},{"start":{},"end":{}}],"line":7},"6":{"loc":{"start":{"line":7,"column":6},"end":{"line":7,"column":58}},"type":"binary-expr","locations":[{"start":{"line":7,"column":6},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":58}}],"line":7}},"s":{"0":8,"1":3,"2":5,"3":5,"4":1,"5":4,"6":1,"7":3},"f":{"0":8},"b":{"0":[5],"1":[3,5],"2":[1,4],"3":[1,4],"4":[5,5],"5":[1,3],"6":[4,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"f4f94b1190897ac75d44128bd79d66d20d1a56c4"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/index.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/index.ts","statementMap":{},"fnMap":{},"branchMap":{},"s":{},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"d36858d85c83144c1013387965deacfe35922075"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/timesDecimals.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/timesDecimals.ts","statementMap":{"0":{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},"1":{"start":{"line":4,"column":10},"end":{"line":4,"column":34}},"2":{"start":{"line":5,"column":15},"end":{"line":5,"column":62}},"3":{"start":{"line":6,"column":2},"end":{"line":6,"column":71}},"4":{"start":{"line":6,"column":47},"end":{"line":6,"column":71}},"5":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"6":{"start":{"line":8,"column":4},"end":{"line":8,"column":32}},"7":{"start":{"line":10,"column":2},"end":{"line":10,"column":37}}},"fnMap":{"0":{"name":"timesDecimals","decl":{"start":{"line":3,"column":16},"end":{"line":3,"column":29}},"loc":{"start":{"line":3,"column":83},"end":{"line":11,"column":1}},"line":3}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":51},"end":{"line":3,"column":81}},"type":"default-arg","locations":[{"start":{"line":3,"column":79},"end":{"line":3,"column":81}}],"line":3},"1":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":34}},{"start":{},"end":{}}],"line":4},"2":{"loc":{"start":{"line":5,"column":15},"end":{"line":5,"column":62}},"type":"cond-expr","locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":43}},{"start":{"line":5,"column":46},"end":{"line":5,"column":62}}],"line":5},"3":{"loc":{"start":{"line":6,"column":2},"end":{"line":6,"column":71}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":6,"column":71}},{"start":{},"end":{}}],"line":6},"4":{"loc":{"start":{"line":6,"column":6},"end":{"line":6,"column":45}},"type":"binary-expr","locations":[{"start":{"line":6,"column":6},"end":{"line":6,"column":18}},{"start":{"line":6,"column":22},"end":{"line":6,"column":45}}],"line":6},"5":{"loc":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"type":"if","locations":[{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},{"start":{},"end":{}}],"line":7},"6":{"loc":{"start":{"line":7,"column":6},"end":{"line":7,"column":58}},"type":"binary-expr","locations":[{"start":{"line":7,"column":6},"end":{"line":7,"column":34}},{"start":{"line":7,"column":38},"end":{"line":7,"column":58}}],"line":7}},"s":{"0":11,"1":3,"2":8,"3":8,"4":2,"5":6,"6":1,"7":5},"f":{"0":11},"b":{"0":[5],"1":[3,8],"2":[1,7],"3":[2,6],"4":[8,8],"5":[1,5],"6":[6,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"53e9f52c8236f914dd27156e22a65fdf513f54b3"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransaction.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransaction.ts","statementMap":{"0":{"start":{"line":16,"column":91},"end":{"line":72,"column":1}},"1":{"start":{"line":25,"column":2},"end":{"line":25,"column":22}},"2":{"start":{"line":25,"column":15},"end":{"line":25,"column":22}},"3":{"start":{"line":27,"column":12},"end":{"line":27,"column":16}},"4":{"start":{"line":29,"column":2},"end":{"line":71,"column":3}},"5":{"start":{"line":30,"column":4},"end":{"line":64,"column":5}},"6":{"start":{"line":32,"column":8},"end":{"line":32,"column":56}},"7":{"start":{"line":32,"column":49},"end":{"line":32,"column":56}},"8":{"start":{"line":33,"column":8},"end":{"line":41,"column":11}},"9":{"start":{"line":42,"column":8},"end":{"line":42,"column":14}},"10":{"start":{"line":44,"column":8},"end":{"line":44,"column":41}},"11":{"start":{"line":44,"column":34},"end":{"line":44,"column":41}},"12":{"start":{"line":45,"column":8},"end":{"line":52,"column":11}},"13":{"start":{"line":53,"column":8},"end":{"line":53,"column":14}},"14":{"start":{"line":55,"column":8},"end":{"line":55,"column":41}},"15":{"start":{"line":55,"column":34},"end":{"line":55,"column":41}},"16":{"start":{"line":56,"column":8},"end":{"line":62,"column":11}},"17":{"start":{"line":63,"column":8},"end":{"line":63,"column":14}},"18":{"start":{"line":66,"column":4},"end":{"line":66,"column":15}},"19":{"start":{"line":68,"column":4},"end":{"line":68,"column":50}},"20":{"start":{"line":70,"column":4},"end":{"line":70,"column":16}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":16,"column":91},"end":{"line":16,"column":92}},"loc":{"start":{"line":24,"column":28},"end":{"line":72,"column":1}},"line":24}},"branchMap":{"0":{"loc":{"start":{"line":25,"column":2},"end":{"line":25,"column":22}},"type":"if","locations":[{"start":{"line":25,"column":2},"end":{"line":25,"column":22}},{"start":{},"end":{}}],"line":25},"1":{"loc":{"start":{"line":30,"column":4},"end":{"line":64,"column":5}},"type":"switch","locations":[{"start":{"line":31,"column":6},"end":{"line":42,"column":14}},{"start":{"line":43,"column":6},"end":{"line":53,"column":14}},{"start":{"line":54,"column":6},"end":{"line":63,"column":14}}],"line":30},"2":{"loc":{"start":{"line":32,"column":8},"end":{"line":32,"column":56}},"type":"if","locations":[{"start":{"line":32,"column":8},"end":{"line":32,"column":56}},{"start":{},"end":{}}],"line":32},"3":{"loc":{"start":{"line":37,"column":29},"end":{"line":37,"column":52}},"type":"binary-expr","locations":[{"start":{"line":37,"column":29},"end":{"line":37,"column":46}},{"start":{"line":37,"column":50},"end":{"line":37,"column":52}}],"line":37},"4":{"loc":{"start":{"line":44,"column":8},"end":{"line":44,"column":41}},"type":"if","locations":[{"start":{"line":44,"column":8},"end":{"line":44,"column":41}},{"start":{},"end":{}}],"line":44},"5":{"loc":{"start":{"line":55,"column":8},"end":{"line":55,"column":41}},"type":"if","locations":[{"start":{"line":55,"column":8},"end":{"line":55,"column":41}},{"start":{},"end":{}}],"line":55}},"s":{"0":1,"1":5,"2":1,"3":4,"4":4,"5":4,"6":1,"7":0,"8":1,"9":1,"10":2,"11":0,"12":2,"13":1,"14":1,"15":0,"16":1,"17":1,"18":3,"19":1,"20":1},"f":{"0":5},"b":{"0":[1,4],"1":[1,2,1],"2":[0,1],"3":[1,0],"4":[0,2],"5":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"ade1c86384bc6a40b6968f6a85f8df1a99ca96e1"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransactionNight.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransactionNight.ts","statementMap":{"0":{"start":{"line":18,"column":19},"end":{"line":22,"column":4}},"1":{"start":{"line":23,"column":13},"end":{"line":23,"column":57}},"2":{"start":{"line":24,"column":2},"end":{"line":24,"column":17}}},"fnMap":{"0":{"name":"getRawTransactionNight","decl":{"start":{"line":11,"column":15},"end":{"line":11,"column":37}},"loc":{"start":{"line":17,"column":35},"end":{"line":25,"column":1}},"line":17}},"branchMap":{},"s":{"0":2,"1":1,"2":1},"f":{"0":2},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"32034172e16c9b12f2086265c1250112de7f52d0"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransactionPortkey.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransactionPortkey.ts","statementMap":{"0":{"start":{"line":14,"column":33},"end":{"line":39,"column":1}},"1":{"start":{"line":23,"column":2},"end":{"line":38,"column":3}},"2":{"start":{"line":24,"column":21},"end":{"line":31,"column":6}},"3":{"start":{"line":33,"column":14},"end":{"line":33,"column":58}},"4":{"start":{"line":35,"column":4},"end":{"line":35,"column":18}},"5":{"start":{"line":37,"column":4},"end":{"line":37,"column":33}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":14,"column":33},"end":{"line":14,"column":34}},"loc":{"start":{"line":22,"column":36},"end":{"line":39,"column":1}},"line":22}},"branchMap":{},"s":{"0":1,"1":2,"2":2,"3":1,"4":1,"5":1},"f":{"0":2},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"cfe89efabae4187431b8086d4c5bdee4436aa0b4"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getTxResultRetry.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getTxResultRetry.ts","statementMap":{"0":{"start":{"line":5,"column":14},"end":{"line":5,"column":26}},"1":{"start":{"line":6,"column":29},"end":{"line":6,"column":31}},"2":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":72}},"4":{"start":{"line":11,"column":2},"end":{"line":11,"column":28}},"5":{"start":{"line":18,"column":2},"end":{"line":28,"column":3}},"6":{"start":{"line":19,"column":21},"end":{"line":19,"column":36}},"7":{"start":{"line":20,"column":21},"end":{"line":20,"column":75}},"8":{"start":{"line":21,"column":4},"end":{"line":25,"column":5}},"9":{"start":{"line":22,"column":6},"end":{"line":22,"column":22}},"10":{"start":{"line":24,"column":6},"end":{"line":24,"column":39}},"11":{"start":{"line":27,"column":4},"end":{"line":27,"column":19}}},"fnMap":{"0":{"name":"getAElf","decl":{"start":{"line":4,"column":16},"end":{"line":4,"column":23}},"loc":{"start":{"line":4,"column":41},"end":{"line":12,"column":1}},"line":4},"1":{"name":"getTxResultRetry","decl":{"start":{"line":13,"column":22},"end":{"line":13,"column":38}},"loc":{"start":{"line":17,"column":16},"end":{"line":29,"column":1}},"line":17}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":14},"end":{"line":5,"column":26}},"type":"binary-expr","locations":[{"start":{"line":5,"column":14},"end":{"line":5,"column":20}},{"start":{"line":5,"column":24},"end":{"line":5,"column":26}}],"line":5},"1":{"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},{"start":{},"end":{}}],"line":8},"2":{"loc":{"start":{"line":16,"column":2},"end":{"line":16,"column":19}},"type":"default-arg","locations":[{"start":{"line":16,"column":15},"end":{"line":16,"column":19}}],"line":16},"3":{"loc":{"start":{"line":21,"column":4},"end":{"line":25,"column":5}},"type":"if","locations":[{"start":{"line":21,"column":4},"end":{"line":25,"column":5}},{"start":{"line":23,"column":11},"end":{"line":25,"column":5}}],"line":21}},"s":{"0":7,"1":7,"2":7,"3":7,"4":7,"5":2,"6":2,"7":2,"8":2,"9":1,"10":1,"11":1},"f":{"0":7,"1":2},"b":{"0":[7,0],"1":[7,0],"2":[2],"3":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"5d8a34b42123949b023783bc3197bd2659e98259"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/useCheckAllowanceAndApprove.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/useCheckAllowanceAndApprove.ts","statementMap":{"0":{"start":{"line":23,"column":36},"end":{"line":110,"column":1}},"1":{"start":{"line":38,"column":45},"end":{"line":38,"column":63}},"2":{"start":{"line":39,"column":32},"end":{"line":39,"column":47}},"3":{"start":{"line":41,"column":16},"end":{"line":107,"column":4}},"4":{"start":{"line":42,"column":4},"end":{"line":97,"column":5}},"5":{"start":{"line":43,"column":6},"end":{"line":43,"column":23}},"6":{"start":{"line":44,"column":57},"end":{"line":65,"column":8}},"7":{"start":{"line":67,"column":26},"end":{"line":67,"column":85}},"8":{"start":{"line":68,"column":19},"end":{"line":68,"column":65}},"9":{"start":{"line":70,"column":6},"end":{"line":91,"column":7}},"10":{"start":{"line":71,"column":30},"end":{"line":71,"column":45}},"11":{"start":{"line":73,"column":8},"end":{"line":89,"column":11}},"12":{"start":{"line":90,"column":8},"end":{"line":90,"column":20}},"13":{"start":{"line":92,"column":6},"end":{"line":92,"column":18}},"14":{"start":{"line":94,"column":6},"end":{"line":94,"column":15}},"15":{"start":{"line":96,"column":6},"end":{"line":96,"column":24}},"16":{"start":{"line":109,"column":2},"end":{"line":109,"column":28}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":23,"column":36},"end":{"line":23,"column":37}},"loc":{"start":{"line":37,"column":6},"end":{"line":110,"column":1}},"line":37},"1":{"name":"(anonymous_1)","decl":{"start":{"line":41,"column":28},"end":{"line":41,"column":29}},"loc":{"start":{"line":41,"column":40},"end":{"line":98,"column":3}},"line":41}},"branchMap":{"0":{"loc":{"start":{"line":67,"column":40},"end":{"line":67,"column":84}},"type":"binary-expr","locations":[{"start":{"line":67,"column":40},"end":{"line":67,"column":59}},{"start":{"line":67,"column":63},"end":{"line":67,"column":79}},{"start":{"line":67,"column":83},"end":{"line":67,"column":84}}],"line":67},"1":{"loc":{"start":{"line":68,"column":41},"end":{"line":68,"column":64}},"type":"binary-expr","locations":[{"start":{"line":68,"column":41},"end":{"line":68,"column":59}},{"start":{"line":68,"column":63},"end":{"line":68,"column":64}}],"line":68},"2":{"loc":{"start":{"line":70,"column":6},"end":{"line":91,"column":7}},"type":"if","locations":[{"start":{"line":70,"column":6},"end":{"line":91,"column":7}},{"start":{},"end":{}}],"line":70}},"s":{"0":1,"1":6,"2":6,"3":6,"4":3,"5":3,"6":3,"7":2,"8":2,"9":2,"10":1,"11":1,"12":1,"13":1,"14":1,"15":3,"16":6},"f":{"0":6,"1":3},"b":{"0":[2,1,1],"1":[2,1],"2":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"be8b76ae59ac0d3ffb2b0badf956515aac0b23cd"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/useGetBalance.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/useGetBalance.ts","statementMap":{"0":{"start":{"line":5,"column":22},"end":{"line":40,"column":1}},"1":{"start":{"line":16,"column":29},"end":{"line":16,"column":47}},"2":{"start":{"line":17,"column":32},"end":{"line":17,"column":47}},"3":{"start":{"line":19,"column":21},"end":{"line":37,"column":70}},"4":{"start":{"line":20,"column":4},"end":{"line":36,"column":5}},"5":{"start":{"line":21,"column":6},"end":{"line":21,"column":23}},"6":{"start":{"line":22,"column":17},"end":{"line":30,"column":8}},"7":{"start":{"line":31,"column":6},"end":{"line":31,"column":16}},"8":{"start":{"line":33,"column":6},"end":{"line":33,"column":15}},"9":{"start":{"line":35,"column":6},"end":{"line":35,"column":24}},"10":{"start":{"line":39,"column":2},"end":{"line":39,"column":33}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":22},"end":{"line":5,"column":23}},"loc":{"start":{"line":15,"column":6},"end":{"line":40,"column":1}},"line":15},"1":{"name":"(anonymous_1)","decl":{"start":{"line":19,"column":33},"end":{"line":19,"column":34}},"loc":{"start":{"line":19,"column":45},"end":{"line":37,"column":3}},"line":19}},"branchMap":{},"s":{"0":1,"1":2,"2":2,"3":2,"4":1,"5":1,"6":1,"7":1,"8":0,"9":1,"10":2},"f":{"0":2,"1":1},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"437c7ef58f295ce5de516303eed8d7f9d60b33a6"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatNumberWithDecimalPlaces.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatNumberWithDecimalPlaces.ts","statementMap":{"0":{"start":{"line":2,"column":13},"end":{"line":2,"column":29}},"1":{"start":{"line":4,"column":15},"end":{"line":4,"column":29}},"2":{"start":{"line":5,"column":2},"end":{"line":5,"column":36}},"3":{"start":{"line":5,"column":20},"end":{"line":5,"column":36}},"4":{"start":{"line":6,"column":2},"end":{"line":6,"column":75}}},"fnMap":{"0":{"name":"formatNumberWithDecimalPlaces","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":38}},"loc":{"start":{"line":3,"column":74},"end":{"line":7,"column":1}},"line":3}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":61},"end":{"line":3,"column":72}},"type":"default-arg","locations":[{"start":{"line":3,"column":71},"end":{"line":3,"column":72}}],"line":3},"1":{"loc":{"start":{"line":5,"column":2},"end":{"line":5,"column":36}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":36}},{"start":{},"end":{}}],"line":5}},"s":{"0":1,"1":8,"2":8,"3":1,"4":7},"f":{"0":8},"b":{"0":[4],"1":[1,7]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"0252c6c7d950255117c5750ce9f678c6872b77b4"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatPrice.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatPrice.ts","statementMap":{"0":{"start":{"line":15,"column":6},"end":{"line":15,"column":24}},"1":{"start":{"line":16,"column":30},"end":{"line":16,"column":89}},"2":{"start":{"line":17,"column":2},"end":{"line":17,"column":42}},"3":{"start":{"line":17,"column":24},"end":{"line":17,"column":42}},"4":{"start":{"line":19,"column":2},"end":{"line":21,"column":3}},"5":{"start":{"line":20,"column":4},"end":{"line":20,"column":27}},"6":{"start":{"line":23,"column":21},"end":{"line":23,"column":66}},"7":{"start":{"line":24,"column":14},"end":{"line":24,"column":50}},"8":{"start":{"line":25,"column":2},"end":{"line":25,"column":13}}},"fnMap":{"0":{"name":"formatPrice","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":20}},"loc":{"start":{"line":10,"column":2},"end":{"line":26,"column":1}},"line":10}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":4},"end":{"line":12,"column":21}},"type":"default-arg","locations":[{"start":{"line":12,"column":20},"end":{"line":12,"column":21}}],"line":12},"1":{"loc":{"start":{"line":13,"column":4},"end":{"line":13,"column":39}},"type":"default-arg","locations":[{"start":{"line":13,"column":19},"end":{"line":13,"column":39}}],"line":13},"2":{"loc":{"start":{"line":14,"column":4},"end":{"line":14,"column":19}},"type":"default-arg","locations":[{"start":{"line":14,"column":15},"end":{"line":14,"column":19}}],"line":14},"3":{"loc":{"start":{"line":15,"column":6},"end":{"line":15,"column":24}},"type":"binary-expr","locations":[{"start":{"line":15,"column":6},"end":{"line":15,"column":18}},{"start":{"line":15,"column":22},"end":{"line":15,"column":24}}],"line":15},"4":{"loc":{"start":{"line":16,"column":30},"end":{"line":16,"column":89}},"type":"cond-expr","locations":[{"start":{"line":16,"column":61},"end":{"line":16,"column":66}},{"start":{"line":16,"column":69},"end":{"line":16,"column":89}}],"line":16},"5":{"loc":{"start":{"line":17,"column":2},"end":{"line":17,"column":42}},"type":"if","locations":[{"start":{"line":17,"column":2},"end":{"line":17,"column":42}},{"start":{},"end":{}}],"line":17},"6":{"loc":{"start":{"line":19,"column":2},"end":{"line":21,"column":3}},"type":"if","locations":[{"start":{"line":19,"column":2},"end":{"line":21,"column":3}},{"start":{},"end":{}}],"line":19},"7":{"loc":{"start":{"line":19,"column":6},"end":{"line":19,"column":53}},"type":"binary-expr","locations":[{"start":{"line":19,"column":6},"end":{"line":19,"column":28}},{"start":{"line":19,"column":32},"end":{"line":19,"column":53}}],"line":19}},"s":{"0":8,"1":8,"2":8,"3":1,"4":7,"5":1,"6":6,"7":6,"8":6},"f":{"0":8},"b":{"0":[4],"1":[6],"2":[6],"3":[8,3],"4":[1,7],"5":[1,7],"6":[1,6],"7":[7,7]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"075a4114c7469dcb7f856b895dea7fbeae184d74"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatTime.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatTime.ts","statementMap":{"0":{"start":{"line":3,"column":0},"end":{"line":3,"column":23}},"1":{"start":{"line":22,"column":2},"end":{"line":22,"column":37}},"2":{"start":{"line":33,"column":2},"end":{"line":39,"column":3}},"3":{"start":{"line":34,"column":4},"end":{"line":34,"column":40}},"4":{"start":{"line":35,"column":9},"end":{"line":39,"column":3}},"5":{"start":{"line":36,"column":4},"end":{"line":36,"column":33}},"6":{"start":{"line":38,"column":4},"end":{"line":38,"column":33}}},"fnMap":{"0":{"name":"formatTime","decl":{"start":{"line":21,"column":9},"end":{"line":21,"column":19}},"loc":{"start":{"line":21,"column":67},"end":{"line":23,"column":1}},"line":21},"1":{"name":"createDuration","decl":{"start":{"line":29,"column":9},"end":{"line":29,"column":23}},"loc":{"start":{"line":32,"column":12},"end":{"line":40,"column":1}},"line":32}},"branchMap":{"0":{"loc":{"start":{"line":21,"column":43},"end":{"line":21,"column":65}},"type":"default-arg","locations":[{"start":{"line":21,"column":53},"end":{"line":21,"column":65}}],"line":21},"1":{"loc":{"start":{"line":33,"column":2},"end":{"line":39,"column":3}},"type":"if","locations":[{"start":{"line":33,"column":2},"end":{"line":39,"column":3}},{"start":{"line":35,"column":9},"end":{"line":39,"column":3}}],"line":33},"2":{"loc":{"start":{"line":35,"column":9},"end":{"line":39,"column":3}},"type":"if","locations":[{"start":{"line":35,"column":9},"end":{"line":39,"column":3}},{"start":{"line":37,"column":9},"end":{"line":39,"column":3}}],"line":35}},"s":{"0":1,"1":3,"2":3,"3":1,"4":2,"5":1,"6":1},"f":{"0":3,"1":3},"b":{"0":[2],"1":[1,2],"2":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"42ff05db0d174a2567be1d1f54a821f6057591b5"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isAElfBridge.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isAElfBridge.ts","statementMap":{"0":{"start":{"line":5,"column":2},"end":{"line":5,"column":54}}},"fnMap":{"0":{"name":"isAElfBridge","decl":{"start":{"line":4,"column":16},"end":{"line":4,"column":28}},"loc":{"start":{"line":4,"column":57},"end":{"line":6,"column":1}},"line":4}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":12},"end":{"line":5,"column":52}},"type":"binary-expr","locations":[{"start":{"line":5,"column":12},"end":{"line":5,"column":30}},{"start":{"line":5,"column":34},"end":{"line":5,"column":52}}],"line":5}},"s":{"0":2},"f":{"0":2},"b":{"0":[2,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"d8ff657e803b7249e8a5d2403f2c3dfd16925ef6"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isELFAddress.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isELFAddress.ts","statementMap":{"0":{"start":{"line":4,"column":2},"end":{"line":4,"column":50}},"1":{"start":{"line":4,"column":37},"end":{"line":4,"column":50}},"2":{"start":{"line":5,"column":2},"end":{"line":9,"column":3}},"3":{"start":{"line":6,"column":4},"end":{"line":6,"column":48}},"4":{"start":{"line":8,"column":4},"end":{"line":8,"column":17}}},"fnMap":{"0":{"name":"isELFAddress","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":21}},"loc":{"start":{"line":3,"column":37},"end":{"line":10,"column":1}},"line":3}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":50}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":4,"column":50}},{"start":{},"end":{}}],"line":4}},"s":{"0":3,"1":1,"2":2,"3":2,"4":1},"f":{"0":3},"b":{"0":[1,2]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"43ae17bd9d761fb90f94bc131b116ca1476faa04"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isMobileDevices.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isMobileDevices.ts","statementMap":{"0":{"start":{"line":1,"column":20},"end":{"line":1,"column":29}},"1":{"start":{"line":2,"column":18},"end":{"line":2,"column":25}},"2":{"start":{"line":3,"column":20},"end":{"line":3,"column":27}},"3":{"start":{"line":4,"column":23},"end":{"line":4,"column":52}},"4":{"start":{"line":5,"column":21},"end":{"line":5,"column":47}},"5":{"start":{"line":6,"column":22},"end":{"line":6,"column":32}},"6":{"start":{"line":7,"column":20},"end":{"line":7,"column":56}},"7":{"start":{"line":8,"column":21},"end":{"line":8,"column":28}},"8":{"start":{"line":9,"column":21},"end":{"line":9,"column":37}},"9":{"start":{"line":10,"column":22},"end":{"line":10,"column":45}},"10":{"start":{"line":11,"column":24},"end":{"line":11,"column":37}},"11":{"start":{"line":12,"column":26},"end":{"line":12,"column":33}},"12":{"start":{"line":13,"column":19},"end":{"line":13,"column":32}},"13":{"start":{"line":14,"column":20},"end":{"line":14,"column":51}},"14":{"start":{"line":15,"column":21},"end":{"line":15,"column":45}},"15":{"start":{"line":24,"column":29},"end":{"line":31,"column":1}},"16":{"start":{"line":25,"column":2},"end":{"line":30,"column":4}},"17":{"start":{"line":34,"column":2},"end":{"line":34,"column":59}},"18":{"start":{"line":34,"column":37},"end":{"line":34,"column":58}},"19":{"start":{"line":76,"column":23},"end":{"line":80,"column":3}},"20":{"start":{"line":82,"column":2},"end":{"line":96,"column":3}},"21":{"start":{"line":83,"column":4},"end":{"line":87,"column":6}},"22":{"start":{"line":88,"column":9},"end":{"line":96,"column":3}},"23":{"start":{"line":89,"column":4},"end":{"line":89,"column":26}},"24":{"start":{"line":90,"column":9},"end":{"line":96,"column":3}},"25":{"start":{"line":91,"column":4},"end":{"line":95,"column":6}},"26":{"start":{"line":98,"column":18},"end":{"line":98,"column":31}},"27":{"start":{"line":102,"column":12},"end":{"line":102,"column":36}},"28":{"start":{"line":103,"column":2},"end":{"line":105,"column":3}},"29":{"start":{"line":104,"column":4},"end":{"line":104,"column":23}},"30":{"start":{"line":110,"column":2},"end":{"line":110,"column":35}},"31":{"start":{"line":111,"column":2},"end":{"line":113,"column":3}},"32":{"start":{"line":112,"column":4},"end":{"line":112,"column":23}},"33":{"start":{"line":115,"column":16},"end":{"line":115,"column":38}},"34":{"start":{"line":117,"column":33},"end":{"line":177,"column":3}},"35":{"start":{"line":179,"column":2},"end":{"line":180,"column":97}},"36":{"start":{"line":182,"column":2},"end":{"line":182,"column":84}},"37":{"start":{"line":183,"column":2},"end":{"line":183,"column":88}},"38":{"start":{"line":185,"column":2},"end":{"line":185,"column":16}},"39":{"start":{"line":189,"column":14},"end":{"line":189,"column":24}},"40":{"start":{"line":190,"column":2},"end":{"line":190,"column":48}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":24,"column":29},"end":{"line":24,"column":30}},"loc":{"start":{"line":24,"column":65},"end":{"line":31,"column":1}},"line":24},"1":{"name":"createMatch","decl":{"start":{"line":33,"column":9},"end":{"line":33,"column":20}},"loc":{"start":{"line":33,"column":71},"end":{"line":35,"column":1}},"line":33},"2":{"name":"(anonymous_2)","decl":{"start":{"line":34,"column":9},"end":{"line":34,"column":10}},"loc":{"start":{"line":34,"column":37},"end":{"line":34,"column":58}},"line":34},"3":{"name":"isMobile","decl":{"start":{"line":75,"column":16},"end":{"line":75,"column":24}},"loc":{"start":{"line":75,"column":68},"end":{"line":186,"column":1}},"line":75},"4":{"name":"isMobileDevices","decl":{"start":{"line":188,"column":16},"end":{"line":188,"column":31}},"loc":{"start":{"line":188,"column":34},"end":{"line":191,"column":1}},"line":188}},"branchMap":{"0":{"loc":{"start":{"line":26,"column":4},"end":{"line":29,"column":32}},"type":"binary-expr","locations":[{"start":{"line":26,"column":4},"end":{"line":26,"column":36}},{"start":{"line":27,"column":4},"end":{"line":27,"column":37}},{"start":{"line":28,"column":4},"end":{"line":28,"column":48}},{"start":{"line":29,"column":4},"end":{"line":29,"column":32}}],"line":26},"1":{"loc":{"start":{"line":82,"column":2},"end":{"line":96,"column":3}},"type":"if","locations":[{"start":{"line":82,"column":2},"end":{"line":96,"column":3}},{"start":{"line":88,"column":9},"end":{"line":96,"column":3}}],"line":82},"2":{"loc":{"start":{"line":82,"column":6},"end":{"line":82,"column":48}},"type":"binary-expr","locations":[{"start":{"line":82,"column":6},"end":{"line":82,"column":12}},{"start":{"line":82,"column":16},"end":{"line":82,"column":48}}],"line":82},"3":{"loc":{"start":{"line":86,"column":22},"end":{"line":86,"column":51}},"type":"binary-expr","locations":[{"start":{"line":86,"column":22},"end":{"line":86,"column":46}},{"start":{"line":86,"column":50},"end":{"line":86,"column":51}}],"line":86},"4":{"loc":{"start":{"line":88,"column":9},"end":{"line":96,"column":3}},"type":"if","locations":[{"start":{"line":88,"column":9},"end":{"line":96,"column":3}},{"start":{"line":90,"column":9},"end":{"line":96,"column":3}}],"line":88},"5":{"loc":{"start":{"line":90,"column":9},"end":{"line":96,"column":3}},"type":"if","locations":[{"start":{"line":90,"column":9},"end":{"line":96,"column":3}},{"start":{},"end":{}}],"line":90},"6":{"loc":{"start":{"line":90,"column":13},"end":{"line":90,"column":37}},"type":"binary-expr","locations":[{"start":{"line":90,"column":13},"end":{"line":90,"column":18}},{"start":{"line":90,"column":22},"end":{"line":90,"column":37}}],"line":90},"7":{"loc":{"start":{"line":94,"column":22},"end":{"line":94,"column":47}},"type":"binary-expr","locations":[{"start":{"line":94,"column":22},"end":{"line":94,"column":42}},{"start":{"line":94,"column":46},"end":{"line":94,"column":47}}],"line":94},"8":{"loc":{"start":{"line":103,"column":2},"end":{"line":105,"column":3}},"type":"if","locations":[{"start":{"line":103,"column":2},"end":{"line":105,"column":3}},{"start":{},"end":{}}],"line":103},"9":{"loc":{"start":{"line":111,"column":2},"end":{"line":113,"column":3}},"type":"if","locations":[{"start":{"line":111,"column":2},"end":{"line":113,"column":3}},{"start":{},"end":{}}],"line":111},"10":{"loc":{"start":{"line":119,"column":13},"end":{"line":119,"column":55}},"type":"binary-expr","locations":[{"start":{"line":119,"column":13},"end":{"line":119,"column":31}},{"start":{"line":119,"column":35},"end":{"line":119,"column":55}}],"line":119},"11":{"loc":{"start":{"line":122,"column":8},"end":{"line":124,"column":28}},"type":"binary-expr","locations":[{"start":{"line":122,"column":8},"end":{"line":122,"column":27}},{"start":{"line":123,"column":9},"end":{"line":123,"column":27}},{"start":{"line":123,"column":31},"end":{"line":123,"column":56}},{"start":{"line":124,"column":8},"end":{"line":124,"column":28}}],"line":122},"12":{"loc":{"start":{"line":127,"column":8},"end":{"line":132,"column":28}},"type":"binary-expr","locations":[{"start":{"line":127,"column":9},"end":{"line":127,"column":27}},{"start":{"line":128,"column":10},"end":{"line":128,"column":26}},{"start":{"line":129,"column":10},"end":{"line":129,"column":28}},{"start":{"line":130,"column":10},"end":{"line":130,"column":31}},{"start":{"line":131,"column":10},"end":{"line":131,"column":35}},{"start":{"line":132,"column":8},"end":{"line":132,"column":28}}],"line":127},"13":{"loc":{"start":{"line":136,"column":14},"end":{"line":136,"column":56}},"type":"binary-expr","locations":[{"start":{"line":136,"column":14},"end":{"line":136,"column":33}},{"start":{"line":136,"column":37},"end":{"line":136,"column":56}}],"line":136},"14":{"loc":{"start":{"line":137,"column":14},"end":{"line":137,"column":55}},"type":"binary-expr","locations":[{"start":{"line":137,"column":14},"end":{"line":137,"column":32}},{"start":{"line":137,"column":36},"end":{"line":137,"column":55}}],"line":137},"15":{"loc":{"start":{"line":141,"column":8},"end":{"line":142,"column":53}},"type":"binary-expr","locations":[{"start":{"line":141,"column":9},"end":{"line":141,"column":29}},{"start":{"line":141,"column":33},"end":{"line":141,"column":51}},{"start":{"line":142,"column":9},"end":{"line":142,"column":29}},{"start":{"line":142,"column":33},"end":{"line":142,"column":52}}],"line":141},"16":{"loc":{"start":{"line":144,"column":8},"end":{"line":147,"column":53}},"type":"binary-expr","locations":[{"start":{"line":144,"column":8},"end":{"line":144,"column":28}},{"start":{"line":145,"column":8},"end":{"line":145,"column":27}},{"start":{"line":146,"column":8},"end":{"line":146,"column":28}},{"start":{"line":147,"column":9},"end":{"line":147,"column":28}},{"start":{"line":147,"column":32},"end":{"line":147,"column":52}}],"line":144},"17":{"loc":{"start":{"line":149,"column":8},"end":{"line":154,"column":28}},"type":"binary-expr","locations":[{"start":{"line":149,"column":9},"end":{"line":149,"column":29}},{"start":{"line":150,"column":11},"end":{"line":150,"column":29}},{"start":{"line":151,"column":12},"end":{"line":151,"column":31}},{"start":{"line":152,"column":12},"end":{"line":152,"column":31}},{"start":{"line":153,"column":12},"end":{"line":153,"column":32}},{"start":{"line":154,"column":8},"end":{"line":154,"column":28}}],"line":149},"18":{"loc":{"start":{"line":159,"column":14},"end":{"line":159,"column":57}},"type":"binary-expr","locations":[{"start":{"line":159,"column":14},"end":{"line":159,"column":33}},{"start":{"line":159,"column":37},"end":{"line":159,"column":57}}],"line":159},"19":{"loc":{"start":{"line":168,"column":8},"end":{"line":172,"column":26}},"type":"binary-expr","locations":[{"start":{"line":168,"column":8},"end":{"line":168,"column":30}},{"start":{"line":169,"column":8},"end":{"line":169,"column":32}},{"start":{"line":170,"column":8},"end":{"line":170,"column":25}},{"start":{"line":171,"column":8},"end":{"line":171,"column":27}},{"start":{"line":172,"column":8},"end":{"line":172,"column":26}}],"line":168},"20":{"loc":{"start":{"line":180,"column":4},"end":{"line":180,"column":96}},"type":"binary-expr","locations":[{"start":{"line":180,"column":4},"end":{"line":180,"column":23}},{"start":{"line":180,"column":27},"end":{"line":180,"column":48}},{"start":{"line":180,"column":52},"end":{"line":180,"column":73}},{"start":{"line":180,"column":77},"end":{"line":180,"column":96}}],"line":180},"21":{"loc":{"start":{"line":182,"column":17},"end":{"line":182,"column":83}},"type":"binary-expr","locations":[{"start":{"line":182,"column":17},"end":{"line":182,"column":35}},{"start":{"line":182,"column":39},"end":{"line":182,"column":59}},{"start":{"line":182,"column":63},"end":{"line":182,"column":83}}],"line":182},"22":{"loc":{"start":{"line":183,"column":18},"end":{"line":183,"column":87}},"type":"binary-expr","locations":[{"start":{"line":183,"column":18},"end":{"line":183,"column":37}},{"start":{"line":183,"column":41},"end":{"line":183,"column":62}},{"start":{"line":183,"column":66},"end":{"line":183,"column":87}}],"line":183},"23":{"loc":{"start":{"line":190,"column":9},"end":{"line":190,"column":47}},"type":"binary-expr","locations":[{"start":{"line":190,"column":9},"end":{"line":190,"column":25}},{"start":{"line":190,"column":29},"end":{"line":190,"column":47}}],"line":190}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":2,"17":2,"18":84,"19":2,"20":2,"21":2,"22":0,"23":0,"24":0,"25":0,"26":2,"27":2,"28":2,"29":0,"30":2,"31":2,"32":0,"33":2,"34":2,"35":2,"36":2,"37":2,"38":2,"39":2,"40":2},"f":{"0":2,"1":2,"2":84,"3":2,"4":2},"b":{"0":[2,2,0,0],"1":[2,0],"2":[2,2],"3":[2,2],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,2],"9":[0,2],"10":[2,1],"11":[2,1,1,0],"12":[2,1,1,1,1,1],"13":[2,2],"14":[2,2],"15":[2,2,2,2],"16":[2,2,2,2,2],"17":[2,2,2,2,2,2],"18":[2,2],"19":[2,2,2,2,2],"20":[2,1,1,1],"21":[2,1,1],"22":[2,2,2],"23":[2,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"82b9d37051b230c0052712ae4e5bc98fd84a0c6c"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isPortkeyApp.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isPortkeyApp.ts","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":6,"column":3}},"1":{"start":{"line":3,"column":4},"end":{"line":3,"column":17}},"2":{"start":{"line":5,"column":4},"end":{"line":5,"column":58}}},"fnMap":{"0":{"name":"isPortkeyApp","decl":{"start":{"line":1,"column":16},"end":{"line":1,"column":28}},"loc":{"start":{"line":1,"column":31},"end":{"line":7,"column":1}},"line":1}},"branchMap":{"0":{"loc":{"start":{"line":2,"column":2},"end":{"line":6,"column":3}},"type":"if","locations":[{"start":{"line":2,"column":2},"end":{"line":6,"column":3}},{"start":{"line":4,"column":9},"end":{"line":6,"column":3}}],"line":2}},"s":{"0":2,"1":1,"2":1},"f":{"0":2},"b":{"0":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"1ed7b43151466a62a42d706e082632997327ef65"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isPrivateKey.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isPrivateKey.ts","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":8,"column":3}},"1":{"start":{"line":3,"column":4},"end":{"line":5,"column":5}},"2":{"start":{"line":4,"column":6},"end":{"line":4,"column":75}},"3":{"start":{"line":7,"column":4},"end":{"line":7,"column":17}},"4":{"start":{"line":9,"column":2},"end":{"line":9,"column":15}}},"fnMap":{"0":{"name":"isPrivateKey","decl":{"start":{"line":1,"column":16},"end":{"line":1,"column":28}},"loc":{"start":{"line":1,"column":50},"end":{"line":10,"column":1}},"line":1}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":4},"end":{"line":5,"column":5}},"type":"if","locations":[{"start":{"line":3,"column":4},"end":{"line":5,"column":5}},{"start":{},"end":{}}],"line":3},"1":{"loc":{"start":{"line":3,"column":8},"end":{"line":3,"column":52}},"type":"binary-expr","locations":[{"start":{"line":3,"column":8},"end":{"line":3,"column":18}},{"start":{"line":3,"column":22},"end":{"line":3,"column":52}}],"line":3}},"s":{"0":3,"1":3,"2":2,"3":1,"4":1},"f":{"0":3},"b":{"0":[2,1],"1":[3,2]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"f0077349f30e3216afcaf5b95239a7d7a74ff48a"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/utility/Loading.tsx": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/utility/Loading.tsx","statementMap":{"0":{"start":{"line":4,"column":45},"end":{"line":4,"column":49}},"1":{"start":{"line":5,"column":30},"end":{"line":5,"column":34}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":28}},"3":{"start":{"line":13,"column":4},"end":{"line":17,"column":5}},"4":{"start":{"line":14,"column":6},"end":{"line":14,"column":53}},"5":{"start":{"line":15,"column":6},"end":{"line":15,"column":48}},"6":{"start":{"line":16,"column":6},"end":{"line":16,"column":45}},"7":{"start":{"line":21,"column":4},"end":{"line":21,"column":27}},"8":{"start":{"line":23,"column":4},"end":{"line":23,"column":56}},"9":{"start":{"line":27,"column":4},"end":{"line":27,"column":29}},"10":{"start":{"line":31,"column":4},"end":{"line":31,"column":30}},"11":{"start":{"line":32,"column":4},"end":{"line":37,"column":5}},"12":{"start":{"line":33,"column":6},"end":{"line":33,"column":27}},"13":{"start":{"line":34,"column":6},"end":{"line":34,"column":48}},"14":{"start":{"line":35,"column":6},"end":{"line":35,"column":28}},"15":{"start":{"line":36,"column":6},"end":{"line":36,"column":23}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":2},"end":{"line":8,"column":3}},"loc":{"start":{"line":8,"column":38},"end":{"line":10,"column":3}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":12,"column":2},"end":{"line":12,"column":3}},"loc":{"start":{"line":12,"column":28},"end":{"line":18,"column":3}},"line":12},"2":{"name":"(anonymous_2)","decl":{"start":{"line":20,"column":2},"end":{"line":20,"column":3}},"loc":{"start":{"line":20,"column":42},"end":{"line":24,"column":3}},"line":20},"3":{"name":"(anonymous_3)","decl":{"start":{"line":26,"column":2},"end":{"line":26,"column":3}},"loc":{"start":{"line":26,"column":9},"end":{"line":28,"column":3}},"line":26},"4":{"name":"(anonymous_4)","decl":{"start":{"line":30,"column":2},"end":{"line":30,"column":3}},"loc":{"start":{"line":30,"column":9},"end":{"line":38,"column":3}},"line":30}},"branchMap":{"0":{"loc":{"start":{"line":13,"column":4},"end":{"line":17,"column":5}},"type":"if","locations":[{"start":{"line":13,"column":4},"end":{"line":17,"column":5}},{"start":{},"end":{}}],"line":13},"1":{"loc":{"start":{"line":23,"column":22},"end":{"line":23,"column":54}},"type":"cond-expr","locations":[{"start":{"line":23,"column":32},"end":{"line":23,"column":47}},{"start":{"line":23,"column":50},"end":{"line":23,"column":54}}],"line":23},"2":{"loc":{"start":{"line":32,"column":4},"end":{"line":37,"column":5}},"type":"if","locations":[{"start":{"line":32,"column":4},"end":{"line":37,"column":5}},{"start":{},"end":{}}],"line":32}},"s":{"0":4,"1":4,"2":4,"3":4,"4":3,"5":3,"6":3,"7":4,"8":4,"9":3,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1},"f":{"0":4,"1":4,"2":4,"3":3,"4":1},"b":{"0":[3,1],"1":[3,1],"2":[1,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"d1b2e7b75f227d9c2a2afaca19b603ca9f0ea4e4"} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/utility/sleep.ts": {"path":"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/utility/sleep.ts","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":2,"column":69}},"1":{"start":{"line":2,"column":34},"end":{"line":2,"column":67}}},"fnMap":{"0":{"name":"sleep","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":14}},"loc":{"start":{"line":1,"column":52},"end":{"line":3,"column":1}},"line":1},"1":{"name":"(anonymous_1)","decl":{"start":{"line":2,"column":21},"end":{"line":2,"column":22}},"loc":{"start":{"line":2,"column":34},"end":{"line":2,"column":67}},"line":2}},"branchMap":{},"s":{"0":1,"1":1},"f":{"0":1,"1":1},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"49e1a28dfeb96cf7cd575a64842c2e71a804aa20"} -} diff --git a/packages/utils/coverage/coverage-summary.json b/packages/utils/coverage/coverage-summary.json index 82f068c8..c9285e1c 100644 --- a/packages/utils/coverage/coverage-summary.json +++ b/packages/utils/coverage/coverage-summary.json @@ -1,24 +1,23 @@ -{"total": {"lines":{"total":192,"covered":182,"skipped":0,"pct":94.79},"statements":{"total":210,"covered":197,"skipped":0,"pct":93.8},"functions":{"total":34,"covered":34,"skipped":0,"pct":100},"branches":{"total":182,"covered":158,"skipped":0,"pct":86.81},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/addPrefixSuffix.ts": {"lines":{"total":9,"covered":9,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":10,"covered":10,"skipped":0,"pct":100},"branches":{"total":8,"covered":6,"skipped":0,"pct":75}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/decodeAddress.ts": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":15,"covered":15,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/address/getOriginalAddress.ts": {"lines":{"total":4,"covered":4,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/divDecimals.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":8,"covered":8,"skipped":0,"pct":100},"branches":{"total":13,"covered":13,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/index.ts": {"lines":{"total":0,"covered":0,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":0,"covered":0,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/calculate/timesDecimals.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":8,"covered":8,"skipped":0,"pct":100},"branches":{"total":13,"covered":13,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransaction.ts": {"lines":{"total":17,"covered":17,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":21,"covered":18,"skipped":0,"pct":85.71},"branches":{"total":13,"covered":9,"skipped":0,"pct":69.23}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransactionNight.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getRawTransactionPortkey.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":6,"covered":6,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/getTxResultRetry.ts": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":12,"covered":12,"skipped":0,"pct":100},"branches":{"total":7,"covered":5,"skipped":0,"pct":71.42}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/useCheckAllowanceAndApprove.ts": {"lines":{"total":17,"covered":17,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":17,"covered":17,"skipped":0,"pct":100},"branches":{"total":7,"covered":7,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/contract/useGetBalance.ts": {"lines":{"total":11,"covered":10,"skipped":0,"pct":90.9},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":11,"covered":10,"skipped":0,"pct":90.9},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatNumberWithDecimalPlaces.ts": {"lines":{"total":4,"covered":4,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":3,"covered":3,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatPrice.ts": {"lines":{"total":8,"covered":8,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":13,"covered":13,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/format/formatTime.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":7,"covered":7,"skipped":0,"pct":100},"branches":{"total":5,"covered":5,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isAElfBridge.ts": {"lines":{"total":1,"covered":1,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":1,"covered":1,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isELFAddress.ts": {"lines":{"total":4,"covered":1,"skipped":0,"pct":25},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":5,"covered":2,"skipped":0,"pct":40},"branches":{"total":2,"covered":1,"skipped":0,"pct":50}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isMobileDevices.ts": {"lines":{"total":40,"covered":34,"skipped":0,"pct":85},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":41,"covered":35,"skipped":0,"pct":85.36},"branches":{"total":72,"covered":58,"skipped":0,"pct":80.55}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isPortkeyApp.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/is/isPrivateKey.ts": {"lines":{"total":5,"covered":5,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/utility/Loading.tsx": {"lines":{"total":16,"covered":16,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":16,"covered":16,"skipped":0,"pct":100},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/utils/src/utility/sleep.ts": {"lines":{"total":1,"covered":1,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} +{"/workspaces/aelf-web-login/packages/utils/src/address/addPrefixSuffix.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/address/addPrefixSuffix.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":57}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":23}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":26}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":24}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":51}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":32}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":34}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":3}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":30}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":34}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":3}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":16}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":1}}},"s":{"0":5,"1":5,"2":4,"3":4,"4":5,"5":5,"6":4,"7":4,"8":4,"9":4,"10":4,"11":4,"12":4},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":13,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":13,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":23}},"locations":[{"start":{"line":2,"column":12},"end":{"line":2,"column":23}}]},"2":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":19},"end":{"line":5,"column":27}},"locations":[{"start":{"line":2,"column":19},"end":{"line":5,"column":27}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":17},"end":{"line":5,"column":43}},"locations":[{"start":{"line":5,"column":17},"end":{"line":5,"column":43}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":38},"end":{"line":5,"column":51}},"locations":[{"start":{"line":5,"column":38},"end":{"line":5,"column":51}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":31},"end":{"line":13,"column":1}},"locations":[{"start":{"line":6,"column":31},"end":{"line":13,"column":1}}]}},"b":{"0":[5],"1":[1],"2":[4],"3":[1],"4":[3],"5":[4]},"fnMap":{"0":{"name":"addPrefixSuffix","decl":{"start":{"line":1,"column":0},"end":{"line":13,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":13,"column":1}},"line":1}},"f":{"0":5}} +,"/workspaces/aelf-web-login/packages/utils/src/address/decodeAddress.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/address/decodeAddress.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":51}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":7}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":31}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":55}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":32}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":39}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":43}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":35}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":47}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":12}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":43}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":5}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":16}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":19}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":17}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":3}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":2}}},"s":{"0":1,"1":1,"2":6,"3":6,"4":6,"5":6,"6":2,"7":2,"9":1,"10":1,"11":2,"12":2,"13":2,"14":2,"15":6,"16":1,"17":1,"18":6},"branchMap":{"0":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":29},"end":{"line":19,"column":2}},"locations":[{"start":{"line":2,"column":29},"end":{"line":19,"column":2}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":18},"end":{"line":4,"column":31}},"locations":[{"start":{"line":4,"column":18},"end":{"line":4,"column":31}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":25},"end":{"line":5,"column":49}},"locations":[{"start":{"line":4,"column":25},"end":{"line":5,"column":49}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":42},"end":{"line":5,"column":55}},"locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":55}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":49},"end":{"line":6,"column":31}},"locations":[{"start":{"line":5,"column":49},"end":{"line":6,"column":31}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":31},"end":{"line":16,"column":11}},"locations":[{"start":{"line":6,"column":31},"end":{"line":16,"column":11}}]},"6":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":30},"end":{"line":12,"column":11}},"locations":[{"start":{"line":8,"column":30},"end":{"line":12,"column":11}}]},"7":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"locations":[{"start":{"line":16,"column":2},"end":{"line":18,"column":3}}]}},"b":{"0":[6],"1":[1],"2":[5],"3":[1],"4":[4],"5":[2],"6":[1],"7":[1]},"fnMap":{"0":{"name":"decodeAddress","decl":{"start":{"line":2,"column":29},"end":{"line":19,"column":2}},"loc":{"start":{"line":2,"column":29},"end":{"line":19,"column":2}},"line":2}},"f":{"0":6}} +,"/workspaces/aelf-web-login/packages/utils/src/address/getOriginalAddress.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/address/getOriginalAddress.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":46}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":15}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":3}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":58}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":1}}},"s":{"0":6,"1":6,"2":6,"3":1,"4":1,"5":3,"6":3},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":7,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":7,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":16},"end":{"line":2,"column":27}},"locations":[{"start":{"line":2,"column":16},"end":{"line":2,"column":27}}]},"2":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":23},"end":{"line":3,"column":35}},"locations":[{"start":{"line":2,"column":23},"end":{"line":3,"column":35}}]},"3":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":35},"end":{"line":5,"column":3}},"locations":[{"start":{"line":3,"column":35},"end":{"line":5,"column":3}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":2},"end":{"line":7,"column":1}},"locations":[{"start":{"line":5,"column":2},"end":{"line":7,"column":1}}]}},"b":{"0":[6],"1":[2],"2":[4],"3":[1],"4":[3]},"fnMap":{"0":{"name":"getOriginalAddress","decl":{"start":{"line":1,"column":0},"end":{"line":7,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":7,"column":1}},"line":1}},"f":{"0":6}} +,"/workspaces/aelf-web-login/packages/utils/src/calculate/divDecimals.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/calculate/divDecimals.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":82}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":34}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":63}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":71}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":61}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":30}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":3}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":35}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":1}}},"s":{"0":1,"2":1,"3":8,"4":8,"5":8,"6":8,"7":1,"8":1,"9":3,"10":3},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"locations":[{"start":{"line":3,"column":7},"end":{"line":11,"column":1}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":10},"end":{"line":4,"column":34}},"locations":[{"start":{"line":4,"column":10},"end":{"line":4,"column":34}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":32},"end":{"line":5,"column":42}},"locations":[{"start":{"line":4,"column":32},"end":{"line":5,"column":42}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":38},"end":{"line":5,"column":46}},"locations":[{"start":{"line":5,"column":38},"end":{"line":5,"column":46}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":42},"end":{"line":5,"column":63}},"locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":63}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":17},"end":{"line":6,"column":47}},"locations":[{"start":{"line":6,"column":17},"end":{"line":6,"column":47}}]},"6":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":47},"end":{"line":6,"column":71}},"locations":[{"start":{"line":6,"column":47},"end":{"line":6,"column":71}}]},"7":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":69},"end":{"line":7,"column":38}},"locations":[{"start":{"line":6,"column":69},"end":{"line":7,"column":38}}]},"8":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":26},"end":{"line":7,"column":60}},"locations":[{"start":{"line":7,"column":26},"end":{"line":7,"column":60}}]},"9":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":60},"end":{"line":9,"column":3}},"locations":[{"start":{"line":7,"column":60},"end":{"line":9,"column":3}}]},"10":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":1}},"locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":1}}]}},"b":{"0":[8],"1":[3],"2":[5],"3":[1],"4":[4],"5":[5],"6":[1],"7":[4],"8":[1],"9":[1],"10":[3]},"fnMap":{"0":{"name":"divDecimals","decl":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"line":3}},"f":{"0":8}} +,"/workspaces/aelf-web-login/packages/utils/src/calculate/index.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/calculate/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":30}}},"s":{"0":1,"1":1},"branchMap":{},"b":{},"fnMap":{},"f":{}} +,"/workspaces/aelf-web-login/packages/utils/src/calculate/timesDecimals.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/calculate/timesDecimals.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":84}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":34}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":63}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":71}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":61}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":32}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":3}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":37}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":1}}},"s":{"0":1,"2":1,"3":11,"4":11,"5":11,"6":11,"7":1,"8":1,"9":5,"10":5},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"locations":[{"start":{"line":3,"column":7},"end":{"line":11,"column":1}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":10},"end":{"line":4,"column":34}},"locations":[{"start":{"line":4,"column":10},"end":{"line":4,"column":34}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":32},"end":{"line":5,"column":42}},"locations":[{"start":{"line":4,"column":32},"end":{"line":5,"column":42}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":38},"end":{"line":5,"column":46}},"locations":[{"start":{"line":5,"column":38},"end":{"line":5,"column":46}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":42},"end":{"line":5,"column":63}},"locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":63}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":17},"end":{"line":6,"column":47}},"locations":[{"start":{"line":6,"column":17},"end":{"line":6,"column":47}}]},"6":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":47},"end":{"line":6,"column":71}},"locations":[{"start":{"line":6,"column":47},"end":{"line":6,"column":71}}]},"7":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":69},"end":{"line":7,"column":38}},"locations":[{"start":{"line":6,"column":69},"end":{"line":7,"column":38}}]},"8":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":26},"end":{"line":7,"column":60}},"locations":[{"start":{"line":7,"column":26},"end":{"line":7,"column":60}}]},"9":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":60},"end":{"line":9,"column":3}},"locations":[{"start":{"line":7,"column":60},"end":{"line":9,"column":3}}]},"10":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":1}},"locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":1}}]}},"b":{"0":[11],"1":[3],"2":[8],"3":[1],"4":[7],"5":[8],"6":[2],"7":[6],"8":[1],"9":[1],"10":[5]},"fnMap":{"0":{"name":"timesDecimals","decl":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"line":3}},"f":{"0":11}} +,"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransaction.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransaction.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":62}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":99}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":13}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":13}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":9}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":13}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":18}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":20}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":9}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":29}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":22}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":17}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":7}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":25}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":29}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":56}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":46}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":65}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":77}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":26}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":53}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":17}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":17}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":21}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":11}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":14}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":35}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":41}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":47}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":40}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":26}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":28}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":17}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":17}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":21}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":11}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":14}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":30}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":41}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":44}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":26}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":17}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":51}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":21}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":17}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":11}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":14}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":5}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":15}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":19}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":50}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":16}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":3}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":2}}},"s":{"0":1,"15":1,"16":5,"17":5,"18":5,"19":5,"20":5,"21":5,"22":5,"23":5,"24":5,"26":4,"28":4,"29":4,"30":5,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":5,"43":2,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":1,"53":5,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":5,"65":3,"66":5,"67":1,"69":1,"70":1,"71":5},"branchMap":{"0":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":91},"end":{"line":72,"column":2}},"locations":[{"start":{"line":16,"column":91},"end":{"line":72,"column":2}}]},"1":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":15},"end":{"line":25,"column":22}},"locations":[{"start":{"line":25,"column":15},"end":{"line":25,"column":22}}]},"2":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":15},"end":{"line":30,"column":25}},"locations":[{"start":{"line":25,"column":15},"end":{"line":30,"column":25}}]},"3":{"type":"branch","line":31,"loc":{"start":{"line":31,"column":6},"end":{"line":42,"column":14}},"locations":[{"start":{"line":31,"column":6},"end":{"line":42,"column":14}}]},"4":{"type":"branch","line":32,"loc":{"start":{"line":32,"column":49},"end":{"line":32,"column":56}},"locations":[{"start":{"line":32,"column":49},"end":{"line":32,"column":56}}]},"5":{"type":"branch","line":37,"loc":{"start":{"line":37,"column":29},"end":{"line":37,"column":53}},"locations":[{"start":{"line":37,"column":29},"end":{"line":37,"column":53}}]},"6":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":6},"end":{"line":53,"column":14}},"locations":[{"start":{"line":43,"column":6},"end":{"line":53,"column":14}}]},"7":{"type":"branch","line":44,"loc":{"start":{"line":44,"column":34},"end":{"line":44,"column":41}},"locations":[{"start":{"line":44,"column":34},"end":{"line":44,"column":41}}]},"8":{"type":"branch","line":52,"loc":{"start":{"line":52,"column":9},"end":{"line":53,"column":14}},"locations":[{"start":{"line":52,"column":9},"end":{"line":53,"column":14}}]},"9":{"type":"branch","line":54,"loc":{"start":{"line":54,"column":6},"end":{"line":63,"column":14}},"locations":[{"start":{"line":54,"column":6},"end":{"line":63,"column":14}}]},"10":{"type":"branch","line":55,"loc":{"start":{"line":55,"column":34},"end":{"line":55,"column":41}},"locations":[{"start":{"line":55,"column":34},"end":{"line":55,"column":41}}]},"11":{"type":"branch","line":64,"loc":{"start":{"line":64,"column":4},"end":{"line":67,"column":11}},"locations":[{"start":{"line":64,"column":4},"end":{"line":67,"column":11}}]},"12":{"type":"branch","line":67,"loc":{"start":{"line":67,"column":2},"end":{"line":71,"column":3}},"locations":[{"start":{"line":67,"column":2},"end":{"line":71,"column":3}}]}},"b":{"0":[5],"1":[1],"2":[4],"3":[1],"4":[0],"5":[0],"6":[2],"7":[0],"8":[1],"9":[1],"10":[0],"11":[3],"12":[1]},"fnMap":{"0":{"name":"getRawTransaction","decl":{"start":{"line":16,"column":91},"end":{"line":72,"column":2}},"loc":{"start":{"line":16,"column":91},"end":{"line":72,"column":2}},"line":16}},"f":{"0":5}} +,"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionNight.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionNight.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":39}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":10}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":18}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":9}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":13}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":9}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":36}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":43}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":21}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":37}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":19}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":5}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":58}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":17}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":1}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":38}}},"s":{"0":1,"10":2,"11":2,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":2,"22":1,"23":1,"24":1,"26":1},"branchMap":{"0":{"type":"branch","line":11,"loc":{"start":{"line":11,"column":0},"end":{"line":25,"column":1}},"locations":[{"start":{"line":11,"column":0},"end":{"line":25,"column":1}}]},"1":{"type":"branch","line":22,"loc":{"start":{"line":22,"column":3},"end":{"line":25,"column":1}},"locations":[{"start":{"line":22,"column":3},"end":{"line":25,"column":1}}]}},"b":{"0":[2],"1":[1]},"fnMap":{"0":{"name":"getRawTransactionNight","decl":{"start":{"line":11,"column":0},"end":{"line":25,"column":1}},"loc":{"start":{"line":11,"column":0},"end":{"line":25,"column":1}},"line":11}},"f":{"0":2}} +,"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionPortkey.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionPortkey.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":38}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":41}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":9}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":13}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":18}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":20}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":9}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":9}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":13}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":37}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":7}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":45}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":21}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":21}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":42}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":39}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":43}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":21}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":7}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":18}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":19}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":33}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":3}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":2}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":40}}},"s":{"0":1,"1":1,"13":1,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":2,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"29":2,"30":2,"32":1,"34":1,"35":1,"36":1,"37":1,"38":2,"39":1},"branchMap":{"0":{"type":"branch","line":14,"loc":{"start":{"line":14,"column":33},"end":{"line":39,"column":2}},"locations":[{"start":{"line":14,"column":33},"end":{"line":39,"column":2}}]},"1":{"type":"branch","line":31,"loc":{"start":{"line":31,"column":5},"end":{"line":38,"column":3}},"locations":[{"start":{"line":31,"column":5},"end":{"line":38,"column":3}}]}},"b":{"0":[2],"1":[1]},"fnMap":{"0":{"name":"getRawTransactionPortkey","decl":{"start":{"line":14,"column":33},"end":{"line":39,"column":2}},"loc":{"start":{"line":14,"column":33},"end":{"line":39,"column":2}},"line":14}},"f":{"0":2}} +,"/workspaces/aelf-web-login/packages/utils/src/contract/getTxResultRetry.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getTxResultRetry.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":42}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":27}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":32}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":28}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":72}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":3}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":28}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":1}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":39}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":24}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":17}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":20}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":17}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":7}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":37}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":76}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":52}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":22}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":12}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":39}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":5}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":20}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":19}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":3}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":1}}},"s":{"0":1,"3":1,"4":7,"5":7,"7":7,"8":7,"9":7,"10":7,"11":7,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":1,"22":1,"23":1,"24":1,"25":2,"26":1,"27":1,"28":2},"branchMap":{"0":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":7},"end":{"line":12,"column":1}},"locations":[{"start":{"line":4,"column":7},"end":{"line":12,"column":1}}]},"1":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":14},"end":{"line":5,"column":27}},"locations":[{"start":{"line":5,"column":14},"end":{"line":5,"column":27}}]},"2":{"type":"branch","line":13,"loc":{"start":{"line":13,"column":0},"end":{"line":29,"column":1}},"locations":[{"start":{"line":13,"column":0},"end":{"line":29,"column":1}}]},"3":{"type":"branch","line":21,"loc":{"start":{"line":21,"column":51},"end":{"line":25,"column":5}},"locations":[{"start":{"line":21,"column":51},"end":{"line":25,"column":5}}]},"4":{"type":"branch","line":26,"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":3}}]}},"b":{"0":[7],"1":[0],"2":[2],"3":[1],"4":[1]},"fnMap":{"0":{"name":"getAElf","decl":{"start":{"line":4,"column":7},"end":{"line":12,"column":1}},"loc":{"start":{"line":4,"column":7},"end":{"line":12,"column":1}},"line":4},"1":{"name":"getTxResultRetry","decl":{"start":{"line":13,"column":0},"end":{"line":29,"column":1}},"loc":{"start":{"line":13,"column":0},"end":{"line":29,"column":1}},"line":13}},"f":{"0":7,"1":2}} +,"/workspaces/aelf-web-login/packages/utils/src/contract/useCheckAllowanceAndApprove.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/useCheckAllowanceAndApprove.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":72}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":38}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":23}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":23}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":10}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":9}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":9}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":10}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":4}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":7}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":64}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":48}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":41}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":9}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":23}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":75}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":9}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":24}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":18}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":48}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":37}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":17}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":19}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":27}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":42}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":12}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":11}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":24}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":18}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":48}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":37}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":17}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":19}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":12}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":11}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":9}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":86}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":66}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":33}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":46}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":29}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":11}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":18}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":48}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":32}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":17}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":42}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":19}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":34}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":12}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":11}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":20}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":7}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":18}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":17}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":15}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":15}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":24}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":5}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":6}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":12}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":11}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":25}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":19}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":19}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":12}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":11}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":25}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":5}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":28}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":2}}},"s":{"0":1,"22":1,"23":6,"24":6,"25":6,"26":6,"27":6,"28":6,"29":6,"36":6,"37":6,"38":6,"40":6,"41":3,"42":3,"43":3,"45":3,"46":3,"47":3,"48":3,"49":3,"50":3,"51":3,"52":3,"53":3,"54":3,"55":3,"56":3,"57":3,"58":3,"59":3,"60":3,"61":3,"62":3,"63":3,"64":3,"66":3,"67":3,"69":3,"70":1,"72":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":3,"95":3,"96":3,"97":6,"98":6,"99":6,"100":6,"101":6,"102":6,"103":6,"104":6,"105":6,"106":6,"108":6,"109":6},"branchMap":{"0":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":36},"end":{"line":110,"column":2}},"locations":[{"start":{"line":23,"column":36},"end":{"line":110,"column":2}}]},"1":{"type":"branch","line":41,"loc":{"start":{"line":41,"column":28},"end":{"line":98,"column":5}},"locations":[{"start":{"line":41,"column":28},"end":{"line":98,"column":5}}]},"2":{"type":"branch","line":65,"loc":{"start":{"line":65,"column":7},"end":{"line":67,"column":63}},"locations":[{"start":{"line":65,"column":7},"end":{"line":67,"column":63}}]},"3":{"type":"branch","line":67,"loc":{"start":{"line":67,"column":50},"end":{"line":67,"column":83}},"locations":[{"start":{"line":67,"column":50},"end":{"line":67,"column":83}}]},"4":{"type":"branch","line":67,"loc":{"start":{"line":67,"column":73},"end":{"line":67,"column":84}},"locations":[{"start":{"line":67,"column":73},"end":{"line":67,"column":84}}]},"5":{"type":"branch","line":68,"loc":{"start":{"line":68,"column":51},"end":{"line":68,"column":64}},"locations":[{"start":{"line":68,"column":51},"end":{"line":68,"column":64}}]},"6":{"type":"branch","line":70,"loc":{"start":{"line":70,"column":32},"end":{"line":95,"column":6}},"locations":[{"start":{"line":70,"column":32},"end":{"line":95,"column":6}}]},"7":{"type":"branch","line":95,"loc":{"start":{"line":95,"column":4},"end":{"line":95,"column":6}},"locations":[{"start":{"line":95,"column":4},"end":{"line":95,"column":6}}]}},"b":{"0":[6],"1":[3],"2":[2],"3":[1],"4":[1],"5":[1],"6":[1],"7":[0]},"fnMap":{"0":{"name":"useCheckAllowanceAndApprove","decl":{"start":{"line":23,"column":36},"end":{"line":110,"column":2}},"loc":{"start":{"line":23,"column":36},"end":{"line":110,"column":2}},"line":23}},"f":{"0":6}} +,"/workspaces/aelf-web-login/packages/utils/src/contract/useGetBalance.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/useGetBalance.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":72}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":24}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":23}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":10}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":9}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":10}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":4}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":7}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":48}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":48}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":46}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":9}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":23}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":39}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":16}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":46}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":33}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":15}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":17}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":25}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":10}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":9}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":16}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":17}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":15}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":24}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":5}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":71}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":33}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":2}}},"s":{"0":1,"4":1,"5":2,"6":2,"7":2,"8":2,"9":2,"14":2,"15":2,"16":2,"18":2,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":0,"33":1,"34":1,"35":1,"36":2,"38":2,"39":2},"branchMap":{"0":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":22},"end":{"line":40,"column":2}},"locations":[{"start":{"line":5,"column":22},"end":{"line":40,"column":2}}]},"1":{"type":"branch","line":19,"loc":{"start":{"line":19,"column":33},"end":{"line":37,"column":5}},"locations":[{"start":{"line":19,"column":33},"end":{"line":37,"column":5}}]},"2":{"type":"branch","line":32,"loc":{"start":{"line":32,"column":4},"end":{"line":34,"column":6}},"locations":[{"start":{"line":32,"column":4},"end":{"line":34,"column":6}}]}},"b":{"0":[2],"1":[1],"2":[0]},"fnMap":{"0":{"name":"useGetBalance","decl":{"start":{"line":5,"column":22},"end":{"line":40,"column":2}},"loc":{"start":{"line":5,"column":22},"end":{"line":40,"column":2}},"line":5}},"f":{"0":2}} +,"/workspaces/aelf-web-login/packages/utils/src/format/formatNumberWithDecimalPlaces.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/format/formatNumberWithDecimalPlaces.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":30}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":75}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":30}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":36}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":75}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":1}}},"s":{"0":1,"1":1,"2":8,"3":8,"4":8,"5":7,"6":7},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":7,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":7,"column":1}}]},"1":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":20},"end":{"line":5,"column":36}},"locations":[{"start":{"line":5,"column":20},"end":{"line":5,"column":36}}]},"2":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":33},"end":{"line":7,"column":1}},"locations":[{"start":{"line":5,"column":33},"end":{"line":7,"column":1}}]}},"b":{"0":[8],"1":[1],"2":[7]},"fnMap":{"0":{"name":"formatNumberWithDecimalPlaces","decl":{"start":{"line":3,"column":0},"end":{"line":7,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":7,"column":1}},"line":3}},"f":{"0":8}} +,"/workspaces/aelf-web-login/packages/utils/src/format/formatPrice.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/format/formatPrice.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":21}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":37}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":18}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":3}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":9}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":22}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":40}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":20}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":25}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":90}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":42}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":56}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":27}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":3}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":67}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":51}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":13}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":1}}},"s":{"0":1,"2":8,"3":8,"4":8,"9":8,"10":8,"11":8,"12":8,"13":8,"14":8,"15":8,"16":8,"18":8,"19":1,"20":1,"22":6,"23":6,"24":6,"25":6},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":26,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":26,"column":1}}]},"1":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":6},"end":{"line":15,"column":25}},"locations":[{"start":{"line":15,"column":6},"end":{"line":15,"column":25}}]},"2":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":57},"end":{"line":16,"column":69}},"locations":[{"start":{"line":16,"column":57},"end":{"line":16,"column":69}}]},"3":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":61},"end":{"line":16,"column":90}},"locations":[{"start":{"line":16,"column":61},"end":{"line":16,"column":90}}]},"4":{"type":"branch","line":17,"loc":{"start":{"line":17,"column":24},"end":{"line":17,"column":42}},"locations":[{"start":{"line":17,"column":24},"end":{"line":17,"column":42}}]},"5":{"type":"branch","line":17,"loc":{"start":{"line":17,"column":39},"end":{"line":19,"column":55}},"locations":[{"start":{"line":17,"column":39},"end":{"line":19,"column":55}}]},"6":{"type":"branch","line":19,"loc":{"start":{"line":19,"column":55},"end":{"line":21,"column":3}},"locations":[{"start":{"line":19,"column":55},"end":{"line":21,"column":3}}]},"7":{"type":"branch","line":21,"loc":{"start":{"line":21,"column":2},"end":{"line":26,"column":1}},"locations":[{"start":{"line":21,"column":2},"end":{"line":26,"column":1}}]}},"b":{"0":[8],"1":[3],"2":[1],"3":[7],"4":[1],"5":[7],"6":[1],"7":[6]},"fnMap":{"0":{"name":"formatPrice","decl":{"start":{"line":3,"column":0},"end":{"line":26,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":26,"column":1}},"line":3}},"f":{"0":8}} +,"/workspaces/aelf-web-login/packages/utils/src/format/formatTime.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/format/formatTime.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":23}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":68}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":37}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":1}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":24}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":51}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":27}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":13}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":34}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":40}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":41}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":33}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":10}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":33}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":3}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":1}}},"s":{"0":1,"2":1,"20":3,"21":3,"22":3,"28":3,"29":3,"30":3,"31":3,"32":3,"33":1,"34":3,"35":1,"36":1,"37":1,"38":1,"39":3},"branchMap":{"0":{"type":"branch","line":21,"loc":{"start":{"line":21,"column":0},"end":{"line":23,"column":1}},"locations":[{"start":{"line":21,"column":0},"end":{"line":23,"column":1}}]},"1":{"type":"branch","line":29,"loc":{"start":{"line":29,"column":0},"end":{"line":40,"column":1}},"locations":[{"start":{"line":29,"column":0},"end":{"line":40,"column":1}}]},"2":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":33},"end":{"line":35,"column":13}},"locations":[{"start":{"line":33,"column":33},"end":{"line":35,"column":13}}]},"3":{"type":"branch","line":35,"loc":{"start":{"line":35,"column":2},"end":{"line":39,"column":3}},"locations":[{"start":{"line":35,"column":2},"end":{"line":39,"column":3}}]},"4":{"type":"branch","line":35,"loc":{"start":{"line":35,"column":40},"end":{"line":39,"column":3}},"locations":[{"start":{"line":35,"column":40},"end":{"line":39,"column":3}}]}},"b":{"0":[3],"1":[3],"2":[1],"3":[2],"4":[1]},"fnMap":{"0":{"name":"formatTime","decl":{"start":{"line":21,"column":0},"end":{"line":23,"column":1}},"loc":{"start":{"line":21,"column":0},"end":{"line":23,"column":1}},"line":21},"1":{"name":"createDuration","decl":{"start":{"line":29,"column":0},"end":{"line":40,"column":1}},"loc":{"start":{"line":29,"column":0},"end":{"line":40,"column":1}},"line":29}},"f":{"0":3,"1":3}} +,"/workspaces/aelf-web-login/packages/utils/src/is/isAElfBridge.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isAElfBridge.ts","all":false,"statementMap":{"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":58}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":54}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":1}}},"s":{"3":1,"4":2,"5":2},"branchMap":{"0":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":7},"end":{"line":6,"column":1}},"locations":[{"start":{"line":4,"column":7},"end":{"line":6,"column":1}}]},"1":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":23},"end":{"line":5,"column":54}},"locations":[{"start":{"line":5,"column":23},"end":{"line":5,"column":54}}]}},"b":{"0":[2],"1":[1]},"fnMap":{"0":{"name":"isAElfBridge","decl":{"start":{"line":4,"column":7},"end":{"line":6,"column":1}},"loc":{"start":{"line":4,"column":7},"end":{"line":6,"column":1}},"line":4}},"f":{"0":2}} +,"/workspaces/aelf-web-login/packages/utils/src/is/isELFAddress.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isELFAddress.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":38}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":7}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":48}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":11}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":17}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":3}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":1}}},"s":{"0":1,"2":3,"3":3,"4":2,"5":2,"6":3,"7":1,"8":1,"9":3},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":10,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":10,"column":1}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":37},"end":{"line":4,"column":50}},"locations":[{"start":{"line":4,"column":37},"end":{"line":4,"column":50}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":44},"end":{"line":7,"column":10}},"locations":[{"start":{"line":4,"column":44},"end":{"line":7,"column":10}}]},"3":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"locations":[{"start":{"line":7,"column":2},"end":{"line":9,"column":3}}]}},"b":{"0":[3],"1":[1],"2":[2],"3":[1]},"fnMap":{"0":{"name":"isELFAddress","decl":{"start":{"line":3,"column":0},"end":{"line":10,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":10,"column":1}},"line":3}},"f":{"0":3}} +,"/workspaces/aelf-web-login/packages/utils/src/is/isMobileDevices.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isMobileDevices.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":26}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":28}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":53}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":80}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":33}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":86}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":29}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":38}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":75}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":38}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":34}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":52}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":78}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":66}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":10}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":39}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":40}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":51}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":32}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":2}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":72}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":1}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":69}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":24}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":18}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":17}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":22}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":4}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":51}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":11}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":37}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":35}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":52}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":6}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":41}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":26}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":40}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":11}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":33}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":31}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":48}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":6}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":3}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":32}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":37}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":38}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":23}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":3}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":35}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":38}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":23}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":3}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":39}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":34}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":12}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":56}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":29}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":13}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":30}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":60}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":29}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":39}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":13}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":30}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":29}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":31}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":34}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":39}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":29}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":6}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":13}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":32}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":57}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":56}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":6}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":14}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":12}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":55}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":54}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":13}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":31}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":30}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":31}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":54}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":13}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":32}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":32}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":34}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":34}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":37}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":29}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":6}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":14}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":33}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":35}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":58}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":6}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":12}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":41}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":45}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":31}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":35}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":33}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":13}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":33}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":35}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":28}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":30}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":27}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":6}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":15}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":17}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":18}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":4}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":14}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":97}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":84}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":88}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":16}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":1}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":35}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":25}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":48}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"23":1,"24":2,"25":2,"26":2,"27":0,"28":0,"30":2,"32":2,"33":2,"34":2,"74":1,"75":2,"76":2,"77":2,"78":2,"79":2,"81":2,"82":2,"83":2,"84":2,"85":2,"86":2,"87":2,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"97":2,"101":2,"102":2,"103":0,"104":0,"109":2,"110":2,"111":0,"112":0,"114":2,"116":2,"117":2,"118":2,"119":2,"120":2,"121":2,"122":1,"123":0,"124":2,"125":2,"126":2,"127":1,"128":1,"129":1,"130":1,"131":1,"132":2,"133":2,"134":2,"135":2,"136":2,"137":2,"138":2,"139":2,"140":2,"141":2,"142":2,"143":2,"144":2,"145":2,"146":2,"147":2,"148":2,"149":2,"150":2,"151":2,"152":2,"153":2,"154":2,"155":2,"156":2,"157":2,"158":2,"159":2,"160":2,"161":2,"162":2,"163":2,"164":2,"165":2,"166":2,"167":2,"168":2,"169":2,"170":2,"171":2,"172":2,"173":2,"174":2,"175":2,"176":2,"178":2,"179":2,"181":2,"182":2,"184":2,"185":2,"187":1,"188":2,"189":2,"190":2},"branchMap":{"0":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":29},"end":{"line":31,"column":2}},"locations":[{"start":{"line":24,"column":29},"end":{"line":31,"column":2}}]},"1":{"type":"branch","line":27,"loc":{"start":{"line":27,"column":27},"end":{"line":28,"column":51}},"locations":[{"start":{"line":27,"column":27},"end":{"line":28,"column":51}}]},"2":{"type":"branch","line":28,"loc":{"start":{"line":28,"column":40},"end":{"line":29,"column":32}},"locations":[{"start":{"line":28,"column":40},"end":{"line":29,"column":32}}]},"3":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":0},"end":{"line":35,"column":1}},"locations":[{"start":{"line":33,"column":0},"end":{"line":35,"column":1}}]},"4":{"type":"branch","line":34,"loc":{"start":{"line":34,"column":9},"end":{"line":34,"column":59}},"locations":[{"start":{"line":34,"column":9},"end":{"line":34,"column":59}}]},"5":{"type":"branch","line":75,"loc":{"start":{"line":75,"column":7},"end":{"line":186,"column":1}},"locations":[{"start":{"line":75,"column":7},"end":{"line":186,"column":1}}]},"6":{"type":"branch","line":88,"loc":{"start":{"line":88,"column":2},"end":{"line":96,"column":3}},"locations":[{"start":{"line":88,"column":2},"end":{"line":96,"column":3}}]},"7":{"type":"branch","line":103,"loc":{"start":{"line":103,"column":37},"end":{"line":105,"column":3}},"locations":[{"start":{"line":103,"column":37},"end":{"line":105,"column":3}}]},"8":{"type":"branch","line":111,"loc":{"start":{"line":111,"column":37},"end":{"line":113,"column":3}},"locations":[{"start":{"line":111,"column":37},"end":{"line":113,"column":3}}]},"9":{"type":"branch","line":119,"loc":{"start":{"line":119,"column":30},"end":{"line":119,"column":56}},"locations":[{"start":{"line":119,"column":30},"end":{"line":119,"column":56}}]},"10":{"type":"branch","line":122,"loc":{"start":{"line":122,"column":26},"end":{"line":123,"column":60}},"locations":[{"start":{"line":122,"column":26},"end":{"line":123,"column":60}}]},"11":{"type":"branch","line":123,"loc":{"start":{"line":123,"column":55},"end":{"line":124,"column":29}},"locations":[{"start":{"line":123,"column":55},"end":{"line":124,"column":29}}]},"12":{"type":"branch","line":127,"loc":{"start":{"line":127,"column":26},"end":{"line":128,"column":29}},"locations":[{"start":{"line":127,"column":26},"end":{"line":128,"column":29}}]},"13":{"type":"branch","line":128,"loc":{"start":{"line":128,"column":25},"end":{"line":129,"column":31}},"locations":[{"start":{"line":128,"column":25},"end":{"line":129,"column":31}}]},"14":{"type":"branch","line":129,"loc":{"start":{"line":129,"column":27},"end":{"line":130,"column":34}},"locations":[{"start":{"line":129,"column":27},"end":{"line":130,"column":34}}]},"15":{"type":"branch","line":130,"loc":{"start":{"line":130,"column":30},"end":{"line":131,"column":39}},"locations":[{"start":{"line":130,"column":30},"end":{"line":131,"column":39}}]},"16":{"type":"branch","line":131,"loc":{"start":{"line":131,"column":34},"end":{"line":132,"column":29}},"locations":[{"start":{"line":131,"column":34},"end":{"line":132,"column":29}}]},"17":{"type":"branch","line":180,"loc":{"start":{"line":180,"column":17},"end":{"line":180,"column":52}},"locations":[{"start":{"line":180,"column":17},"end":{"line":180,"column":52}}]},"18":{"type":"branch","line":180,"loc":{"start":{"line":180,"column":42},"end":{"line":180,"column":77}},"locations":[{"start":{"line":180,"column":42},"end":{"line":180,"column":77}}]},"19":{"type":"branch","line":180,"loc":{"start":{"line":180,"column":67},"end":{"line":180,"column":97}},"locations":[{"start":{"line":180,"column":67},"end":{"line":180,"column":97}}]},"20":{"type":"branch","line":182,"loc":{"start":{"line":182,"column":30},"end":{"line":182,"column":63}},"locations":[{"start":{"line":182,"column":30},"end":{"line":182,"column":63}}]},"21":{"type":"branch","line":182,"loc":{"start":{"line":182,"column":54},"end":{"line":182,"column":84}},"locations":[{"start":{"line":182,"column":54},"end":{"line":182,"column":84}}]},"22":{"type":"branch","line":188,"loc":{"start":{"line":188,"column":7},"end":{"line":191,"column":1}},"locations":[{"start":{"line":188,"column":7},"end":{"line":191,"column":1}}]},"23":{"type":"branch","line":190,"loc":{"start":{"line":190,"column":19},"end":{"line":190,"column":48}},"locations":[{"start":{"line":190,"column":19},"end":{"line":190,"column":48}}]}},"b":{"0":[2],"1":[0],"2":[0],"3":[2],"4":[84],"5":[2],"6":[0],"7":[0],"8":[0],"9":[1],"10":[1],"11":[0],"12":[1],"13":[1],"14":[1],"15":[1],"16":[1],"17":[1],"18":[1],"19":[1],"20":[1],"21":[1],"22":[2],"23":[1]},"fnMap":{"0":{"name":"isAppleTabletOnIos13","decl":{"start":{"line":24,"column":29},"end":{"line":31,"column":2}},"loc":{"start":{"line":24,"column":29},"end":{"line":31,"column":2}},"line":24},"1":{"name":"createMatch","decl":{"start":{"line":33,"column":0},"end":{"line":35,"column":1}},"loc":{"start":{"line":33,"column":0},"end":{"line":35,"column":1}},"line":33},"2":{"name":"isMobile","decl":{"start":{"line":75,"column":7},"end":{"line":186,"column":1}},"loc":{"start":{"line":75,"column":7},"end":{"line":186,"column":1}},"line":75},"3":{"name":"isMobileDevices","decl":{"start":{"line":188,"column":7},"end":{"line":191,"column":1}},"loc":{"start":{"line":188,"column":7},"end":{"line":191,"column":1}},"line":188}},"f":{"0":2,"1":2,"2":2,"3":2}} +,"/workspaces/aelf-web-login/packages/utils/src/is/isPortkeyApp.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isPortkeyApp.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":35}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":17}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":10}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":3}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":1}}},"s":{"0":1,"1":2,"2":0,"3":2,"4":2,"5":2,"6":2},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":7},"end":{"line":7,"column":1}},"locations":[{"start":{"line":1,"column":7},"end":{"line":7,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":34},"end":{"line":4,"column":9}},"locations":[{"start":{"line":2,"column":34},"end":{"line":4,"column":9}}]}},"b":{"0":[2],"1":[0]},"fnMap":{"0":{"name":"isPortkeyApp","decl":{"start":{"line":1,"column":7},"end":{"line":7,"column":1}},"loc":{"start":{"line":1,"column":7},"end":{"line":7,"column":1}},"line":1}},"f":{"0":2}} +,"/workspaces/aelf-web-login/packages/utils/src/is/isPrivateKey.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isPrivateKey.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":7}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":55}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":75}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":5}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":19}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":17}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":3}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":15}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":1}}},"s":{"0":1,"1":3,"2":3,"3":2,"4":2,"5":3,"6":1,"7":1,"8":1,"9":1},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":7},"end":{"line":10,"column":1}},"locations":[{"start":{"line":1,"column":7},"end":{"line":10,"column":1}}]},"1":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":8},"end":{"line":3,"column":54}},"locations":[{"start":{"line":3,"column":8},"end":{"line":3,"column":54}}]},"2":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":54},"end":{"line":5,"column":5}},"locations":[{"start":{"line":3,"column":54},"end":{"line":5,"column":5}}]},"3":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":2},"end":{"line":10,"column":1}},"locations":[{"start":{"line":6,"column":2},"end":{"line":10,"column":1}}]}},"b":{"0":[3],"1":[2],"2":[2],"3":[1]},"fnMap":{"0":{"name":"isPrivateKey","decl":{"start":{"line":1,"column":7},"end":{"line":10,"column":1}},"loc":{"start":{"line":1,"column":7},"end":{"line":10,"column":1}},"line":1}},"f":{"0":3}} +,"/workspaces/aelf-web-login/packages/utils/src/utility/Loading.tsx": {"path":"/workspaces/aelf-web-login/packages/utils/src/utility/Loading.tsx","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":52}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":15}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":35}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":38}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":39}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":28}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":3}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":29}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":26}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":53}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":48}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":5}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":3}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":43}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":27}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":56}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":3}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":10}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":29}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":3}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":10}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":30}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":25}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":27}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":48}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":28}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":23}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":5}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":3}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":1}}},"s":{"0":1,"2":4,"3":4,"4":4,"5":4,"7":4,"8":4,"9":4,"11":4,"12":4,"13":3,"14":3,"15":3,"16":3,"17":4,"19":4,"20":4,"22":4,"23":4,"25":4,"26":3,"27":3,"29":4,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":4},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":39,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":39,"column":1}}]},"1":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"locations":[{"start":{"line":8,"column":2},"end":{"line":10,"column":3}}]},"2":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":10},"end":{"line":18,"column":3}},"locations":[{"start":{"line":12,"column":10},"end":{"line":18,"column":3}}]},"3":{"type":"branch","line":13,"loc":{"start":{"line":13,"column":25},"end":{"line":17,"column":5}},"locations":[{"start":{"line":13,"column":25},"end":{"line":17,"column":5}}]},"4":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":10},"end":{"line":24,"column":3}},"locations":[{"start":{"line":20,"column":10},"end":{"line":24,"column":3}}]},"5":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":22},"end":{"line":23,"column":50}},"locations":[{"start":{"line":23,"column":22},"end":{"line":23,"column":50}}]},"6":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":37},"end":{"line":23,"column":54}},"locations":[{"start":{"line":23,"column":37},"end":{"line":23,"column":54}}]},"7":{"type":"branch","line":26,"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":3}}]},"8":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":2},"end":{"line":38,"column":3}},"locations":[{"start":{"line":30,"column":2},"end":{"line":38,"column":3}}]}},"b":{"0":[4],"1":[4],"2":[4],"3":[3],"4":[4],"5":[3],"6":[1],"7":[3],"8":[1]},"fnMap":{"0":{"name":"","decl":{"start":{"line":3,"column":0},"end":{"line":39,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":39,"column":1}},"line":3},"1":{"name":"Loading","decl":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"line":8},"2":{"name":"createContainer","decl":{"start":{"line":12,"column":10},"end":{"line":18,"column":3}},"loc":{"start":{"line":12,"column":10},"end":{"line":18,"column":3}},"line":12},"3":{"name":"renderLoading","decl":{"start":{"line":20,"column":10},"end":{"line":24,"column":3}},"loc":{"start":{"line":20,"column":10},"end":{"line":24,"column":3}},"line":20},"4":{"name":"show","decl":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"line":26},"5":{"name":"hide","decl":{"start":{"line":30,"column":2},"end":{"line":38,"column":3}},"loc":{"start":{"line":30,"column":2},"end":{"line":38,"column":3}},"line":30}},"f":{"0":4,"1":4,"2":4,"3":4,"4":3,"5":1}} +,"/workspaces/aelf-web-login/packages/utils/src/utility/sleep.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/utility/sleep.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":53}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":69}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":1}}},"s":{"0":1,"1":1,"2":1},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":21},"end":{"line":2,"column":67}},"locations":[{"start":{"line":2,"column":21},"end":{"line":2,"column":67}}]}},"b":{"0":[1],"1":[1]},"fnMap":{"0":{"name":"sleep","decl":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"line":1}},"f":{"0":1}} } diff --git a/packages/utils/coverage/lcov.info b/packages/utils/coverage/lcov.info deleted file mode 100644 index 92055401..00000000 --- a/packages/utils/coverage/lcov.info +++ /dev/null @@ -1,640 +0,0 @@ -TN: -SF:src/address/addPrefixSuffix.ts -FN:1,addPrefixSuffix -FNF:1 -FNH:1 -FNDA:5,addPrefixSuffix -DA:2,5 -DA:3,4 -DA:4,4 -DA:5,4 -DA:6,4 -DA:7,4 -DA:9,4 -DA:10,4 -DA:12,4 -LF:9 -LH:9 -BRDA:2,0,0,1 -BRDA:2,0,1,4 -BRDA:5,1,0,1 -BRDA:5,1,1,3 -BRDA:6,2,0,4 -BRDA:6,2,1,0 -BRDA:9,3,0,4 -BRDA:9,3,1,0 -BRF:8 -BRH:6 -end_of_record -TN: -SF:src/address/decodeAddress.ts -FN:2,(anonymous_0) -FNF:1 -FNH:1 -FNDA:6,(anonymous_0) -DA:2,1 -DA:3,6 -DA:4,6 -DA:5,5 -DA:6,4 -DA:7,2 -DA:8,2 -DA:10,1 -DA:11,1 -DA:13,2 -DA:15,2 -DA:17,1 -LF:12 -LH:12 -BRDA:4,0,0,1 -BRDA:4,0,1,5 -BRDA:5,1,0,1 -BRDA:5,1,1,4 -BRDA:6,2,0,2 -BRDA:6,2,1,2 -BRDA:8,3,0,1 -BRDA:8,3,1,1 -BRF:8 -BRH:8 -end_of_record -TN: -SF:src/address/getOriginalAddress.ts -FN:1,getOriginalAddress -FNF:1 -FNH:1 -FNDA:6,getOriginalAddress -DA:2,6 -DA:3,4 -DA:4,1 -DA:6,3 -LF:4 -LH:4 -BRDA:2,0,0,2 -BRDA:2,0,1,4 -BRDA:3,1,0,1 -BRDA:3,1,1,3 -BRF:4 -BRH:4 -end_of_record -TN: -SF:src/calculate/divDecimals.ts -FN:3,divDecimals -FNF:1 -FNH:1 -FNDA:8,divDecimals -DA:4,8 -DA:5,5 -DA:6,5 -DA:7,4 -DA:8,1 -DA:10,3 -LF:6 -LH:6 -BRDA:3,0,0,5 -BRDA:4,1,0,3 -BRDA:4,1,1,5 -BRDA:5,2,0,1 -BRDA:5,2,1,4 -BRDA:6,3,0,1 -BRDA:6,3,1,4 -BRDA:6,4,0,5 -BRDA:6,4,1,5 -BRDA:7,5,0,1 -BRDA:7,5,1,3 -BRDA:7,6,0,4 -BRDA:7,6,1,1 -BRF:13 -BRH:13 -end_of_record -TN: -SF:src/calculate/index.ts -FNF:0 -FNH:0 -LF:0 -LH:0 -BRF:0 -BRH:0 -end_of_record -TN: -SF:src/calculate/timesDecimals.ts -FN:3,timesDecimals -FNF:1 -FNH:1 -FNDA:11,timesDecimals -DA:4,11 -DA:5,8 -DA:6,8 -DA:7,6 -DA:8,1 -DA:10,5 -LF:6 -LH:6 -BRDA:3,0,0,5 -BRDA:4,1,0,3 -BRDA:4,1,1,8 -BRDA:5,2,0,1 -BRDA:5,2,1,7 -BRDA:6,3,0,2 -BRDA:6,3,1,6 -BRDA:6,4,0,8 -BRDA:6,4,1,8 -BRDA:7,5,0,1 -BRDA:7,5,1,5 -BRDA:7,6,0,6 -BRDA:7,6,1,1 -BRF:13 -BRH:13 -end_of_record -TN: -SF:src/contract/getRawTransaction.ts -FN:16,(anonymous_0) -FNF:1 -FNH:1 -FNDA:5,(anonymous_0) -DA:16,1 -DA:25,5 -DA:27,4 -DA:29,4 -DA:30,4 -DA:32,1 -DA:33,1 -DA:42,1 -DA:44,2 -DA:45,2 -DA:53,1 -DA:55,1 -DA:56,1 -DA:63,1 -DA:66,3 -DA:68,1 -DA:70,1 -LF:17 -LH:17 -BRDA:25,0,0,1 -BRDA:25,0,1,4 -BRDA:30,1,0,1 -BRDA:30,1,1,2 -BRDA:30,1,2,1 -BRDA:32,2,0,0 -BRDA:32,2,1,1 -BRDA:37,3,0,1 -BRDA:37,3,1,0 -BRDA:44,4,0,0 -BRDA:44,4,1,2 -BRDA:55,5,0,0 -BRDA:55,5,1,1 -BRF:13 -BRH:9 -end_of_record -TN: -SF:src/contract/getRawTransactionNight.ts -FN:11,getRawTransactionNight -FNF:1 -FNH:1 -FNDA:2,getRawTransactionNight -DA:18,2 -DA:23,1 -DA:24,1 -LF:3 -LH:3 -BRF:0 -BRH:0 -end_of_record -TN: -SF:src/contract/getRawTransactionPortkey.ts -FN:14,(anonymous_0) -FNF:1 -FNH:1 -FNDA:2,(anonymous_0) -DA:14,1 -DA:23,2 -DA:24,2 -DA:33,1 -DA:35,1 -DA:37,1 -LF:6 -LH:6 -BRF:0 -BRH:0 -end_of_record -TN: -SF:src/contract/getTxResultRetry.ts -FN:4,getAElf -FN:13,getTxResultRetry -FNF:2 -FNH:2 -FNDA:7,getAElf -FNDA:2,getTxResultRetry -DA:5,7 -DA:6,7 -DA:8,7 -DA:9,7 -DA:11,7 -DA:18,2 -DA:19,2 -DA:20,2 -DA:21,2 -DA:22,1 -DA:24,1 -DA:27,1 -LF:12 -LH:12 -BRDA:5,0,0,7 -BRDA:5,0,1,0 -BRDA:8,1,0,7 -BRDA:8,1,1,0 -BRDA:16,2,0,2 -BRDA:21,3,0,1 -BRDA:21,3,1,1 -BRF:7 -BRH:5 -end_of_record -TN: -SF:src/contract/useCheckAllowanceAndApprove.ts -FN:23,(anonymous_0) -FN:41,(anonymous_1) -FNF:2 -FNH:2 -FNDA:6,(anonymous_0) -FNDA:3,(anonymous_1) -DA:23,1 -DA:38,6 -DA:39,6 -DA:41,6 -DA:42,3 -DA:43,3 -DA:44,3 -DA:67,2 -DA:68,2 -DA:70,2 -DA:71,1 -DA:73,1 -DA:90,1 -DA:92,1 -DA:94,1 -DA:96,3 -DA:109,6 -LF:17 -LH:17 -BRDA:67,0,0,2 -BRDA:67,0,1,1 -BRDA:67,0,2,1 -BRDA:68,1,0,2 -BRDA:68,1,1,1 -BRDA:70,2,0,1 -BRDA:70,2,1,1 -BRF:7 -BRH:7 -end_of_record -TN: -SF:src/contract/useGetBalance.ts -FN:5,(anonymous_0) -FN:19,(anonymous_1) -FNF:2 -FNH:2 -FNDA:2,(anonymous_0) -FNDA:1,(anonymous_1) -DA:5,1 -DA:16,2 -DA:17,2 -DA:19,2 -DA:20,1 -DA:21,1 -DA:22,1 -DA:31,1 -DA:33,0 -DA:35,1 -DA:39,2 -LF:11 -LH:10 -BRF:0 -BRH:0 -end_of_record -TN: -SF:src/format/formatNumberWithDecimalPlaces.ts -FN:3,formatNumberWithDecimalPlaces -FNF:1 -FNH:1 -FNDA:8,formatNumberWithDecimalPlaces -DA:2,1 -DA:4,8 -DA:5,8 -DA:6,7 -LF:4 -LH:4 -BRDA:3,0,0,4 -BRDA:5,1,0,1 -BRDA:5,1,1,7 -BRF:3 -BRH:3 -end_of_record -TN: -SF:src/format/formatPrice.ts -FN:3,formatPrice -FNF:1 -FNH:1 -FNDA:8,formatPrice -DA:15,8 -DA:16,8 -DA:17,8 -DA:19,7 -DA:20,1 -DA:23,6 -DA:24,6 -DA:25,6 -LF:8 -LH:8 -BRDA:12,0,0,4 -BRDA:13,1,0,6 -BRDA:14,2,0,6 -BRDA:15,3,0,8 -BRDA:15,3,1,3 -BRDA:16,4,0,1 -BRDA:16,4,1,7 -BRDA:17,5,0,1 -BRDA:17,5,1,7 -BRDA:19,6,0,1 -BRDA:19,6,1,6 -BRDA:19,7,0,7 -BRDA:19,7,1,7 -BRF:13 -BRH:13 -end_of_record -TN: -SF:src/format/formatTime.ts -FN:21,formatTime -FN:29,createDuration -FNF:2 -FNH:2 -FNDA:3,formatTime -FNDA:3,createDuration -DA:3,1 -DA:22,3 -DA:33,3 -DA:34,1 -DA:35,2 -DA:36,1 -DA:38,1 -LF:7 -LH:7 -BRDA:21,0,0,2 -BRDA:33,1,0,1 -BRDA:33,1,1,2 -BRDA:35,2,0,1 -BRDA:35,2,1,1 -BRF:5 -BRH:5 -end_of_record -TN: -SF:src/is/isAElfBridge.ts -FN:4,isAElfBridge -FNF:1 -FNH:1 -FNDA:2,isAElfBridge -DA:5,2 -LF:1 -LH:1 -BRDA:5,0,0,2 -BRDA:5,0,1,1 -BRF:2 -BRH:2 -end_of_record -TN: -SF:src/is/isELFAddress.ts -FN:3,isELFAddress -FNF:1 -FNH:1 -FNDA:3,isELFAddress -DA:4,3 -DA:5,2 -DA:6,2 -DA:8,1 -LF:4 -LH:4 -BRDA:4,0,0,1 -BRDA:4,0,1,2 -BRF:2 -BRH:2 -end_of_record -TN: -SF:src/is/isMobileDevices.ts -FN:24,(anonymous_0) -FN:33,createMatch -FN:34,(anonymous_2) -FN:75,isMobile -FN:188,isMobileDevices -FNF:5 -FNH:5 -FNDA:2,(anonymous_0) -FNDA:2,createMatch -FNDA:84,(anonymous_2) -FNDA:2,isMobile -FNDA:2,isMobileDevices -DA:1,1 -DA:2,1 -DA:3,1 -DA:4,1 -DA:5,1 -DA:6,1 -DA:7,1 -DA:8,1 -DA:9,1 -DA:10,1 -DA:11,1 -DA:12,1 -DA:13,1 -DA:14,1 -DA:15,1 -DA:24,1 -DA:25,2 -DA:34,84 -DA:76,2 -DA:82,2 -DA:83,2 -DA:88,0 -DA:89,0 -DA:90,0 -DA:91,0 -DA:98,2 -DA:102,2 -DA:103,2 -DA:104,0 -DA:110,2 -DA:111,2 -DA:112,0 -DA:115,2 -DA:117,2 -DA:179,2 -DA:182,2 -DA:183,2 -DA:185,2 -DA:189,2 -DA:190,2 -LF:40 -LH:34 -BRDA:26,0,0,2 -BRDA:26,0,1,2 -BRDA:26,0,2,0 -BRDA:26,0,3,0 -BRDA:82,1,0,2 -BRDA:82,1,1,0 -BRDA:82,2,0,2 -BRDA:82,2,1,2 -BRDA:86,3,0,2 -BRDA:86,3,1,2 -BRDA:88,4,0,0 -BRDA:88,4,1,0 -BRDA:90,5,0,0 -BRDA:90,5,1,0 -BRDA:90,6,0,0 -BRDA:90,6,1,0 -BRDA:94,7,0,0 -BRDA:94,7,1,0 -BRDA:103,8,0,0 -BRDA:103,8,1,2 -BRDA:111,9,0,0 -BRDA:111,9,1,2 -BRDA:119,10,0,2 -BRDA:119,10,1,1 -BRDA:122,11,0,2 -BRDA:122,11,1,1 -BRDA:122,11,2,1 -BRDA:122,11,3,0 -BRDA:127,12,0,2 -BRDA:127,12,1,1 -BRDA:127,12,2,1 -BRDA:127,12,3,1 -BRDA:127,12,4,1 -BRDA:127,12,5,1 -BRDA:136,13,0,2 -BRDA:136,13,1,2 -BRDA:137,14,0,2 -BRDA:137,14,1,2 -BRDA:141,15,0,2 -BRDA:141,15,1,2 -BRDA:141,15,2,2 -BRDA:141,15,3,2 -BRDA:144,16,0,2 -BRDA:144,16,1,2 -BRDA:144,16,2,2 -BRDA:144,16,3,2 -BRDA:144,16,4,2 -BRDA:149,17,0,2 -BRDA:149,17,1,2 -BRDA:149,17,2,2 -BRDA:149,17,3,2 -BRDA:149,17,4,2 -BRDA:149,17,5,2 -BRDA:159,18,0,2 -BRDA:159,18,1,2 -BRDA:168,19,0,2 -BRDA:168,19,1,2 -BRDA:168,19,2,2 -BRDA:168,19,3,2 -BRDA:168,19,4,2 -BRDA:180,20,0,2 -BRDA:180,20,1,1 -BRDA:180,20,2,1 -BRDA:180,20,3,1 -BRDA:182,21,0,2 -BRDA:182,21,1,1 -BRDA:182,21,2,1 -BRDA:183,22,0,2 -BRDA:183,22,1,2 -BRDA:183,22,2,2 -BRDA:190,23,0,2 -BRDA:190,23,1,1 -BRF:72 -BRH:58 -end_of_record -TN: -SF:src/is/isPortkeyApp.ts -FN:1,isPortkeyApp -FNF:1 -FNH:1 -FNDA:2,isPortkeyApp -DA:2,2 -DA:3,1 -DA:5,1 -LF:3 -LH:3 -BRDA:2,0,0,1 -BRDA:2,0,1,1 -BRF:2 -BRH:2 -end_of_record -TN: -SF:src/is/isPrivateKey.ts -FN:1,isPrivateKey -FNF:1 -FNH:1 -FNDA:3,isPrivateKey -DA:2,3 -DA:3,3 -DA:4,2 -DA:7,1 -DA:9,1 -LF:5 -LH:5 -BRDA:3,0,0,2 -BRDA:3,0,1,1 -BRDA:3,1,0,3 -BRDA:3,1,1,2 -BRF:4 -BRH:4 -end_of_record -TN: -SF:src/utility/Loading.tsx -FN:8,(anonymous_0) -FN:12,(anonymous_1) -FN:20,(anonymous_2) -FN:26,(anonymous_3) -FN:30,(anonymous_4) -FNF:5 -FNH:5 -FNDA:4,(anonymous_0) -FNDA:4,(anonymous_1) -FNDA:4,(anonymous_2) -FNDA:3,(anonymous_3) -FNDA:1,(anonymous_4) -DA:4,4 -DA:5,4 -DA:9,4 -DA:13,4 -DA:14,3 -DA:15,3 -DA:16,3 -DA:21,4 -DA:23,4 -DA:27,3 -DA:31,1 -DA:32,1 -DA:33,1 -DA:34,1 -DA:35,1 -DA:36,1 -LF:16 -LH:16 -BRDA:13,0,0,3 -BRDA:13,0,1,1 -BRDA:23,1,0,3 -BRDA:23,1,1,1 -BRDA:32,2,0,1 -BRDA:32,2,1,0 -BRF:6 -BRH:5 -end_of_record -TN: -SF:src/utility/sleep.ts -FN:1,sleep -FN:2,(anonymous_1) -FNF:2 -FNH:2 -FNDA:1,sleep -FNDA:1,(anonymous_1) -DA:2,1 -LF:1 -LH:1 -BRF:0 -BRH:0 -end_of_record diff --git a/packages/utils/src/contract/__tests__/getRawTransaction.test.ts b/packages/utils/src/contract/__tests__/getRawTransaction.test.ts index e11337b4..6c957b87 100644 --- a/packages/utils/src/contract/__tests__/getRawTransaction.test.ts +++ b/packages/utils/src/contract/__tests__/getRawTransaction.test.ts @@ -19,10 +19,6 @@ vi.mock('../getRawTransactionPortkey', () => ({ })); describe('getRawTransaction', () => { - afterEach(() => { - vi.clearAllMocks(); - }); - it('should call getRawTransactionPortkey for WalletTypeEnum.aa and return its result', async () => { // Arrange const walletInfo = { diff --git a/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts b/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts index f00fa955..be3fca7a 100644 --- a/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts +++ b/packages/utils/src/contract/__tests__/getRawTransactionPortkey.test.ts @@ -16,10 +16,6 @@ vi.mock('@portkey/utils', () => ({ })); describe('getRawTransactionPortkey', () => { - beforeEach(() => { - vi.clearAllMocks(); - }); - it('should return encoded transaction data', async () => { const mockContract = { encodedTx: vi.fn().mockResolvedValue({ data: 'encodedDataMock' }), diff --git a/packages/utils/src/is/__tests__/isMobileDevices.test.ts b/packages/utils/src/is/__tests__/isMobileDevices.test.ts index 73f07155..0fbb9ec9 100644 --- a/packages/utils/src/is/__tests__/isMobileDevices.test.ts +++ b/packages/utils/src/is/__tests__/isMobileDevices.test.ts @@ -1,3 +1,4 @@ +// @environment happy-dom import { isMobileDevices } from '../isMobileDevices'; import type DetachedWindowAPI from 'happy-dom/lib/window/DetachedWindowAPI.js'; @@ -7,10 +8,7 @@ declare global { const originalNavigator = happyDOM.settings.navigator; beforeEach(() => { - // global.navigator = { - // userAgent: - // 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148', - // } as Navigator; + // nothing to do here, happyDOM is already set up }); afterEach(() => { diff --git a/packages/utils/src/is/__tests__/isPortkey.test.ts b/packages/utils/src/is/__tests__/isPortkey.test.ts index 460d7332..3a9a0dd0 100644 --- a/packages/utils/src/is/__tests__/isPortkey.test.ts +++ b/packages/utils/src/is/__tests__/isPortkey.test.ts @@ -1,35 +1,35 @@ import { isPortkeyApp } from '../isPortkeyApp'; +beforeEach(() => { + (global as any).window = { + document: { + body: {}, + addEventListener: vi.fn(), + removeEventListener: vi.fn(), + }, + navigator: { + userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)', + language: 'en-US', + }, + location: { + href: '', + reload: vi.fn(), + replace: vi.fn(), + }, + }; +}); +afterEach(() => { + delete (global as any).window; +}); describe('isPortkey in SSR', () => { - test('should return undefined when in SSR', () => { + it('should return undefined when in SSR', () => { const result = isPortkeyApp(); expect(result).toBeFalsy(); }); }); describe('isPortkey in window', () => { - beforeEach(() => { - (global as any).window = { - document: { - body: {}, - addEventListener: vi.fn(), - removeEventListener: vi.fn(), - }, - navigator: { - userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)', - language: 'en-US', - }, - location: { - href: '', - reload: vi.fn(), - replace: vi.fn(), - }, - }; - }); - afterEach(() => { - delete (global as any).window; - }); - test('should return false when not in Portkey environment', () => { + it('should return false when not in Portkey environment', () => { const result = isPortkeyApp(); expect(result).toBeFalsy(); }); From 50635cbeb89fd8a4b4c4d4aec247be6fa45793c3 Mon Sep 17 00:00:00 2001 From: kevin-flynn Date: Tue, 26 Nov 2024 18:09:28 +0000 Subject: [PATCH 22/25] chore: improve /base test code --- .../enhancedLocalStorageInWindow.test.ts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts b/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts index 58455fc9..45f03ac0 100644 --- a/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts +++ b/packages/base/src/__tests__/enhancedLocalStorageInWindow.test.ts @@ -1,15 +1,13 @@ -const originalConsoleLog = console.log; +beforeEach(() => { + vi.spyOn(console, 'log'); + (global as any).window = {}; +}); +afterEach(() => { + vi.unmock('console.log'); + delete (global as any).window; +}); describe('localStorageMock in window', () => { - beforeEach(() => { - console.log = vi.fn(); - (global as any).window = {}; - }); - afterEach(() => { - console.log = originalConsoleLog; - delete (global as any).window; - }); - it('enhancedLocalStorage should be set to localStorage in browser environment', async () => { await import('../enhancedLocalStorage'); expect(console.log).toHaveBeenCalledWith('enhancedLocalStorage in window'); From ea6430f604efc73425f0e51bda035fe7709584cb Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Wed, 27 Nov 2024 14:03:47 +0800 Subject: [PATCH 23/25] chore: fix coverage badge not generated --- packages/tools/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tools/vite.config.ts b/packages/tools/vite.config.ts index 3252a69a..77b2715a 100644 --- a/packages/tools/vite.config.ts +++ b/packages/tools/vite.config.ts @@ -44,7 +44,7 @@ export default defineConfig({ provider: 'v8', exclude: [...exclude, '**/__tests__/*.*'], reportsDirectory: './coverage', - reporter: [['json', { file: 'coverage-summary.json' }], ['text']], + reporter: [['json-summary', { file: 'coverage-summary.json' }], ['text']], }, }, }); From 653660debc3270b8a1f2ad03963906cf97c93941 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Wed, 27 Nov 2024 14:39:50 +0800 Subject: [PATCH 24/25] chore: fix codecov artifacts and remove redundant coverage files --- .gitignore | 4 +- packages/base/coverage/coverage-summary.json | 6 - packages/base/jest-report.xml | 35 --- .../bridge/coverage/coverage-summary.json | 5 - packages/bridge/jest-report.xml | 59 ----- packages/react/coverage/coverage-summary.json | 6 - packages/react/jest-report.xml | 27 --- packages/tools/vite.config.ts | 6 +- packages/utils/coverage/coverage-summary.json | 23 -- packages/utils/jest-report.xml | 217 ------------------ 10 files changed, 8 insertions(+), 380 deletions(-) delete mode 100644 packages/base/coverage/coverage-summary.json delete mode 100644 packages/base/jest-report.xml delete mode 100644 packages/bridge/coverage/coverage-summary.json delete mode 100644 packages/bridge/jest-report.xml delete mode 100644 packages/react/coverage/coverage-summary.json delete mode 100644 packages/react/jest-report.xml delete mode 100644 packages/utils/coverage/coverage-summary.json delete mode 100644 packages/utils/jest-report.xml diff --git a/.gitignore b/.gitignore index 0bfb9956..415a02e8 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,6 @@ package.json.lerna_backup *.crt *.pem -.eslintcache \ No newline at end of file +.eslintcache +**/coverage +**/jest-report.xml \ No newline at end of file diff --git a/packages/base/coverage/coverage-summary.json b/packages/base/coverage/coverage-summary.json deleted file mode 100644 index 50e05463..00000000 --- a/packages/base/coverage/coverage-summary.json +++ /dev/null @@ -1,6 +0,0 @@ -{"total": {"lines":{"total":14,"covered":14,"skipped":0,"pct":100},"statements":{"total":14,"covered":14,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/base/src/adapter.ts": {"lines":{"total":0,"covered":0,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":0,"covered":0,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/base/src/enhancedLocalStorage.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/base/src/errors.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -,"/Users/liuxiyang/work/code/aelf-web-login/packages/base/src/types.ts": {"lines":{"total":0,"covered":0,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":0,"covered":0,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -} diff --git a/packages/base/jest-report.xml b/packages/base/jest-report.xml deleted file mode 100644 index c921aea4..00000000 --- a/packages/base/jest-report.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/bridge/coverage/coverage-summary.json b/packages/bridge/coverage/coverage-summary.json deleted file mode 100644 index 0d14b816..00000000 --- a/packages/bridge/coverage/coverage-summary.json +++ /dev/null @@ -1,5 +0,0 @@ -{"/workspaces/aelf-web-login/packages/bridge/src/mountApp.tsx": {"path":"/workspaces/aelf-web-login/packages/bridge/src/mountApp.tsx","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":68}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":31}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":25}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":27}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":26}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":28}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":20}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":36}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":12}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":97}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":97}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":18}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":24}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":54}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":20}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":1}}},"s":{"0":1,"7":1,"8":3,"9":3,"10":3,"11":3,"12":3,"13":3,"14":2,"15":2,"16":2,"17":2,"18":2,"20":3,"21":3,"22":3},"branchMap":{"0":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":7},"end":{"line":23,"column":1}},"locations":[{"start":{"line":8,"column":7},"end":{"line":23,"column":1}}]},"1":{"type":"branch","line":14,"loc":{"start":{"line":14,"column":29},"end":{"line":21,"column":5}},"locations":[{"start":{"line":14,"column":29},"end":{"line":21,"column":5}}]}},"b":{"0":[3],"1":[2]},"fnMap":{"0":{"name":"useMountSignIn","decl":{"start":{"line":8,"column":7},"end":{"line":23,"column":1}},"loc":{"start":{"line":8,"column":7},"end":{"line":23,"column":1}},"line":8}},"f":{"0":3}} -,"/workspaces/aelf-web-login/packages/bridge/src/useLockCallback.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/useLockCallback.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":60}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":75}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":14}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":23}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":3}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":29}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":48}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":29}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":24}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":9}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":42}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":27}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":17}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":17}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":27}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":14}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":5}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":11}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":1}}},"s":{"0":1,"2":4,"3":4,"4":4,"5":4,"6":4,"7":4,"8":7,"9":6,"10":6,"11":6,"12":4,"13":4,"14":7,"15":2,"16":2,"17":2,"19":4,"20":4},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":21,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":21,"column":1}}]},"1":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":21},"end":{"line":20,"column":5}},"locations":[{"start":{"line":8,"column":21},"end":{"line":20,"column":5}}]},"2":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":22},"end":{"line":9,"column":29}},"locations":[{"start":{"line":9,"column":22},"end":{"line":9,"column":29}}]},"3":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":22},"end":{"line":12,"column":42}},"locations":[{"start":{"line":9,"column":22},"end":{"line":12,"column":42}}]},"4":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":40},"end":{"line":15,"column":13}},"locations":[{"start":{"line":12,"column":40},"end":{"line":15,"column":13}}]},"5":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":4},"end":{"line":18,"column":5}},"locations":[{"start":{"line":15,"column":4},"end":{"line":18,"column":5}}]}},"b":{"0":[4],"1":[7],"2":[1],"3":[6],"4":[4],"5":[2]},"fnMap":{"0":{"name":"useLockCallback","decl":{"start":{"line":3,"column":0},"end":{"line":21,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":21,"column":1}},"line":3}},"f":{"0":4}} -,"/workspaces/aelf-web-login/packages/bridge/src/useVerifier.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/useVerifier.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":31}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":47}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":39}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":62}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":48}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":7}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":4}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":91}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":22}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":46}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":16}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":9}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":7}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":4}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":40}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":12}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":18}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":12}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":25}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":15}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":14}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":20}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":23}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":8}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":11}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":22}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":19}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":22}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":29}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":28}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":21}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":30}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":50}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":56}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":70}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":16}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":22}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":30}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":51}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":71}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":16}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":24}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":30}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":73}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":16}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":16}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":47}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":7}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":57}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":39}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":20}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":31}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":32}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":16}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":33}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":20}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":22}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":25}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":27}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":9}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":6}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":31}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":4}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":17}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":61}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":51}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":4}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":2}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":27}}},"s":{"0":1,"7":1,"31":1,"32":7,"34":7,"35":7,"36":7,"37":7,"39":7,"40":7,"41":1,"42":1,"43":1,"44":7,"45":7,"47":7,"48":7,"49":5,"50":5,"51":5,"52":5,"53":5,"54":5,"55":5,"56":5,"64":5,"65":5,"66":5,"67":5,"68":5,"69":5,"70":5,"71":2,"72":2,"73":2,"74":2,"75":2,"76":5,"77":1,"78":1,"79":1,"80":1,"81":5,"82":1,"83":1,"84":1,"85":5,"86":1,"87":5,"88":5,"89":3,"90":3,"91":3,"92":3,"93":3,"94":5,"95":5,"96":5,"97":5,"98":5,"99":5,"100":5,"101":7,"102":7,"104":7,"105":7,"106":7,"107":7,"108":7,"110":1},"branchMap":{"0":{"type":"branch","line":32,"loc":{"start":{"line":32,"column":40},"end":{"line":109,"column":2}},"locations":[{"start":{"line":32,"column":40},"end":{"line":109,"column":2}}]},"1":{"type":"branch","line":36,"loc":{"start":{"line":36,"column":4},"end":{"line":36,"column":48}},"locations":[{"start":{"line":36,"column":4},"end":{"line":36,"column":48}}]},"2":{"type":"branch","line":41,"loc":{"start":{"line":41,"column":4},"end":{"line":44,"column":9}},"locations":[{"start":{"line":41,"column":4},"end":{"line":44,"column":9}}]},"3":{"type":"branch","line":49,"loc":{"start":{"line":49,"column":4},"end":{"line":101,"column":6}},"locations":[{"start":{"line":49,"column":4},"end":{"line":101,"column":6}}]},"4":{"type":"branch","line":71,"loc":{"start":{"line":71,"column":8},"end":{"line":76,"column":16}},"locations":[{"start":{"line":71,"column":8},"end":{"line":76,"column":16}}]},"5":{"type":"branch","line":77,"loc":{"start":{"line":77,"column":8},"end":{"line":81,"column":16}},"locations":[{"start":{"line":77,"column":8},"end":{"line":81,"column":16}}]},"6":{"type":"branch","line":82,"loc":{"start":{"line":82,"column":8},"end":{"line":85,"column":16}},"locations":[{"start":{"line":82,"column":8},"end":{"line":85,"column":16}}]},"7":{"type":"branch","line":86,"loc":{"start":{"line":86,"column":8},"end":{"line":87,"column":47}},"locations":[{"start":{"line":86,"column":8},"end":{"line":87,"column":47}}]},"8":{"type":"branch","line":88,"loc":{"start":{"line":88,"column":6},"end":{"line":89,"column":25}},"locations":[{"start":{"line":88,"column":6},"end":{"line":89,"column":25}}]},"9":{"type":"branch","line":89,"loc":{"start":{"line":89,"column":25},"end":{"line":89,"column":57}},"locations":[{"start":{"line":89,"column":25},"end":{"line":89,"column":57}}]},"10":{"type":"branch","line":89,"loc":{"start":{"line":89,"column":31},"end":{"line":95,"column":30}},"locations":[{"start":{"line":89,"column":31},"end":{"line":95,"column":30}}]},"11":{"type":"branch","line":95,"loc":{"start":{"line":95,"column":18},"end":{"line":95,"column":33}},"locations":[{"start":{"line":95,"column":18},"end":{"line":95,"column":33}}]},"12":{"type":"branch","line":106,"loc":{"start":{"line":106,"column":4},"end":{"line":106,"column":61}},"locations":[{"start":{"line":106,"column":4},"end":{"line":106,"column":61}}]}},"b":{"0":[7],"1":[7],"2":[1],"3":[5],"4":[2],"5":[1],"6":[1],"7":[1],"8":[4],"9":[1],"10":[3],"11":[1],"12":[7]},"fnMap":{"0":{"name":"useVerifier","decl":{"start":{"line":32,"column":40},"end":{"line":109,"column":2}},"loc":{"start":{"line":32,"column":40},"end":{"line":109,"column":2}},"line":32}},"f":{"0":7}} -,"/workspaces/aelf-web-login/packages/bridge/src/utils.ts": {"path":"/workspaces/aelf-web-login/packages/bridge/src/utils.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":37}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":73}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":77}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":63}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":48}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":19}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":56}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":84}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":49}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":12}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":31}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":5}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":20}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":93}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":49}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":7}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":64}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":13}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":14}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":7}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":70}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":22}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":17}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":3}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}}},"s":{"0":1,"5":1,"6":1,"7":1,"9":1,"10":4,"11":4,"12":2,"13":2,"14":4,"15":4,"16":4,"17":4,"18":4,"19":4,"20":2,"21":2,"23":1,"24":2,"25":1,"26":1,"27":1,"28":1,"29":1,"30":0,"31":0,"32":2,"33":1,"34":1,"35":1,"36":2},"branchMap":{"0":{"type":"branch","line":10,"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"locations":[{"start":{"line":10,"column":33},"end":{"line":22,"column":2}}]},"1":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":18},"end":{"line":15,"column":80}},"locations":[{"start":{"line":12,"column":18},"end":{"line":15,"column":80}}]},"2":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":66},"end":{"line":15,"column":82}},"locations":[{"start":{"line":15,"column":66},"end":{"line":15,"column":82}}]},"3":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":3},"end":{"line":22,"column":2}},"locations":[{"start":{"line":20,"column":3},"end":{"line":22,"column":2}}]},"4":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"locations":[{"start":{"line":24,"column":36},"end":{"line":37,"column":2}}]},"5":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":47},"end":{"line":30,"column":7}},"locations":[{"start":{"line":25,"column":47},"end":{"line":30,"column":7}}]},"6":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":5},"end":{"line":32,"column":22}},"locations":[{"start":{"line":30,"column":5},"end":{"line":32,"column":22}}]},"7":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":2},"end":{"line":36,"column":3}},"locations":[{"start":{"line":33,"column":2},"end":{"line":36,"column":3}}]}},"b":{"0":[4],"1":[2],"2":[2],"3":[2],"4":[2],"5":[1],"6":[0],"7":[1]},"fnMap":{"0":{"name":"getCaContractBase","decl":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"loc":{"start":{"line":10,"column":33},"end":{"line":22,"column":2}},"line":10},"1":{"name":"getIsManagerReadOnly","decl":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"loc":{"start":{"line":24,"column":36},"end":{"line":37,"column":2}},"line":24}},"f":{"0":4,"1":2}} -} diff --git a/packages/bridge/jest-report.xml b/packages/bridge/jest-report.xml deleted file mode 100644 index 67d07f36..00000000 --- a/packages/bridge/jest-report.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -intg----getIsManagerReadOnly is fail TypeError: caIns.callViewMethod is not a function - at Module.getIsManagerReadOnly [90m(/workspaces/aelf-web-login/packages/bridge/[39msrc/utils.ts:27:28[90m)[39m - at [90m/workspaces/aelf-web-login/packages/bridge/[39msrc/__tests__/utils.test.ts:46:15 - at file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:533:5 - at runTest (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1056:11) - at runSuite (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) - at runSuite (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1205:15) - at runFiles (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1262:5) - at startTests (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/@vitest+runner@2.1.5/node_modules/[4m@vitest[24m/runner/dist/index.js:1271:3) - at run (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.9.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/workers/runVmTests.js:79:7) - at runVmTests (file:///workspaces/aelf-web-login/node_modules/[4m.pnpm[24m/vitest@2.1.5_@types+node@22.9.3_happy-dom@15.11.6_jsdom@23.2.0_less@4.2.0_lightningcss@1.22.1_sass@1.79.3_terser@5.34.0/node_modules/[4mvitest[24m/dist/chunks/vm.Zr4qWzDJ.js:834:5) - - - - - diff --git a/packages/react/coverage/coverage-summary.json b/packages/react/coverage/coverage-summary.json deleted file mode 100644 index 9637f187..00000000 --- a/packages/react/coverage/coverage-summary.json +++ /dev/null @@ -1,6 +0,0 @@ -{"total": {"lines":{"total":71,"covered":61,"skipped":0,"pct":85.91},"statements":{"total":75,"covered":64,"skipped":0,"pct":85.33},"functions":{"total":17,"covered":13,"skipped":0,"pct":76.47},"branches":{"total":19,"covered":15,"skipped":0,"pct":78.94},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}} -,"/workspaces/aelf-web-login/packages/react/src/context.tsx": {"lines":{"total":17,"covered":16,"skipped":0,"pct":94.11},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":18,"covered":17,"skipped":0,"pct":94.44},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33}} -,"/workspaces/aelf-web-login/packages/react/src/init.ts": {"lines":{"total":20,"covered":18,"skipped":0,"pct":90},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":21,"covered":19,"skipped":0,"pct":90.47},"branches":{"total":7,"covered":6,"skipped":0,"pct":85.71}} -,"/workspaces/aelf-web-login/packages/react/src/useConnectWallet.tsx": {"lines":{"total":23,"covered":16,"skipped":0,"pct":69.56},"functions":{"total":4,"covered":2,"skipped":0,"pct":50},"statements":{"total":23,"covered":16,"skipped":0,"pct":69.56},"branches":{"total":6,"covered":4,"skipped":0,"pct":66.66}} -,"/workspaces/aelf-web-login/packages/react/src/useExternalStore.tsx": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":13,"covered":12,"skipped":0,"pct":92.3},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}} -} diff --git a/packages/react/jest-report.xml b/packages/react/jest-report.xml deleted file mode 100644 index 161481a3..00000000 --- a/packages/react/jest-report.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/tools/vite.config.ts b/packages/tools/vite.config.ts index 77b2715a..569683f5 100644 --- a/packages/tools/vite.config.ts +++ b/packages/tools/vite.config.ts @@ -44,7 +44,11 @@ export default defineConfig({ provider: 'v8', exclude: [...exclude, '**/__tests__/*.*'], reportsDirectory: './coverage', - reporter: [['json-summary', { file: 'coverage-summary.json' }], ['text']], + reporter: [ + ['json-summary', { file: 'coverage-summary.json' }], + ['lcov', { file: 'lcov.info' }], + ['text'], + ], }, }, }); diff --git a/packages/utils/coverage/coverage-summary.json b/packages/utils/coverage/coverage-summary.json deleted file mode 100644 index c9285e1c..00000000 --- a/packages/utils/coverage/coverage-summary.json +++ /dev/null @@ -1,23 +0,0 @@ -{"/workspaces/aelf-web-login/packages/utils/src/address/addPrefixSuffix.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/address/addPrefixSuffix.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":57}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":23}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":26}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":24}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":51}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":32}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":34}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":3}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":30}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":34}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":3}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":16}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":1}}},"s":{"0":5,"1":5,"2":4,"3":4,"4":5,"5":5,"6":4,"7":4,"8":4,"9":4,"10":4,"11":4,"12":4},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":13,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":13,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":23}},"locations":[{"start":{"line":2,"column":12},"end":{"line":2,"column":23}}]},"2":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":19},"end":{"line":5,"column":27}},"locations":[{"start":{"line":2,"column":19},"end":{"line":5,"column":27}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":17},"end":{"line":5,"column":43}},"locations":[{"start":{"line":5,"column":17},"end":{"line":5,"column":43}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":38},"end":{"line":5,"column":51}},"locations":[{"start":{"line":5,"column":38},"end":{"line":5,"column":51}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":31},"end":{"line":13,"column":1}},"locations":[{"start":{"line":6,"column":31},"end":{"line":13,"column":1}}]}},"b":{"0":[5],"1":[1],"2":[4],"3":[1],"4":[3],"5":[4]},"fnMap":{"0":{"name":"addPrefixSuffix","decl":{"start":{"line":1,"column":0},"end":{"line":13,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":13,"column":1}},"line":1}},"f":{"0":5}} -,"/workspaces/aelf-web-login/packages/utils/src/address/decodeAddress.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/address/decodeAddress.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":51}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":7}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":31}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":55}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":32}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":39}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":43}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":35}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":47}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":12}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":43}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":5}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":16}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":19}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":17}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":3}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":2}}},"s":{"0":1,"1":1,"2":6,"3":6,"4":6,"5":6,"6":2,"7":2,"9":1,"10":1,"11":2,"12":2,"13":2,"14":2,"15":6,"16":1,"17":1,"18":6},"branchMap":{"0":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":29},"end":{"line":19,"column":2}},"locations":[{"start":{"line":2,"column":29},"end":{"line":19,"column":2}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":18},"end":{"line":4,"column":31}},"locations":[{"start":{"line":4,"column":18},"end":{"line":4,"column":31}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":25},"end":{"line":5,"column":49}},"locations":[{"start":{"line":4,"column":25},"end":{"line":5,"column":49}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":42},"end":{"line":5,"column":55}},"locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":55}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":49},"end":{"line":6,"column":31}},"locations":[{"start":{"line":5,"column":49},"end":{"line":6,"column":31}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":31},"end":{"line":16,"column":11}},"locations":[{"start":{"line":6,"column":31},"end":{"line":16,"column":11}}]},"6":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":30},"end":{"line":12,"column":11}},"locations":[{"start":{"line":8,"column":30},"end":{"line":12,"column":11}}]},"7":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"locations":[{"start":{"line":16,"column":2},"end":{"line":18,"column":3}}]}},"b":{"0":[6],"1":[1],"2":[5],"3":[1],"4":[4],"5":[2],"6":[1],"7":[1]},"fnMap":{"0":{"name":"decodeAddress","decl":{"start":{"line":2,"column":29},"end":{"line":19,"column":2}},"loc":{"start":{"line":2,"column":29},"end":{"line":19,"column":2}},"line":2}},"f":{"0":6}} -,"/workspaces/aelf-web-login/packages/utils/src/address/getOriginalAddress.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/address/getOriginalAddress.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":46}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":27}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":15}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":3}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":58}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":1}}},"s":{"0":6,"1":6,"2":6,"3":1,"4":1,"5":3,"6":3},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":7,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":7,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":16},"end":{"line":2,"column":27}},"locations":[{"start":{"line":2,"column":16},"end":{"line":2,"column":27}}]},"2":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":23},"end":{"line":3,"column":35}},"locations":[{"start":{"line":2,"column":23},"end":{"line":3,"column":35}}]},"3":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":35},"end":{"line":5,"column":3}},"locations":[{"start":{"line":3,"column":35},"end":{"line":5,"column":3}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":2},"end":{"line":7,"column":1}},"locations":[{"start":{"line":5,"column":2},"end":{"line":7,"column":1}}]}},"b":{"0":[6],"1":[2],"2":[4],"3":[1],"4":[3]},"fnMap":{"0":{"name":"getOriginalAddress","decl":{"start":{"line":1,"column":0},"end":{"line":7,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":7,"column":1}},"line":1}},"f":{"0":6}} -,"/workspaces/aelf-web-login/packages/utils/src/calculate/divDecimals.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/calculate/divDecimals.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":82}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":34}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":63}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":71}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":61}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":30}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":3}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":35}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":1}}},"s":{"0":1,"2":1,"3":8,"4":8,"5":8,"6":8,"7":1,"8":1,"9":3,"10":3},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"locations":[{"start":{"line":3,"column":7},"end":{"line":11,"column":1}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":10},"end":{"line":4,"column":34}},"locations":[{"start":{"line":4,"column":10},"end":{"line":4,"column":34}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":32},"end":{"line":5,"column":42}},"locations":[{"start":{"line":4,"column":32},"end":{"line":5,"column":42}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":38},"end":{"line":5,"column":46}},"locations":[{"start":{"line":5,"column":38},"end":{"line":5,"column":46}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":42},"end":{"line":5,"column":63}},"locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":63}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":17},"end":{"line":6,"column":47}},"locations":[{"start":{"line":6,"column":17},"end":{"line":6,"column":47}}]},"6":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":47},"end":{"line":6,"column":71}},"locations":[{"start":{"line":6,"column":47},"end":{"line":6,"column":71}}]},"7":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":69},"end":{"line":7,"column":38}},"locations":[{"start":{"line":6,"column":69},"end":{"line":7,"column":38}}]},"8":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":26},"end":{"line":7,"column":60}},"locations":[{"start":{"line":7,"column":26},"end":{"line":7,"column":60}}]},"9":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":60},"end":{"line":9,"column":3}},"locations":[{"start":{"line":7,"column":60},"end":{"line":9,"column":3}}]},"10":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":1}},"locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":1}}]}},"b":{"0":[8],"1":[3],"2":[5],"3":[1],"4":[4],"5":[5],"6":[1],"7":[4],"8":[1],"9":[1],"10":[3]},"fnMap":{"0":{"name":"divDecimals","decl":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"line":3}},"f":{"0":8}} -,"/workspaces/aelf-web-login/packages/utils/src/calculate/index.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/calculate/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":30}}},"s":{"0":1,"1":1},"branchMap":{},"b":{},"fnMap":{},"f":{}} -,"/workspaces/aelf-web-login/packages/utils/src/calculate/timesDecimals.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/calculate/timesDecimals.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":84}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":34}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":63}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":71}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":61}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":32}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":3}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":37}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":1}}},"s":{"0":1,"2":1,"3":11,"4":11,"5":11,"6":11,"7":1,"8":1,"9":5,"10":5},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"locations":[{"start":{"line":3,"column":7},"end":{"line":11,"column":1}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":10},"end":{"line":4,"column":34}},"locations":[{"start":{"line":4,"column":10},"end":{"line":4,"column":34}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":32},"end":{"line":5,"column":42}},"locations":[{"start":{"line":4,"column":32},"end":{"line":5,"column":42}}]},"3":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":38},"end":{"line":5,"column":46}},"locations":[{"start":{"line":5,"column":38},"end":{"line":5,"column":46}}]},"4":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":42},"end":{"line":5,"column":63}},"locations":[{"start":{"line":5,"column":42},"end":{"line":5,"column":63}}]},"5":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":17},"end":{"line":6,"column":47}},"locations":[{"start":{"line":6,"column":17},"end":{"line":6,"column":47}}]},"6":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":47},"end":{"line":6,"column":71}},"locations":[{"start":{"line":6,"column":47},"end":{"line":6,"column":71}}]},"7":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":69},"end":{"line":7,"column":38}},"locations":[{"start":{"line":6,"column":69},"end":{"line":7,"column":38}}]},"8":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":26},"end":{"line":7,"column":60}},"locations":[{"start":{"line":7,"column":26},"end":{"line":7,"column":60}}]},"9":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":60},"end":{"line":9,"column":3}},"locations":[{"start":{"line":7,"column":60},"end":{"line":9,"column":3}}]},"10":{"type":"branch","line":9,"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":1}},"locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":1}}]}},"b":{"0":[11],"1":[3],"2":[8],"3":[1],"4":[7],"5":[8],"6":[2],"7":[6],"8":[1],"9":[1],"10":[5]},"fnMap":{"0":{"name":"timesDecimals","decl":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"loc":{"start":{"line":3,"column":7},"end":{"line":11,"column":1}},"line":3}},"f":{"0":11}} -,"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransaction.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransaction.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":62}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":99}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":13}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":13}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":9}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":13}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":18}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":20}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":9}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":29}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":22}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":17}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":7}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":25}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":29}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":56}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":46}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":65}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":77}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":26}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":53}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":17}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":17}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":21}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":11}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":14}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":35}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":41}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":47}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":40}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":26}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":28}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":17}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":17}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":21}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":11}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":14}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":30}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":41}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":44}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":26}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":17}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":51}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":21}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":17}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":11}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":14}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":5}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":15}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":19}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":50}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":16}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":3}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":2}}},"s":{"0":1,"15":1,"16":5,"17":5,"18":5,"19":5,"20":5,"21":5,"22":5,"23":5,"24":5,"26":4,"28":4,"29":4,"30":5,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":5,"43":2,"44":2,"45":2,"46":2,"47":2,"48":2,"49":2,"50":2,"51":2,"52":1,"53":5,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":5,"65":3,"66":5,"67":1,"69":1,"70":1,"71":5},"branchMap":{"0":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":91},"end":{"line":72,"column":2}},"locations":[{"start":{"line":16,"column":91},"end":{"line":72,"column":2}}]},"1":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":15},"end":{"line":25,"column":22}},"locations":[{"start":{"line":25,"column":15},"end":{"line":25,"column":22}}]},"2":{"type":"branch","line":25,"loc":{"start":{"line":25,"column":15},"end":{"line":30,"column":25}},"locations":[{"start":{"line":25,"column":15},"end":{"line":30,"column":25}}]},"3":{"type":"branch","line":31,"loc":{"start":{"line":31,"column":6},"end":{"line":42,"column":14}},"locations":[{"start":{"line":31,"column":6},"end":{"line":42,"column":14}}]},"4":{"type":"branch","line":32,"loc":{"start":{"line":32,"column":49},"end":{"line":32,"column":56}},"locations":[{"start":{"line":32,"column":49},"end":{"line":32,"column":56}}]},"5":{"type":"branch","line":37,"loc":{"start":{"line":37,"column":29},"end":{"line":37,"column":53}},"locations":[{"start":{"line":37,"column":29},"end":{"line":37,"column":53}}]},"6":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":6},"end":{"line":53,"column":14}},"locations":[{"start":{"line":43,"column":6},"end":{"line":53,"column":14}}]},"7":{"type":"branch","line":44,"loc":{"start":{"line":44,"column":34},"end":{"line":44,"column":41}},"locations":[{"start":{"line":44,"column":34},"end":{"line":44,"column":41}}]},"8":{"type":"branch","line":52,"loc":{"start":{"line":52,"column":9},"end":{"line":53,"column":14}},"locations":[{"start":{"line":52,"column":9},"end":{"line":53,"column":14}}]},"9":{"type":"branch","line":54,"loc":{"start":{"line":54,"column":6},"end":{"line":63,"column":14}},"locations":[{"start":{"line":54,"column":6},"end":{"line":63,"column":14}}]},"10":{"type":"branch","line":55,"loc":{"start":{"line":55,"column":34},"end":{"line":55,"column":41}},"locations":[{"start":{"line":55,"column":34},"end":{"line":55,"column":41}}]},"11":{"type":"branch","line":64,"loc":{"start":{"line":64,"column":4},"end":{"line":67,"column":11}},"locations":[{"start":{"line":64,"column":4},"end":{"line":67,"column":11}}]},"12":{"type":"branch","line":67,"loc":{"start":{"line":67,"column":2},"end":{"line":71,"column":3}},"locations":[{"start":{"line":67,"column":2},"end":{"line":71,"column":3}}]}},"b":{"0":[5],"1":[1],"2":[4],"3":[1],"4":[0],"5":[0],"6":[2],"7":[0],"8":[1],"9":[1],"10":[0],"11":[3],"12":[1]},"fnMap":{"0":{"name":"getRawTransaction","decl":{"start":{"line":16,"column":91},"end":{"line":72,"column":2}},"loc":{"start":{"line":16,"column":91},"end":{"line":72,"column":2}},"line":16}},"f":{"0":5}} -,"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionNight.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionNight.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":39}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":10}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":18}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":9}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":13}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":9}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":36}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":43}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":21}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":37}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":19}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":5}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":58}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":17}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":1}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":38}}},"s":{"0":1,"10":2,"11":2,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":2,"22":1,"23":1,"24":1,"26":1},"branchMap":{"0":{"type":"branch","line":11,"loc":{"start":{"line":11,"column":0},"end":{"line":25,"column":1}},"locations":[{"start":{"line":11,"column":0},"end":{"line":25,"column":1}}]},"1":{"type":"branch","line":22,"loc":{"start":{"line":22,"column":3},"end":{"line":25,"column":1}},"locations":[{"start":{"line":22,"column":3},"end":{"line":25,"column":1}}]}},"b":{"0":[2],"1":[1]},"fnMap":{"0":{"name":"getRawTransactionNight","decl":{"start":{"line":11,"column":0},"end":{"line":25,"column":1}},"loc":{"start":{"line":11,"column":0},"end":{"line":25,"column":1}},"line":11}},"f":{"0":2}} -,"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionPortkey.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getRawTransactionPortkey.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":38}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":41}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":9}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":13}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":18}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":20}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":9}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":9}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":13}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":37}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":7}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":45}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":21}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":21}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":42}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":39}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":43}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":21}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":7}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":18}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":19}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":33}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":3}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":2}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":40}}},"s":{"0":1,"1":1,"13":1,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":2,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"29":2,"30":2,"32":1,"34":1,"35":1,"36":1,"37":1,"38":2,"39":1},"branchMap":{"0":{"type":"branch","line":14,"loc":{"start":{"line":14,"column":33},"end":{"line":39,"column":2}},"locations":[{"start":{"line":14,"column":33},"end":{"line":39,"column":2}}]},"1":{"type":"branch","line":31,"loc":{"start":{"line":31,"column":5},"end":{"line":38,"column":3}},"locations":[{"start":{"line":31,"column":5},"end":{"line":38,"column":3}}]}},"b":{"0":[2],"1":[1]},"fnMap":{"0":{"name":"getRawTransactionPortkey","decl":{"start":{"line":14,"column":33},"end":{"line":39,"column":2}},"loc":{"start":{"line":14,"column":33},"end":{"line":39,"column":2}},"line":14}},"f":{"0":2}} -,"/workspaces/aelf-web-login/packages/utils/src/contract/getTxResultRetry.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/getTxResultRetry.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":42}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":27}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":32}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":28}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":72}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":3}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":28}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":1}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":39}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":24}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":17}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":20}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":17}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":7}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":37}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":76}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":52}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":22}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":12}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":39}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":5}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":20}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":19}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":3}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":1}}},"s":{"0":1,"3":1,"4":7,"5":7,"7":7,"8":7,"9":7,"10":7,"11":7,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":1,"22":1,"23":1,"24":1,"25":2,"26":1,"27":1,"28":2},"branchMap":{"0":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":7},"end":{"line":12,"column":1}},"locations":[{"start":{"line":4,"column":7},"end":{"line":12,"column":1}}]},"1":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":14},"end":{"line":5,"column":27}},"locations":[{"start":{"line":5,"column":14},"end":{"line":5,"column":27}}]},"2":{"type":"branch","line":13,"loc":{"start":{"line":13,"column":0},"end":{"line":29,"column":1}},"locations":[{"start":{"line":13,"column":0},"end":{"line":29,"column":1}}]},"3":{"type":"branch","line":21,"loc":{"start":{"line":21,"column":51},"end":{"line":25,"column":5}},"locations":[{"start":{"line":21,"column":51},"end":{"line":25,"column":5}}]},"4":{"type":"branch","line":26,"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":3}}]}},"b":{"0":[7],"1":[0],"2":[2],"3":[1],"4":[1]},"fnMap":{"0":{"name":"getAElf","decl":{"start":{"line":4,"column":7},"end":{"line":12,"column":1}},"loc":{"start":{"line":4,"column":7},"end":{"line":12,"column":1}},"line":4},"1":{"name":"getTxResultRetry","decl":{"start":{"line":13,"column":0},"end":{"line":29,"column":1}},"loc":{"start":{"line":13,"column":0},"end":{"line":29,"column":1}},"line":13}},"f":{"0":7,"1":2}} -,"/workspaces/aelf-web-login/packages/utils/src/contract/useCheckAllowanceAndApprove.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/useCheckAllowanceAndApprove.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":72}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":38}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":23}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":23}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":10}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":9}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":9}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":10}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":4}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":7}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":64}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":48}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":41}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":9}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":23}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":75}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":9}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":24}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":18}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":48}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":37}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":17}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":19}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":27}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":42}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":12}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":11}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":24}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":18}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":48}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":37}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":17}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":19}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":12}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":11}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":9}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":86}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":66}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":33}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":46}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":29}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":11}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":18}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":48}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":32}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":17}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":42}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":19}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":34}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":12}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":11}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":20}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":7}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":18}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":17}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":15}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":15}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":24}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":5}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":6}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":12}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":11}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":25}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":19}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":19}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":12}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":11}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":25}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":5}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":28}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":2}}},"s":{"0":1,"22":1,"23":6,"24":6,"25":6,"26":6,"27":6,"28":6,"29":6,"36":6,"37":6,"38":6,"40":6,"41":3,"42":3,"43":3,"45":3,"46":3,"47":3,"48":3,"49":3,"50":3,"51":3,"52":3,"53":3,"54":3,"55":3,"56":3,"57":3,"58":3,"59":3,"60":3,"61":3,"62":3,"63":3,"64":3,"66":3,"67":3,"69":3,"70":1,"72":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":3,"95":3,"96":3,"97":6,"98":6,"99":6,"100":6,"101":6,"102":6,"103":6,"104":6,"105":6,"106":6,"108":6,"109":6},"branchMap":{"0":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":36},"end":{"line":110,"column":2}},"locations":[{"start":{"line":23,"column":36},"end":{"line":110,"column":2}}]},"1":{"type":"branch","line":41,"loc":{"start":{"line":41,"column":28},"end":{"line":98,"column":5}},"locations":[{"start":{"line":41,"column":28},"end":{"line":98,"column":5}}]},"2":{"type":"branch","line":65,"loc":{"start":{"line":65,"column":7},"end":{"line":67,"column":63}},"locations":[{"start":{"line":65,"column":7},"end":{"line":67,"column":63}}]},"3":{"type":"branch","line":67,"loc":{"start":{"line":67,"column":50},"end":{"line":67,"column":83}},"locations":[{"start":{"line":67,"column":50},"end":{"line":67,"column":83}}]},"4":{"type":"branch","line":67,"loc":{"start":{"line":67,"column":73},"end":{"line":67,"column":84}},"locations":[{"start":{"line":67,"column":73},"end":{"line":67,"column":84}}]},"5":{"type":"branch","line":68,"loc":{"start":{"line":68,"column":51},"end":{"line":68,"column":64}},"locations":[{"start":{"line":68,"column":51},"end":{"line":68,"column":64}}]},"6":{"type":"branch","line":70,"loc":{"start":{"line":70,"column":32},"end":{"line":95,"column":6}},"locations":[{"start":{"line":70,"column":32},"end":{"line":95,"column":6}}]},"7":{"type":"branch","line":95,"loc":{"start":{"line":95,"column":4},"end":{"line":95,"column":6}},"locations":[{"start":{"line":95,"column":4},"end":{"line":95,"column":6}}]}},"b":{"0":[6],"1":[3],"2":[2],"3":[1],"4":[1],"5":[1],"6":[1],"7":[0]},"fnMap":{"0":{"name":"useCheckAllowanceAndApprove","decl":{"start":{"line":23,"column":36},"end":{"line":110,"column":2}},"loc":{"start":{"line":23,"column":36},"end":{"line":110,"column":2}},"line":23}},"f":{"0":6}} -,"/workspaces/aelf-web-login/packages/utils/src/contract/useGetBalance.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/contract/useGetBalance.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":72}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":24}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":23}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":10}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":9}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":10}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":4}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":7}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":48}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":48}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":46}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":9}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":23}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":39}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":16}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":46}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":33}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":15}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":17}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":25}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":10}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":9}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":16}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":17}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":15}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":15}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":24}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":5}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":71}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":33}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":2}}},"s":{"0":1,"4":1,"5":2,"6":2,"7":2,"8":2,"9":2,"14":2,"15":2,"16":2,"18":2,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":0,"33":1,"34":1,"35":1,"36":2,"38":2,"39":2},"branchMap":{"0":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":22},"end":{"line":40,"column":2}},"locations":[{"start":{"line":5,"column":22},"end":{"line":40,"column":2}}]},"1":{"type":"branch","line":19,"loc":{"start":{"line":19,"column":33},"end":{"line":37,"column":5}},"locations":[{"start":{"line":19,"column":33},"end":{"line":37,"column":5}}]},"2":{"type":"branch","line":32,"loc":{"start":{"line":32,"column":4},"end":{"line":34,"column":6}},"locations":[{"start":{"line":32,"column":4},"end":{"line":34,"column":6}}]}},"b":{"0":[2],"1":[1],"2":[0]},"fnMap":{"0":{"name":"useGetBalance","decl":{"start":{"line":5,"column":22},"end":{"line":40,"column":2}},"loc":{"start":{"line":5,"column":22},"end":{"line":40,"column":2}},"line":5}},"f":{"0":2}} -,"/workspaces/aelf-web-login/packages/utils/src/format/formatNumberWithDecimalPlaces.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/format/formatNumberWithDecimalPlaces.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":30}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":75}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":30}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":36}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":75}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":1}}},"s":{"0":1,"1":1,"2":8,"3":8,"4":8,"5":7,"6":7},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":7,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":7,"column":1}}]},"1":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":20},"end":{"line":5,"column":36}},"locations":[{"start":{"line":5,"column":20},"end":{"line":5,"column":36}}]},"2":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":33},"end":{"line":7,"column":1}},"locations":[{"start":{"line":5,"column":33},"end":{"line":7,"column":1}}]}},"b":{"0":[8],"1":[1],"2":[7]},"fnMap":{"0":{"name":"formatNumberWithDecimalPlaces","decl":{"start":{"line":3,"column":0},"end":{"line":7,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":7,"column":1}},"line":3}},"f":{"0":8}} -,"/workspaces/aelf-web-login/packages/utils/src/format/formatPrice.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/format/formatPrice.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":37}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":21}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":37}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":18}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":3}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":9}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":22}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":40}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":20}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":25}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":90}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":42}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":56}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":27}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":3}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":67}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":51}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":13}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":1}}},"s":{"0":1,"2":8,"3":8,"4":8,"9":8,"10":8,"11":8,"12":8,"13":8,"14":8,"15":8,"16":8,"18":8,"19":1,"20":1,"22":6,"23":6,"24":6,"25":6},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":26,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":26,"column":1}}]},"1":{"type":"branch","line":15,"loc":{"start":{"line":15,"column":6},"end":{"line":15,"column":25}},"locations":[{"start":{"line":15,"column":6},"end":{"line":15,"column":25}}]},"2":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":57},"end":{"line":16,"column":69}},"locations":[{"start":{"line":16,"column":57},"end":{"line":16,"column":69}}]},"3":{"type":"branch","line":16,"loc":{"start":{"line":16,"column":61},"end":{"line":16,"column":90}},"locations":[{"start":{"line":16,"column":61},"end":{"line":16,"column":90}}]},"4":{"type":"branch","line":17,"loc":{"start":{"line":17,"column":24},"end":{"line":17,"column":42}},"locations":[{"start":{"line":17,"column":24},"end":{"line":17,"column":42}}]},"5":{"type":"branch","line":17,"loc":{"start":{"line":17,"column":39},"end":{"line":19,"column":55}},"locations":[{"start":{"line":17,"column":39},"end":{"line":19,"column":55}}]},"6":{"type":"branch","line":19,"loc":{"start":{"line":19,"column":55},"end":{"line":21,"column":3}},"locations":[{"start":{"line":19,"column":55},"end":{"line":21,"column":3}}]},"7":{"type":"branch","line":21,"loc":{"start":{"line":21,"column":2},"end":{"line":26,"column":1}},"locations":[{"start":{"line":21,"column":2},"end":{"line":26,"column":1}}]}},"b":{"0":[8],"1":[3],"2":[1],"3":[7],"4":[1],"5":[7],"6":[1],"7":[6]},"fnMap":{"0":{"name":"formatPrice","decl":{"start":{"line":3,"column":0},"end":{"line":26,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":26,"column":1}},"line":3}},"f":{"0":8}} -,"/workspaces/aelf-web-login/packages/utils/src/format/formatTime.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/format/formatTime.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":23}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":68}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":37}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":1}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":24}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":51}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":27}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":13}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":34}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":40}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":41}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":33}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":10}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":33}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":3}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":1}}},"s":{"0":1,"2":1,"20":3,"21":3,"22":3,"28":3,"29":3,"30":3,"31":3,"32":3,"33":1,"34":3,"35":1,"36":1,"37":1,"38":1,"39":3},"branchMap":{"0":{"type":"branch","line":21,"loc":{"start":{"line":21,"column":0},"end":{"line":23,"column":1}},"locations":[{"start":{"line":21,"column":0},"end":{"line":23,"column":1}}]},"1":{"type":"branch","line":29,"loc":{"start":{"line":29,"column":0},"end":{"line":40,"column":1}},"locations":[{"start":{"line":29,"column":0},"end":{"line":40,"column":1}}]},"2":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":33},"end":{"line":35,"column":13}},"locations":[{"start":{"line":33,"column":33},"end":{"line":35,"column":13}}]},"3":{"type":"branch","line":35,"loc":{"start":{"line":35,"column":2},"end":{"line":39,"column":3}},"locations":[{"start":{"line":35,"column":2},"end":{"line":39,"column":3}}]},"4":{"type":"branch","line":35,"loc":{"start":{"line":35,"column":40},"end":{"line":39,"column":3}},"locations":[{"start":{"line":35,"column":40},"end":{"line":39,"column":3}}]}},"b":{"0":[3],"1":[3],"2":[1],"3":[2],"4":[1]},"fnMap":{"0":{"name":"formatTime","decl":{"start":{"line":21,"column":0},"end":{"line":23,"column":1}},"loc":{"start":{"line":21,"column":0},"end":{"line":23,"column":1}},"line":21},"1":{"name":"createDuration","decl":{"start":{"line":29,"column":0},"end":{"line":40,"column":1}},"loc":{"start":{"line":29,"column":0},"end":{"line":40,"column":1}},"line":29}},"f":{"0":3,"1":3}} -,"/workspaces/aelf-web-login/packages/utils/src/is/isAElfBridge.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isAElfBridge.ts","all":false,"statementMap":{"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":58}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":54}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":1}}},"s":{"3":1,"4":2,"5":2},"branchMap":{"0":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":7},"end":{"line":6,"column":1}},"locations":[{"start":{"line":4,"column":7},"end":{"line":6,"column":1}}]},"1":{"type":"branch","line":5,"loc":{"start":{"line":5,"column":23},"end":{"line":5,"column":54}},"locations":[{"start":{"line":5,"column":23},"end":{"line":5,"column":54}}]}},"b":{"0":[2],"1":[1]},"fnMap":{"0":{"name":"isAElfBridge","decl":{"start":{"line":4,"column":7},"end":{"line":6,"column":1}},"loc":{"start":{"line":4,"column":7},"end":{"line":6,"column":1}},"line":4}},"f":{"0":2}} -,"/workspaces/aelf-web-login/packages/utils/src/is/isELFAddress.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isELFAddress.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":28}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":38}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":7}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":48}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":11}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":17}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":3}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":1}}},"s":{"0":1,"2":3,"3":3,"4":2,"5":2,"6":3,"7":1,"8":1,"9":3},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":10,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":10,"column":1}}]},"1":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":37},"end":{"line":4,"column":50}},"locations":[{"start":{"line":4,"column":37},"end":{"line":4,"column":50}}]},"2":{"type":"branch","line":4,"loc":{"start":{"line":4,"column":44},"end":{"line":7,"column":10}},"locations":[{"start":{"line":4,"column":44},"end":{"line":7,"column":10}}]},"3":{"type":"branch","line":7,"loc":{"start":{"line":7,"column":2},"end":{"line":9,"column":3}},"locations":[{"start":{"line":7,"column":2},"end":{"line":9,"column":3}}]}},"b":{"0":[3],"1":[1],"2":[2],"3":[1]},"fnMap":{"0":{"name":"isELFAddress","decl":{"start":{"line":3,"column":0},"end":{"line":10,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":10,"column":1}},"line":3}},"f":{"0":3}} -,"/workspaces/aelf-web-login/packages/utils/src/is/isMobileDevices.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isMobileDevices.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":26}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":28}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":53}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":80}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":33}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":86}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":29}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":38}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":75}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":38}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":34}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":52}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":78}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":66}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":10}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":39}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":40}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":51}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":32}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":2}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":72}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":59}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":1}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":69}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":24}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":18}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":17}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":22}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":4}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":51}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":11}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":37}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":35}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":52}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":6}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":41}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":26}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":40}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":11}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":33}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":31}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":48}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":6}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":3}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":32}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":37}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":38}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":23}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":3}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":35}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":38}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":23}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":3}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":39}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":34}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":12}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":56}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":29}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":13}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":30}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":60}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":29}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":39}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":13}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":30}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":29}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":31}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":34}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":39}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":29}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":6}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":13}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":32}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":57}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":56}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":6}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":14}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":12}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":55}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":54}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":13}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":31}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":30}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":31}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":54}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":13}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":32}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":32}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":34}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":34}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":37}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":29}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":6}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":14}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":33}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":35}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":58}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":6}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":12}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":41}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":45}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":31}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":35}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":33}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":13}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":33}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":35}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":28}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":30}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":27}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":6}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":15}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":17}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":18}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":4}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":14}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":97}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":84}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":88}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":16}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":1}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":35}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":25}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":48}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"23":1,"24":2,"25":2,"26":2,"27":0,"28":0,"30":2,"32":2,"33":2,"34":2,"74":1,"75":2,"76":2,"77":2,"78":2,"79":2,"81":2,"82":2,"83":2,"84":2,"85":2,"86":2,"87":2,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"97":2,"101":2,"102":2,"103":0,"104":0,"109":2,"110":2,"111":0,"112":0,"114":2,"116":2,"117":2,"118":2,"119":2,"120":2,"121":2,"122":1,"123":0,"124":2,"125":2,"126":2,"127":1,"128":1,"129":1,"130":1,"131":1,"132":2,"133":2,"134":2,"135":2,"136":2,"137":2,"138":2,"139":2,"140":2,"141":2,"142":2,"143":2,"144":2,"145":2,"146":2,"147":2,"148":2,"149":2,"150":2,"151":2,"152":2,"153":2,"154":2,"155":2,"156":2,"157":2,"158":2,"159":2,"160":2,"161":2,"162":2,"163":2,"164":2,"165":2,"166":2,"167":2,"168":2,"169":2,"170":2,"171":2,"172":2,"173":2,"174":2,"175":2,"176":2,"178":2,"179":2,"181":2,"182":2,"184":2,"185":2,"187":1,"188":2,"189":2,"190":2},"branchMap":{"0":{"type":"branch","line":24,"loc":{"start":{"line":24,"column":29},"end":{"line":31,"column":2}},"locations":[{"start":{"line":24,"column":29},"end":{"line":31,"column":2}}]},"1":{"type":"branch","line":27,"loc":{"start":{"line":27,"column":27},"end":{"line":28,"column":51}},"locations":[{"start":{"line":27,"column":27},"end":{"line":28,"column":51}}]},"2":{"type":"branch","line":28,"loc":{"start":{"line":28,"column":40},"end":{"line":29,"column":32}},"locations":[{"start":{"line":28,"column":40},"end":{"line":29,"column":32}}]},"3":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":0},"end":{"line":35,"column":1}},"locations":[{"start":{"line":33,"column":0},"end":{"line":35,"column":1}}]},"4":{"type":"branch","line":34,"loc":{"start":{"line":34,"column":9},"end":{"line":34,"column":59}},"locations":[{"start":{"line":34,"column":9},"end":{"line":34,"column":59}}]},"5":{"type":"branch","line":75,"loc":{"start":{"line":75,"column":7},"end":{"line":186,"column":1}},"locations":[{"start":{"line":75,"column":7},"end":{"line":186,"column":1}}]},"6":{"type":"branch","line":88,"loc":{"start":{"line":88,"column":2},"end":{"line":96,"column":3}},"locations":[{"start":{"line":88,"column":2},"end":{"line":96,"column":3}}]},"7":{"type":"branch","line":103,"loc":{"start":{"line":103,"column":37},"end":{"line":105,"column":3}},"locations":[{"start":{"line":103,"column":37},"end":{"line":105,"column":3}}]},"8":{"type":"branch","line":111,"loc":{"start":{"line":111,"column":37},"end":{"line":113,"column":3}},"locations":[{"start":{"line":111,"column":37},"end":{"line":113,"column":3}}]},"9":{"type":"branch","line":119,"loc":{"start":{"line":119,"column":30},"end":{"line":119,"column":56}},"locations":[{"start":{"line":119,"column":30},"end":{"line":119,"column":56}}]},"10":{"type":"branch","line":122,"loc":{"start":{"line":122,"column":26},"end":{"line":123,"column":60}},"locations":[{"start":{"line":122,"column":26},"end":{"line":123,"column":60}}]},"11":{"type":"branch","line":123,"loc":{"start":{"line":123,"column":55},"end":{"line":124,"column":29}},"locations":[{"start":{"line":123,"column":55},"end":{"line":124,"column":29}}]},"12":{"type":"branch","line":127,"loc":{"start":{"line":127,"column":26},"end":{"line":128,"column":29}},"locations":[{"start":{"line":127,"column":26},"end":{"line":128,"column":29}}]},"13":{"type":"branch","line":128,"loc":{"start":{"line":128,"column":25},"end":{"line":129,"column":31}},"locations":[{"start":{"line":128,"column":25},"end":{"line":129,"column":31}}]},"14":{"type":"branch","line":129,"loc":{"start":{"line":129,"column":27},"end":{"line":130,"column":34}},"locations":[{"start":{"line":129,"column":27},"end":{"line":130,"column":34}}]},"15":{"type":"branch","line":130,"loc":{"start":{"line":130,"column":30},"end":{"line":131,"column":39}},"locations":[{"start":{"line":130,"column":30},"end":{"line":131,"column":39}}]},"16":{"type":"branch","line":131,"loc":{"start":{"line":131,"column":34},"end":{"line":132,"column":29}},"locations":[{"start":{"line":131,"column":34},"end":{"line":132,"column":29}}]},"17":{"type":"branch","line":180,"loc":{"start":{"line":180,"column":17},"end":{"line":180,"column":52}},"locations":[{"start":{"line":180,"column":17},"end":{"line":180,"column":52}}]},"18":{"type":"branch","line":180,"loc":{"start":{"line":180,"column":42},"end":{"line":180,"column":77}},"locations":[{"start":{"line":180,"column":42},"end":{"line":180,"column":77}}]},"19":{"type":"branch","line":180,"loc":{"start":{"line":180,"column":67},"end":{"line":180,"column":97}},"locations":[{"start":{"line":180,"column":67},"end":{"line":180,"column":97}}]},"20":{"type":"branch","line":182,"loc":{"start":{"line":182,"column":30},"end":{"line":182,"column":63}},"locations":[{"start":{"line":182,"column":30},"end":{"line":182,"column":63}}]},"21":{"type":"branch","line":182,"loc":{"start":{"line":182,"column":54},"end":{"line":182,"column":84}},"locations":[{"start":{"line":182,"column":54},"end":{"line":182,"column":84}}]},"22":{"type":"branch","line":188,"loc":{"start":{"line":188,"column":7},"end":{"line":191,"column":1}},"locations":[{"start":{"line":188,"column":7},"end":{"line":191,"column":1}}]},"23":{"type":"branch","line":190,"loc":{"start":{"line":190,"column":19},"end":{"line":190,"column":48}},"locations":[{"start":{"line":190,"column":19},"end":{"line":190,"column":48}}]}},"b":{"0":[2],"1":[0],"2":[0],"3":[2],"4":[84],"5":[2],"6":[0],"7":[0],"8":[0],"9":[1],"10":[1],"11":[0],"12":[1],"13":[1],"14":[1],"15":[1],"16":[1],"17":[1],"18":[1],"19":[1],"20":[1],"21":[1],"22":[2],"23":[1]},"fnMap":{"0":{"name":"isAppleTabletOnIos13","decl":{"start":{"line":24,"column":29},"end":{"line":31,"column":2}},"loc":{"start":{"line":24,"column":29},"end":{"line":31,"column":2}},"line":24},"1":{"name":"createMatch","decl":{"start":{"line":33,"column":0},"end":{"line":35,"column":1}},"loc":{"start":{"line":33,"column":0},"end":{"line":35,"column":1}},"line":33},"2":{"name":"isMobile","decl":{"start":{"line":75,"column":7},"end":{"line":186,"column":1}},"loc":{"start":{"line":75,"column":7},"end":{"line":186,"column":1}},"line":75},"3":{"name":"isMobileDevices","decl":{"start":{"line":188,"column":7},"end":{"line":191,"column":1}},"loc":{"start":{"line":188,"column":7},"end":{"line":191,"column":1}},"line":188}},"f":{"0":2,"1":2,"2":2,"3":2}} -,"/workspaces/aelf-web-login/packages/utils/src/is/isPortkeyApp.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isPortkeyApp.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":35}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":17}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":10}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":58}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":3}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":1}}},"s":{"0":1,"1":2,"2":0,"3":2,"4":2,"5":2,"6":2},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":7},"end":{"line":7,"column":1}},"locations":[{"start":{"line":1,"column":7},"end":{"line":7,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":34},"end":{"line":4,"column":9}},"locations":[{"start":{"line":2,"column":34},"end":{"line":4,"column":9}}]}},"b":{"0":[2],"1":[0]},"fnMap":{"0":{"name":"isPortkeyApp","decl":{"start":{"line":1,"column":7},"end":{"line":7,"column":1}},"loc":{"start":{"line":1,"column":7},"end":{"line":7,"column":1}},"line":1}},"f":{"0":2}} -,"/workspaces/aelf-web-login/packages/utils/src/is/isPrivateKey.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/is/isPrivateKey.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":51}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":7}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":55}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":75}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":5}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":19}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":17}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":3}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":15}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":1}}},"s":{"0":1,"1":3,"2":3,"3":2,"4":2,"5":3,"6":1,"7":1,"8":1,"9":1},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":7},"end":{"line":10,"column":1}},"locations":[{"start":{"line":1,"column":7},"end":{"line":10,"column":1}}]},"1":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":8},"end":{"line":3,"column":54}},"locations":[{"start":{"line":3,"column":8},"end":{"line":3,"column":54}}]},"2":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":54},"end":{"line":5,"column":5}},"locations":[{"start":{"line":3,"column":54},"end":{"line":5,"column":5}}]},"3":{"type":"branch","line":6,"loc":{"start":{"line":6,"column":2},"end":{"line":10,"column":1}},"locations":[{"start":{"line":6,"column":2},"end":{"line":10,"column":1}}]}},"b":{"0":[3],"1":[2],"2":[2],"3":[1]},"fnMap":{"0":{"name":"isPrivateKey","decl":{"start":{"line":1,"column":7},"end":{"line":10,"column":1}},"loc":{"start":{"line":1,"column":7},"end":{"line":10,"column":1}},"line":1}},"f":{"0":3}} -,"/workspaces/aelf-web-login/packages/utils/src/utility/Loading.tsx": {"path":"/workspaces/aelf-web-login/packages/utils/src/utility/Loading.tsx","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":52}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":15}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":35}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":38}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":39}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":28}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":3}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":29}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":26}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":53}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":48}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":45}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":5}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":3}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":43}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":27}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":56}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":3}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":10}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":29}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":3}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":10}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":30}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":25}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":27}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":48}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":28}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":23}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":5}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":3}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":1}}},"s":{"0":1,"2":4,"3":4,"4":4,"5":4,"7":4,"8":4,"9":4,"11":4,"12":4,"13":3,"14":3,"15":3,"16":3,"17":4,"19":4,"20":4,"22":4,"23":4,"25":4,"26":3,"27":3,"29":4,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":4},"branchMap":{"0":{"type":"branch","line":3,"loc":{"start":{"line":3,"column":0},"end":{"line":39,"column":1}},"locations":[{"start":{"line":3,"column":0},"end":{"line":39,"column":1}}]},"1":{"type":"branch","line":8,"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"locations":[{"start":{"line":8,"column":2},"end":{"line":10,"column":3}}]},"2":{"type":"branch","line":12,"loc":{"start":{"line":12,"column":10},"end":{"line":18,"column":3}},"locations":[{"start":{"line":12,"column":10},"end":{"line":18,"column":3}}]},"3":{"type":"branch","line":13,"loc":{"start":{"line":13,"column":25},"end":{"line":17,"column":5}},"locations":[{"start":{"line":13,"column":25},"end":{"line":17,"column":5}}]},"4":{"type":"branch","line":20,"loc":{"start":{"line":20,"column":10},"end":{"line":24,"column":3}},"locations":[{"start":{"line":20,"column":10},"end":{"line":24,"column":3}}]},"5":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":22},"end":{"line":23,"column":50}},"locations":[{"start":{"line":23,"column":22},"end":{"line":23,"column":50}}]},"6":{"type":"branch","line":23,"loc":{"start":{"line":23,"column":37},"end":{"line":23,"column":54}},"locations":[{"start":{"line":23,"column":37},"end":{"line":23,"column":54}}]},"7":{"type":"branch","line":26,"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"locations":[{"start":{"line":26,"column":2},"end":{"line":28,"column":3}}]},"8":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":2},"end":{"line":38,"column":3}},"locations":[{"start":{"line":30,"column":2},"end":{"line":38,"column":3}}]}},"b":{"0":[4],"1":[4],"2":[4],"3":[3],"4":[4],"5":[3],"6":[1],"7":[3],"8":[1]},"fnMap":{"0":{"name":"","decl":{"start":{"line":3,"column":0},"end":{"line":39,"column":1}},"loc":{"start":{"line":3,"column":0},"end":{"line":39,"column":1}},"line":3},"1":{"name":"Loading","decl":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"line":8},"2":{"name":"createContainer","decl":{"start":{"line":12,"column":10},"end":{"line":18,"column":3}},"loc":{"start":{"line":12,"column":10},"end":{"line":18,"column":3}},"line":12},"3":{"name":"renderLoading","decl":{"start":{"line":20,"column":10},"end":{"line":24,"column":3}},"loc":{"start":{"line":20,"column":10},"end":{"line":24,"column":3}},"line":20},"4":{"name":"show","decl":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"loc":{"start":{"line":26,"column":2},"end":{"line":28,"column":3}},"line":26},"5":{"name":"hide","decl":{"start":{"line":30,"column":2},"end":{"line":38,"column":3}},"loc":{"start":{"line":30,"column":2},"end":{"line":38,"column":3}},"line":30}},"f":{"0":4,"1":4,"2":4,"3":4,"4":3,"5":1}} -,"/workspaces/aelf-web-login/packages/utils/src/utility/sleep.ts": {"path":"/workspaces/aelf-web-login/packages/utils/src/utility/sleep.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":53}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":69}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":1}}},"s":{"0":1,"1":1,"2":1},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}]},"1":{"type":"branch","line":2,"loc":{"start":{"line":2,"column":21},"end":{"line":2,"column":67}},"locations":[{"start":{"line":2,"column":21},"end":{"line":2,"column":67}}]}},"b":{"0":[1],"1":[1]},"fnMap":{"0":{"name":"sleep","decl":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},"line":1}},"f":{"0":1}} -} diff --git a/packages/utils/jest-report.xml b/packages/utils/jest-report.xml deleted file mode 100644 index a215d804..00000000 --- a/packages/utils/jest-report.xml +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From c5694b20c06527c0305f14d19180a5817541a6a6 Mon Sep 17 00:00:00 2001 From: "fred.tran" Date: Wed, 27 Nov 2024 17:05:00 +0800 Subject: [PATCH 25/25] chore: @testing-library/jest-dom/vitest as correct polyfill for vitest --- packages/tools/__mocks__/setupGlobal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tools/__mocks__/setupGlobal.ts b/packages/tools/__mocks__/setupGlobal.ts index b68db65e..175ed73c 100644 --- a/packages/tools/__mocks__/setupGlobal.ts +++ b/packages/tools/__mocks__/setupGlobal.ts @@ -1,4 +1,4 @@ -import '@testing-library/jest-dom'; +import '@testing-library/jest-dom/vitest'; import { cleanup } from '@testing-library/react'; import { afterEach, beforeAll, vi } from 'vitest';